Applies To:
  • CitectSCADA 5.xx
  • CitectHMI 5.xx

When I try to map an LPT port to a network printer, I cannot find the <PrintServer> and <ShareName> for the printer on my network. I only know the printer's IP address. What should I do? 

In this case, you have to add a local printer to the machine. It is assumed that you have administrative rights on the local machine.

1. Go to Start menu | Printers and Faxes

2. Click on Add Printer (which opens the Add Printer Wizard) and click Next

3. Select Local printer attached to this computer option and deselect Automatically detect and install my Plug and Play printer check box

4. Select Create a new port option and in the Type box, select Standard TCP/IP Port

5. Type your printer name (in <\\PrintServer\ShareName> syntax) or IP address (Port name will be generated automatically, but you can modify it)

6. Select a printer driver designed for the printer you are connecting to

7. Define a printer name (if the printer is to be used by other DOS programs, the name should have up to 8 characters)

8. Select Share name: (the printer name will be used as the share name by default)

9. Location and Comment are optional

10. Finish

In some cases where you cannot map the network printer that has already been configured on the local machine because your access permissions are limited, or the printer share name has unrecognised characters, you still have to add a local printer following the above procedure.

If the port you are trying to add already exists, then you must select the Use the following port option (in place of Create a new port option in step 4) and select the port in the dropdown list.

Please refer to article Q3804 for how to map an LPT port to a network printer. To test if the mapping works, type dir > lptx or copy file lptx at a command prompt (Start menu | type cmd), where x is the number of the port that is being mapped, and then press ENTER. For more information regarding this, please refer to Microsoft's Knowledge Base article Q314073
by clicking on the following link: