EPT052026 Issue 1 February 2019 (23)
PLC to Printer
The table below lists RS485 communication commands for PC to printer connection.
Table 2: PLC to Printer
Operation Command Parameter Examples
Start/Stop Print
^1R01CS
*x\0 *x=1: Start print
*x=0: Stop print
^1R01CS1\0 = Start printing.
^1R01CS0\0 = Stop printing.
Set Print Speed
(inches/min)
^1S01CS*x*y\0 *x=1: Use encoder
*x=0: Don’t use encoder
*y: Print speed in inches
(mandatory 5 characters).
^1S01CS101200\0 = Use
encoder.
^1S01CS001200\0 = Do not
use encoder. Set print speed to
01200 inches/min.
Set Resolution ^1O01CS*x\0 *x=7: 300x100 dpi
*x=6: 300x150 dpi
*x=5: 300x200 dpi
^1O01CS7\0 = Set resolution to
300x100 dpi
^1O01CS6\0 = Set resolution to
300x150 dpi
^1O01CS5\0 = Set resolution to
300x200 dpi
Set Density ^1B01CS*x\0 *x=1: Set density to 1
*x=2: Set density to 2
*x=3: Set density to 3
*x=4: Set density to 4
*x=5: Set density to 5
^1B01CS1\0 = Set density to 1
^1B01CS1\0 = Set density to 2
^1B01CS1\0 = Set density to 3
^1B01CS1\0 = Set density to 4
^1B01CS1\0 = Set density to 5
Set Print Side ^1Q01CS*x*y*z\
0
*x=0: Set print side mode to
manual.
*x=1: Set print side mode to
auto.
*y=0: Set cartridge side to
even.
*y=1: Set cartridge side to
odd.
*z: Number of prints per side
before switching. This value
is passed if set to manual
mode (mandatory 5
characters).
^1Q01CS1001000\0 = Set print
side mode to Auto. After 1000
prints the print side will change.
^1Q01CS0100000\0 = Set print
side mode to Manual and print
side to Odd.