How to print Citect scada alarms automatically to printer?

I'm using Citect SCADA 2018 R2. I have connected the SCADA pc to EPSON LQ 2190 printer via USB. I have to configure to print alarms to the printer line by line with date and time.

  • Hi  ,

    As per my answer to you on the Schneider Electric forum...

    This is from a very old TechNote (TN26484) so I cannot vouch for its currency or if it will work, so I am providing this as is:

    "For a Device configured as Filename "LPT1.DOS" and Type "ASCII", there are two things to check;

    1. There must be a Format specified for the device or NO data will be output to the printer.

    For example to output a line of text up to 132 characters you may specify a format like; {text,132}

    2. Try selecting the "RAW" data type from the 'Print Processor....' selection button for that printer's profile:

    Windows NT uses print processors to interpret what type of data is being passed from the spooler to the graphics engine. Windows NT defines a number of data types (for example, RAW, RAW [FF Appended], RAW [FFAuto], TEXT, and NT JNL 1.000) to implement print job alterations.

    Raw files need no processing from the print processor.

    The NT JNL 1.000 (or NT EMF 1.003) data type indicates that the job is being sent from a Windows-based application and uses GDI commands to describe the output while the TEXT datatype indicates that the job consists of ANSI text.

    A Device configured as Filename "LPT1:" and Type "Printer_Dev" will not print line by line in real time."

    I hope this information helps.

    Kind regards

    Olivier

  • I'll guess you also need to simmulate the LPT-port  (back in the days that was paralell port for printers)

     *install the printer as normal using the USB connection.

    *share it.

    Then use NET USE in windows :

    Try to trick Windows by using the USB printer as a dummy "network" printer connected to LPT1.

    Share the USB printer

    call/rename the shared printer (use a easy to remember share-name) , for example "Printer".

    Connect the shared printer as LPT1

    NET USE LPT1: \\[Computer-Name]\Printer /PERSISTENT:YES