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

Summary:
An old parallel port HP Deskjet printer was replaced with a new printer that only supports USB connections.
The drivers that came with the printer has been installed, and I can print documents from other Windows applications. The Reports that used to print on the old printer, no longer print on the new USB printer. How do you configure a USB printer for use with Citect?
 

Solution:
One possible solution is to follow KB Q3815. This solution allows you to map the printer resources to the Parallel port.

Alternatively you can share your printer the printer as a resource and then use UNC path name to access your printer resources.
Please follow the steps below to achieve this:

Step 1
Share your printer as a resource. Go to the Control Panel, open "Printer and Faxes", and then right click on your printer, and select "Sharing...". Select the radio button to "Share this printer", and enter a Share name. For example: "USB_DESKJET"

Step 2
Open Citect Project Editor, and go to System, Devices. Create a new device with the following details:
Name: USB_PRINTER
File Name: \\MY_SERVER\USB_DESKJET
(For example, your Computer Name, as seen in System Properties, is called "MY_SERVER")
Type: PRINTER_DEV
No. Files: -1
Comment: USB Deskjet printer used for reports

Step 3
Now modify your Report configuration, and change the Output Device, to point to "USB_PRINTER", i.e. :
Output Device: USB_PRINTER

Step 4
Click replace, to replace the existing Report record.

Step 5
Pack and Compile your project.

You should now be able to print your reports to the USB Printer.
 

Keywords:
USB, Printer, Report, LPT1  

Attachments