Star Micronics 150 Printer User Manual


 
Programmer's Guide PcOS Series 150 Control Codes
Print/Paper Motion
12/14/99 Rev G Page 15
Chaper 5:
Printer Control Codes
Print/Paper Motion
Low-level Paper Motion Control
Function Carriage return
ASCII [CR]
Hexadecimal 0DH
Decimal <13>
IPCL &%CR
EPOS 0DH
Description This command prints the contents of the print buffer (if any) and resets the
next character print position to the left margin. A line feed is not
performed unless autofeed was active. The left margin is defined by the
current print station, the print rotation direction, and the left margin
command.
Note: In single-line mode, the [CR] is used to terminate all lines. The
printer will go busy
6
after the [CR] is received. The printer will not be
ready to accept data again until the previous data has printed.
Function Line feed
ASCII [LF]
Hexadecimal 0AH
Decimal <10>
IPCL &%LF
EPOS 0AH
Description This command prints the contents of the buffer (if any) and advances the
paper one line at the current default line spacing. The next character print
position is not reset to the left margin unless auto-CR is active.
6
In one-line mode, the parallel port busy signal will occur as a result of receiving the [CR].
In serial mode, the busy indication will be delayed until the [CR] is processed by the input software.
Data sent to the printer after the [CR] will not be lost unless the printer is power cycled.