Manuals
/
Cognitive Solutions
/
Computer Equipment
/
Printer
Cognitive Solutions
A799
manual
Models:
A799
1
142
142
Download
142 pages
30.19 Kb
135
136
137
138
139
140
141
142
Specs
Text characteristics
Range of n Default
Sample symbol description
Indicators
Diagnostics and Configuration
Reset firmware
Runtime diagnostics
Print setup in emulation modes
Real time commands
Page 142
Image 142
A799
Two-Color
Thermal Receipt Printer: Programmer Guide
A799-PG00001
Rev. D
12/09
Page 141
Page 142
Page 142
Image 142
Page 141
Page 142
Contents
Programming Guide
Page
Contents
A799 Programming Guide
Contents Vertical and horizontal positioning
Text characteristics commands
Graphics
Real time commands
Status
110
Unsolicited status mode
105
111
119
117
118
120
Where to find advanced technical information
How to use this guide
Where to find the basics
Support
A799 Programming Guide
About this Guide
Diagnostics and Configuration
Start-up Diagnostics
Runtime diagnostics
Remote diagnostics
For more information about See this section
Indicator Sequence Condition
Indicators
Using the Printer , in the A799 User Guide
Printer configuration
Configuring the printer
RS-232C serial interface settings
Communication interface
To run the data scope mode
Diagnostic modes
Enable or disable data scope mode
To exit the data scope mode
To run the receipt test mode
Enable or disable receipt test mode
Electronic Journal Datascope Diagnostic
To exit the receipt test mode
Printer settings and functions
Select the emulation/software options sub-menu to set
Select the hardware options sub-menu to set
Diagnostics and Configuration
24 n1 n2
Overview of commands
Comparison to A793
2A m n1 n2 d1...dn
1B 59 n1 n2 d1...dn
Two-color commands comparison A794 to A799
1D 2A n1 n2 d1...dn
TPG ColorPOS two-color and color interpreted commands
TPG LogoEZ colorization commands Hexadecimal
Print zones
Width specifications
Character appearance
Print zones for 80mm paper
Upside down Rotated CW
Rotated printing commands
Print zones for 82.5mm paper
1B 7B n 1B 56 n
Print setup in emulation modes
Emulation modes
Printer actions
Commands listed by function
Code hexadecimal Command
Print and paper feed
Vertical and horizontal positioning
Text characteristics
26 s c1 c2
Graphics
Status
Unsolicited status mode
Batch mode
Real time
Macros
Mode
User data storage
Ethernet setup commands
Flash download
Command descriptions
Command conventions
Clear printer
Generate tone
Perform full knife cut
Perform partial knife cut
Select peripheral device for multi-drop
Select paper sensors to output paper-end signals
Initialize printer
Select sensors to stop printing
Enable or disable panel button
Generate pulse to open cash drawer
Select cut mode and cut paper
Set current color
Set paper type ColorPOS
A799 native
Set interpretation of Set current color command
Print test form
US t
Feed n print lines
Print and feed paper one line
Print and carriage return
Feed n dot rows
Add n extra dot rows
Print
Print and feed paper
Print and feed n lines
Set column
Horizontal tab
Set horizontal and vertical minimum motion units
GS P x y
Set vertical line spacing to 1/6 inch
Set absolute starting position
Compatibility information A799 receipt vs. A793 receipt
Set horizontal tab positions
Set vertical line spacing
Value of k
Set relative print position
To move to the left
Set left margin
Range of n Default
Select justification
GS L nL nH
Set printing area width
Maximum value of the printable Area
Select single-wide characters
Text characteristics commands
Select double-wide characters
Select 90 degree counter-clockwise rotated print
Pitch Columns
Select pitch column width
Set right-side character spacing
80mm Paper 82.5mm Paper
Value of n Bit1 Function
Select print mode
Mm paper
Exception
Select or cancel user-defined character set
Define user-defined character set
Values and ranges
Select or cancel underline mode
Define extended user-defined character set
Select or cancel emphasized mode
Cancel user-defined character
Copy character set from ROM to RAM
Select or cancel double-strike
Select or cancel italic print
Select or cancel 90 degree clockwise rotated print
Select international character code
Value of n A799 native mode A793 emulation Emulation
Select or cancel upside-down print mode
Select international character set
Character height selection
Select or cancel white/black reverse print mode
Select character size
Hex Decimal Width Height
Reverse color text mode ColorPOS
Set smoothing
Select font style number
Text strike-through mode ColorPOS
Select font ID number
Hexadecimal 1D F0 01 n Decimal 29 240 1 n Value of n 128
Download font list
Save font ID number as default font at power up
Download font
Select superscript or subscript modes
Select active user-defined character set
Download BMP logo
Select bit image mode
Select double-density graphics
Print advanced raster graphics
Select single-density graphics
Value of r
Select the current logo
GS # n
Define downloaded bit image
Value of n Value of n1 Value of n2 Value of d
Print raster graphics
Value of m Print mode Vertical DPI
Print downloaded bit image
Value and range of m
Print raster monochrome graphics ColorPOS
Print raster color graphics ColorPOS
Define Flash Logos
Download logo image ColorPOS
Print Flash Logo
Max n1 =
Monochrome shade mode ColorPOS
Merge watermark mode ColorPOS
Apply shading to logo ColorPOS
Form and merge real time surround graphic ColorPOS
Color shade mode ColorPOS
Logo print with color plane swap ColorPOS
Hexadecimal 1D 89 n m Decimal
Background logo print mode ColorPOS
Save graphics buffer as logo ColorPOS
1D 99 l m n o
Apply margin message mode ColorPOS
Shade and store logo ColorPOS
Value of l
Values of m
Logo print with knife cut
Set temporary max target speed
Decimal Values
Value of f
Set LogoEZ colorization
Value descriptions
= 2 link watermark printing
Set LogoEZ attribute mapping
LogoEZ utility default settings
S = 0, 0
Original attribute mapped table
Attributes substituted table
Enable constant speed logos
Convert 6-dots/mm bitmap to 8-dots/mm bitmap
Hexadecimal 1B 75 Decimal
Status command introduction
Transmit peripheral device status RS-232C printers only
Value of returned byte Bit
Hexadecimal 1B 75 n Decimal
Request alternate status A793 emulation only
Transmit paper sensor status
Value and Range of n Value of n Function Description
= 2 or 50 Type ID Bit Off/On Hex Decimal Function
Printer ID Specification ID Hexadecimal
Transmit printer ID
= 4 or 52 Logo Definition Bit Off/On Hex Decimal Function
Hex Dec Remote diagnostic item Function
Transmit printer ID, remote diagnostics extension
GS I @ n
Value of n
Transmit status
Send printer software version
Preferred implementation
Real time commands
Rules for using real time commands
Alternate implementation
Moving data through the buffer
Busy line and fault conditions
Real time status transmission
= Transmit RS-232C Busy Status
= Transmit receipt paper status
= Transmit error status Bit Status Hex Decimal Function
Bit Status Hex Decimal Function
Real time request to printer
Real time printer status transmission
Real time commands disabled
Value of byte Bit Status Hex Decimal Function
GS a n
Select or cancel unsolicited status mode USM
Default USM disabled
Hexadecimal 1D 61 n Decimal 29 97 n Value of n
Second byte error information
Bit Off/On Hex Decimal Status for USM
Fourth byte paper sensor information
Recognizing data from the printer
Batch mode response
Unsolicited status mode USM
Select printing position of HRI characters
Select bar code height
Select pitch of HRI characters
Print bar code
Length
Bar code
Integer n = nHnL 1D 6B m nL nH d1 . . . dn
Print multiple barcodes
GS k
Print GS1 DataBar formerly RSS, data length specified
Print GS1 DataBar formerly RSS, null terminated
Type
Set GS1 DataBar formerly RSS parameters
Value and Ranges Description
Related Information Value Dimension Row height
Sample symbol description
Select bar code width
Print data in page mode
Print and return to standard mode
Cancel print data in page mode
Hexadecimal 0C Decimal
Select page mode
Select standard mode
Select print direction in page mode
Set print area in page mode
Maximum area specification in page mode
Set relative vertical print position in page mode
Set absolute vertical print position in page mode
GS \ nL nH
GS r t m
Select or cancel macro definition
Execute macro
Hexadecimal 1D 5E r t m Decimal 29 94 r t m Value of r
Read from non-volatile memory
Write to user data storage
Read from user data storage
Write to non-volatile memory Nvram
Flash memory user sectors allocation
1F 26 s c1 c2 character 1 data ... character k data
Expanded flash memory allocation
US & s c1 c2 character 1 data ... character k data
31 38 s c1 c2 character 1 data ... character k data
Erase user flash sector
Value of n = 49 Ascii n = 1 HEX
User storage status ColorPOS
For m =
Switch to flash download mode
Return boot sector firmware part number
Get firmware CRC
Return segment number status of flash memory
Select flash Memory sector to download
Return microprocessor CRC
Erase selected flash sector
Erase all flash contents except boot sector
Return main program flash CRC
Download to active flash sector
Setting IP address
Reset firmware
Restore default settings
Setting Net Mask
BootP
Setting the Gateway
Setting raw Tcpip port
LP Daemon
Keep-alive pings
Dhcp auto-configuration
Inactivity timeout
N1=
Programming Commands
By command code
2E m n rL rH d1 … dn
59 n1 n2 d1...dn
4B n1 n2 d1...dn
57 n1, n2...n8
5C n1 n2
2A n1 n2 d1...dn
AL aH cL cH d1...dn
4C nL nH
B c d e fL fH
6B m d1...dk
6B m n d1...dn
M n o
08 01 n1 n2 n3 n4
Appendix B Resident Character Sets
Character sets
Code page 437 US
Code page 737 Greek
Code page 850 Multilingual
Code page 852 Slavic
Code page 857 Turkish
Code page 858 with Eurosymbol
Code page 860 Portuguese
Code page 862 Hebrew
Code page 863 French Canadian
Code page 865 Nordic
Code page 866 Cyrillic
Code page 1252 Windows Latin
Top
Page
Image
Contents