Initialize Printer; Select Sensors To Stop Printing; Enable Or Disable Panel Button - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

Initialize printer

ASCII
ESC @
Hexadecimal
1B 40
Decimal
27 64
Default:
Character pitch:
Column width:
Extra dot rows:
Character set:
Printing position:
Clears the print line buffer and resets the printer to the default settings for the start-up configuration (refer to Default settings
above). Data in the receive buffer is not cleared, and printing position moves to the beginning of the line.
Single-wide, single-high, non-rotated, and left-aligned characters are set, and user-defined characters or logo graphics are
cleared. (Flash memory and macros are not affected.) Tabs reset to default. Receipt selection state is selected. Barcode
settings reset. Page mode settings are cleared and printer is set to standard mode. ASB is switched off.

Select sensors to stop printing

ASCII
ESC c 4 n
Hexadecimal
1B 63 34 n
Decimal
27 99 52 n
Value of n:
Sensor status
Bit
Sensor
0
Receipt paper near-end
1
Receipt paper near-end
2–4
Undefined
6
Undefined
Bits 5 and 7 are not used.
Default:
0
Determines which sensor stops printing on the respective station. The command does not affect the paper out status on the
receipt station, which will automatically stop the printer when the paper is depleted.

Enable or disable panel button

ASCII
ESC c 5 n
Hexadecimal
1B 63 35 n
Decimal
27 99 53 n
Value of n:
0 = Enable
1 = Disable
Default:
0 (Enable)
Enables or disables the paper feed button. If the last bit is 0, the paper feed button is enabled. If the last bit is 1, the paper
feed button is disabled.
Exceptions
Functions that require the paper feed button (except for the execute macro [1D 5E] command) cannot be used when it has
been disabled with this command.
15.6 CPI
44 characters
3
Code Page 437
Column One
Sensor Status
0
1
Disabled
Enabled
Disabled
Enabled
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
39

Advertisement

Table of Contents
loading

Table of Contents