Main
Programming Guide
Includes TPG LogoEZ colorization information
A799 Two-Color Thermal Receipt Printer
Page
Contents
Page
Page
Page
Page
Page
Chapter 1: About this Guide
Page
Chapter 2: Diagnostics and Conguration
Start-up Diagnostics
Runtime diagnostics
Remote diagnostics
Page
Indicators
Printer conguration
Conguring the printer
Communication interface
RS-232C serial interface settings
Diagnostic modes
Enable or disable data scope mode
To run the data scope mode:
To exit the data scope mode:
Enable or disable receipt test mode
To run the receipt test mode:
To exit the receipt test mode:
Electronic Journal Datascope Diagnostic
Printer emulations
Printer settings and functions
Select the emulation/software options sub-menu to set:
Select the hardware options sub-menu to set:
Page
Chapter 3: Programming the Printer
Overview of commands
Comparison to A793
Two-color commands (comparison A794 to A799)
Page
Character appearance
Width specications
Standard
Print zones
Print zones for 80mm paper
Rotated printing commands
Emulation modes
Print setup in emulation modes
Chapter 4: Programming Commands
Commands listed by function
Printer actions
Print and paper feed
Vertical and horizontal positioning
Text characteristics
Graphics
Status
Batch mode
Real time
Unsolicited status mode
Bar codes
Page mode
Macros
User data storage
Flash download
Ethernet setup commands
Command conventions
Command descriptions
Printer actions
Clear printer
Perform full knife cut
Perform partial knife cut
Generate tone
Select peripheral device (for multi-drop)
Initialize printer
Select paper sensors to output paper-end signals
Select sensors to stop printing
Enable or disable panel button
Generate pulse to open cash drawer
Set current color
Select cut mode and cut paper
Set paper type (ColorPOS)
Set interpretation of Set current color command
Print test form
Print and paper feed
Print and feed paper one line
Print and carriage return
Feed n print lines
Feed n dot rows
Add n extra dot rows
This command is ignored in LEGACY emulation.
This is ignored in LEGACY emulation and the parameter byte goes into the print buffer.
Print
Prints one line from the buffer and feeds paper one line. Executes LF on receipt.
Print and feed paper
Print and feed n lines
Vertical and horizontal positioning
Horizontal tab
Set horizontal and vertical minimum motion units
Set column
Set absolute starting position
Set vertical line spacing to 1/6 inch
Set vertical line spacing
Set horizontal tab positions
Set relative print position
To move to the left:
Select justication
Set left margin
Set printing area width
Text characteristics commands
Select double-wide characters
Select single-wide characters
Select 90 degree counter-clockwise rotated print
Select pitch (column width)
Set right-side character spacing
Select print mode
This command and select pitch (column width) command (1B 16 n) affect pitch selection.
Selects the print mode: standard, compressed, emphasized, underlined, double-high, or double-wide.
Refer to the table in other column for exceptions.
Select or cancel user-dened character set
Dene user-dened character set
Dene extended user-dened character set
Select or cancel underline mode
Copy character set from ROM to RAM
Cancel user-dened character
Select or cancel emphasized mode
Select or cancel double-strike
Select or cancel italic print
Select international character code
Select or cancel 90 degree clockwise rotated print
Select international character set
Select or cancel upside-down print mode
Select character size
Select or cancel white/black reverse print mode
Set smoothing
Reverse color text mode (ColorPOS)
Text strike-through mode (ColorPOS)
Select font ID number
Select font style number
Save font ID number as default font at power up
Download font
Download font list
Select superscript or subscript modes
Select active user-dened character set
Graphics
Download BMP logo
Select bit image mode
Print advanced raster graphics
Select single-density graphics
Select double-density graphics
Select the current logo
Dene downloaded bit image
Print downloaded bit image
Print raster graphics
Print raster monochrome graphics (ColorPOS)
Print raster color graphics (ColorPOS)
Download logo image (ColorPOS)
Print Flash Logo
Dene Flash Logos
Apply shading to logo (ColorPOS)
Merge watermark mode (ColorPOS)
Monochrome shade mode (ColorPOS)
Color shade mode (ColorPOS)
Logo print with color plane swap (ColorPOS)
Form and merge real time surround graphic (ColorPOS)
Save graphics buer as logo (ColorPOS)
Background logo print mode (ColorPOS)
Apply margin message mode (ColorPOS)
Shade and store logo (ColorPOS)
Logo print with knife cut
See Print downloaded bit image command. Set temporary max target speed
Set LogoEZ colorization
Page
Set LogoEZ attribute mapping
Page
Convert 6-dots/mm bitmap to 8-dots/mm bitmap
Enable constant speed logos
Status
Status command introduction
Batch mode
Transmit peripheral device status (RS-232C printers only)
Request alternate status (A793 emulation only)
Transmit paper sensor status
Transmit printer ID
Transmits the printer ID specied by n as follows:
Transmit printer ID, remote diagnostics extension
Page
Transmit status
When n is out of the specied range, the command is ignored.
Send printer software version
Real time commands
Preferred implementation
Alternate implementation
Rules for using real time commands
Moving data through the buer
Busy line and fault conditions
Real time status transmission
Page
Page
Real time request to printer
Real time printer status transmission
Real time commands disabled
Unsolicited status mode
Select or cancel unsolicited status mode (USM)
Page
Page
Recognizing data from the printer
Bar codes
Select printing position of HRI characters
Select pitch of HRI characters
Select bar code height
Print bar code
Second variation: Length n specied at beginning of string. Except as noted, 0 < n < 256.
Code 93 and PDF 417 are only available in A799 native mode.
Print multiple barcodes
Print GS1 DataBar (formerly RSS), null terminated
Print GS1 DataBar (formerly RSS), data length specied
Page
Sample symbol description:
Select bar code width
Page mode
Print and return to standard mode
Cancel print data in page mode
Print data in page mode
Select page mode
Select standard mode
Select print direction in page mode
Set print area in page mode
Set absolute vertical print position in page mode
Set relative vertical print position in page mode
Macros
Select or cancel macro denition
Execute macro
User data storage
Write to user data storage
Read from user data storage
Read from non-volatile memory
Write to non-volatile memory (NVRAM)
Select memory type (SRAM/ash) where to save logos or user-dened fonts
Flash memory user sectors allocation
Expanded ash memory allocation
Select ash area for storing logos and user-dened characters
Erase user ash sector
User storage status (ColorPOS)
Flash download
Switch to ash download mode
Return boot sector rmware part number
Return segment number status of ash memory
Select ash memory sector to download
Get rmware CRC
Return microprocessor CRC
Erase all ash contents except boot sector
Return main program ash CRC
Erase selected ash sector
Download to active ash sector
Reset rmware
Ethernet setup commands
Restore default settings
Setting IP address
Setting Net Mask
Setting the Gateway
Setting raw TCPIP port 9001
Sets the port where the printer will look for raw tcpip communications.
LP Daemon
Enables or disables the printer LP Daemon. The LP listens on port 515.
DHCP (auto-conguration)
Inactivity timeout
Enables or disables resetting of open TCP ports after ve (5) minutes inactivity.
Keep-alive pings
Page
Appendix A: Commands listed by hexadecimal code
By command code