Control Codes

PcOS Series 150

Programmer's Guide

Miscellaneous Control

 

 

 

Function

Enable Dynamic Response

 

 

ASCII

[ESC] w <n>

 

 

Hexadecimal

1BH 77H <n>

 

 

Decimal

<27> <119> <n>

 

 

IPCL

none

 

 

EPOS

[GS] a <n>

 

 

Where n

defines the features that cause dynamic responses.

 

Bit 0 Cash Drawer 0

ACK/NAK <1>

 

Bit 1 Cash Drawer 1

ACK/NAK <2>

 

Bit 2 Paper out status

ACK/NAK <4>

 

Bit 3 Form in sensor

ACK/NAK <5>

 

Bit 6 Form clamp status

ACK/NAK <7>

 

Dynamic status can be used to allow the host to sense status changes without

 

sending repeated inquire ([ENQ]) commands. The operation of the dynamic

 

response varies depending on the configuration of the printer. If the printer is

 

configured for Serial or IEEE 1284 operation, more than one status can be

 

sensed as the printer will respond to status changes as if an [ENQ] were issued.

 

In parallel mode, only one status should be requested. If more than one bit is

 

active, the resulting status on the paper error (PE) signal will not be defined.

 

Note: Power up default is paper out on PE signal.

Function

Activate cutter

 

 

ASCII

[ESC] v

 

 

Hexadecimal

1BH 76H

 

 

Decimal

<27> <118>

 

 

IPCL

&%FC Cut

 

 

EPOS

[ESC] m or [ESC] I

 

 

Description

This command cuts the receipt tape above the current print line.

Note: This command is only effective on printers with a knife.

Page 58

Rev G

12/14/99

Page 68
Image 68
Star Micronics 150 manual Function Enable Dynamic Response