If you are configuring a serial printer, its printer baud rate, parity, and data length will have to be set each time your system is rebooted. You can do this by creating a file called cimp_port.bat in the top-level directory on the disk where your project is located. The file will be called by the Alarm Printer program when it initiates printing on the printer. The file contains:
@echo off
mode <port> baud=<rate> parity=<set> data=<n> stop=<m>
Where
<port> |
Is the serial port to which the printer is connected. |
<rate> |
Is the baud rate of the printer. |
<set> |
Is the parity used by the printer. |
<n> |
Is the number of data bits. |
<m> |
Is the number of stop bits. |
Example
If you have a printer on COM1: port that communicates at 9600 baud, no parity, 8 data bits and 1 stop bit, the file would look like this:
@echo off
mode COM1: baud=9600 parity=n data=8 stop=1
If you have more than one serial printer, you will need one mode line per printer.
To create mode line file:
Open a Notepad window.
Enter the printer configuration information according to the above template.
Save the file called cimp_port.bat in the top-level directory on the disk where your project is located.
Step 5. Continue for Serial, Redundant or Network Printers |