Skip to main content

Kiwiplan - Add Printer for Classic and Refresh Sites

This is how to add a printer in Kiwiplan for KDG to host the printer and for classic label.

Step1:

Add the printer to the server were KDG is running under Control Panel\Hardware\Devices and Printers

image.png

image.png

Step2:

Verify in KDG top make sure it shows up

image.png

Step3:

Once the printer is available you have to add a printer to the PRINTERS file on the Linux server 

You can use the locate command to find out where the file is located

locate PRINTERS

This is what the file would/should look like

#Other
##Nul Printer
LPT90:TEMPLATE:LEGAL
LPT90:SCRIPT:print_kdg

 

##Non-Physical Printers
LPT93:SCRIPT:print_email

LPT97:SCRIPT:pgprint
LPT98:SCRIPT:saveprint
LPT99:SCRIPT:noprint

 

LPT100:SCRIPT:print_email
LPT100:PRINTER:sales@sflservicesllc.com

To add in the new HP_Office printer we just added, in the example we will add the printer 1 ( 1 will be used in the classic environment ) but in PCS Vue the name of the printer will show.

The options are LETTER and LEGAL for the template

The option for SCRIPT the following options are available

print_kdg means it will send the request via KDG

print_email means it will email you the classic report and as text and a PDF

pgprint means it will display the result on screen and you will be able to page through them

saveprint means it will save the file to drive and keep it as a SAVE_?????.LS file

noprint means it will just not print all all

#Office Printers
LPT1:TEMPLATE:LETTER
LPT1:SCRIPT:print_kdg

#Other
##Nul Printer
LPT90:TEMPLATE:LEGAL
LPT90:SCRIPT:print_kdg

##Non-Physical Printers
LPT93:SCRIPT:print_email

LPT97:SCRIPT:pgprint
LPT98:SCRIPT:saveprint
LPT99:SCRIPT:noprint

LPT100:SCRIPT:print_email
LPT100:PRINTER:sales@sflservicesllc.com

Step4:

Still on the Linux side you will need to associate the printer to number you just created to the KDG side you will need to run the following command

kdgprint

Or you can also do this via the parameters section call SYS:KP, but I recommend using the above command.

Once you run the command you can use a filter if you have man printers or just leave it blank

kdgprint                Assign KDG Printers utility                 26/Thu 11:17
================================================================================

 

Apply filter to server list: ..............................

kdgprint                Assign KDG Printers utility                 26/Thu 11:18
================================================================================
Total Printers on server:4                                        Page 1   /1

Indx KDG_Printer_name                   Print_Tray              LegacyPrinters
   1 HP_Office

   2 Microsoft Print to PDF
                                        
   3 Microsoft XPS Document Writer
                                        
   4 nul
                                        

(C)hange, (F)ind, (E)xit, or select Index ? E....

As you enter through the Print_Tray and enter 1 for the Legacy printer you may get an error if an old printer was delete and the parameters section still exists

? Printer number already assigned :Office_CustomerService

You will need to go to the paramters sectip of SYS:KP and delete the old printer

If not you can add the 1 to the LegacyPrinters, also this will allow you to add more then one printer number to the same printer which is useful if a printer goes down.

kdgprint                Assign KDG Printers utility                 26/Thu 11:22
================================================================================
Total Printers on server:4                                        Page 1   /1

Indx KDG_Printer_name                   Print_Tray              LegacyPrinters
   1 HP_Office
                                                                                        1    
   2 Microsoft Print to PDF
                                        
   3 Microsoft XPS Document Writer
                                        
   4 nul
                                     

(C)hange, (F)ind, (E)xit, or select Index ? E....