# 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](https://docs.sflservicesllc.com/uploads/images/gallery/2025-06/scaled-1680-/bgVimage.png)](https://docs.sflservicesllc.com/uploads/images/gallery/2025-06/bgVimage.png)

[![image.png](https://docs.sflservicesllc.com/uploads/images/gallery/2025-06/scaled-1680-/VL6image.png)](https://docs.sflservicesllc.com/uploads/images/gallery/2025-06/VL6image.png)

#### Step2:

Verify in KDG top make sure it shows up

[![image.png](https://docs.sflservicesllc.com/uploads/images/gallery/2025-06/scaled-1680-/snMimage.png)](https://docs.sflservicesllc.com/uploads/images/gallery/2025-06/snMimage.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

```bash
locate PRINTERS
```

This is what the file would/should look like

<table border="1" id="bkmrk-%23other%23%23nul-printerl" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr><td>\#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

</td></tr></tbody></table>

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

```bash
#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

```bash
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

<table border="1" id="bkmrk-kdgprint-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr><td>kdgprint Assign KDG Printers utility 26/Thu 11:17  
================================================================================

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

</td></tr></tbody></table>

<table border="1" id="bkmrk-kdgprint-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-1" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr><td>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....

</td></tr></tbody></table>

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

<table border="1" id="bkmrk-%3F-printer-number-alr" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr><td>? Printer number already assigned :Office\_CustomerService</td></tr></tbody></table>

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.

<table border="1" id="bkmrk-kdgprint-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-2" style="border-collapse: collapse; width: 100%; height: 261.156px;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr style="height: 231.359px;"><td style="height: 231.359px;">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....

</td></tr></tbody></table>

####   