HP Hybrid POS Printer with MICR II User guide

Category
Print & Scan
Type
User guide
HP Hybrid POS Printer with MICR II
Programming Guide
Contents
Programming Guide HP Hybrid POS Printer with MICR II
i
Contents
Chapter 1: About this Guide .............................................................................................................................. 1
How to use this Guide .......................................................................................................................... 1
Where to nd the basics ...................................................................................................................... 1
Where to nd advanced technical information ................................................................................. 1
Support ................................................................................................................................................. 1
Chapter 2: Printer Status and Indicators .......................................................................................................... 2
Startup Diagnostics ............................................................................................................................. 2
Runtime Diagnostics ............................................................................................................................ 3
Remote Diagnostics ............................................................................................................................. 3
Indicators .............................................................................................................................................. 4
Chapter 3: Emulation.......................................................................................................................................... 5
A776II Emulation Commands ............................................................................................................. 5
Set Printer ID Mode ............................................................................................................................................... 5
Set A776II Printer ID .............................................................................................................................................. 5
A776II Conguration Commands ....................................................................................................... 5
Select Slip Lines per Inch .................................................................................................................................... 5
Select Number of Lines of Validation ............................................................................................................. 5
Select A776II Narrow Slip Conguration Option to Ignore n Leading Spaces ................................. 6
Select A776II Narrow Slip Conguration Option to Ignore n Leading Spaces ............................... 6
Select A776II Narrow Slip 51-column Compressed Print Option ........................................................ 6
Select A776II Delete Slip Trailing Spaces Option ....................................................................................... 7
Select A776II (21 and 25-line) Rotated Slip Print Options ....................................................................... 7
Select A776II First Line of Print Option in Text and Page Mode ............................................................ 7
Select Cover Open Option .................................................................................................................................. 8
Set Page Mode Margin Mechanical Adjustment ........................................................................................ 8
Select A776II Slip Eject Option .......................................................................................................................... 8
Select 45/60 Column Slip Option ..................................................................................................................... 8
Set Page Mode Option to Trim Full Dots ....................................................................................................... 9
A776II Congurable Slip Commands ................................................................................................. 9
A776II Double High Slip Character Print ....................................................................................................... 9
A776II Slip Character Spacing ........................................................................................................................... 9
A776II Slip Minimum Units ................................................................................................................................. 9
A776II Slip Left Margin and Print Width......................................................................................................... 9
A776II Slip Print Justication ............................................................................................................................. 9
Chapter 4: Programming the Printer ................................................................................................................ 10
Overview of Printing Characteristics .................................................................................................. 10
Character Appearance ......................................................................................................................... 11
Receipt character specication ................................................................................................... 11
Standard .................................................................................................................................................................... 11
Compressed ............................................................................................................................................................. 11
Contentsii
HP Hybrid POS Printer with MICR II Programming Guide
Print Zones ........................................................................................................................................... 12
Print zones for receipt station 80 mm paper .............................................................................. 12
Print Zones for Slip Station .......................................................................................................... 13
Print Zones for Slip, Validation ........................................................................................................... 14
Rotated Printing Commands ............................................................................................................... 15
Chapter 5: Programming Commands ............................................................................................................... 16
Commands Listed by Function............................................................................................................ 16
Printer actions ............................................................................................................................... 16
Print and paper feed .................................................................................................................... 17
Vertical and horizontal positioning ........................................................................................... 17
Text characteristics ....................................................................................................................... 17
Graphics ........................................................................................................................................ 18
Status ............................................................................................................................................. 19
Batch mode .............................................................................................................................................................. 19
Real time ................................................................................................................................................................... 19
Automatic status back / Unsolicited status mode ...................................................................... 20
Bar codes ....................................................................................................................................... 20
Page mode .................................................................................................................................... 20
Macros ........................................................................................................................................... 21
MICR commands ........................................................................................................................... 21
MICR reading ........................................................................................................................................................... 21
MICR parsing ........................................................................................................................................................... 21
User data storage .......................................................................................................................... 21
Flash download ............................................................................................................................. 21
Settings commands ...................................................................................................................... 22
Miscellaneous conguration commands .................................................................................... 22
Command Conventions ....................................................................................................................... 23
Command Descriptions ....................................................................................................................... 23
Printer actions ............................................................................................................................... 23
Clear printer ............................................................................................................................................................. 23
Close form ................................................................................................................................................................ 23
Open form ................................................................................................................................................................ 24
Perform partial knife cut ..................................................................................................................................... 24
Generate tone ......................................................................................................................................................... 24
Return home............................................................................................................................................................ 24
Select peripheral device (for multi-drop) ...................................................................................................... 25
Initialize printer ...................................................................................................................................................... 25
Set slip paper eject length .................................................................................................................................. 25
Set unidirectional print on impact station ................................................................................................... 26
Select receipt or slip for printing; slip for MICR read ................................................................................. 26
Select receipt or slip for setting line spacing ............................................................................................... 26
Select sensors to stop printing ......................................................................................................................... 27
Enable or disable panel button ........................................................................................................................ 27
Set slip paper waiting time ................................................................................................................................ 27
Generate pulse to open cash drawer.............................................................................................................. 28
Release Paper .......................................................................................................................................................... 28
Set current color ..................................................................................................................................................... 28
Contents
Programming Guide HP Hybrid POS Printer with MICR II
iii
Select slip station ................................................................................................................................................... 29
Select cut mode and cut paper ........................................................................................................................ 29
Set paper type (ColorPOS®) ................................................................................................................................ 30
Select receipt station ............................................................................................................................................ 30
Set interpretation of “Set current color” command ................................................................................... 30
Set timeout value for low-power idle state ................................................................................................. 31
Set printer into low-power idle state .............................................................................................................. 31
Print test form ......................................................................................................................................................... 31
Port Idle Timeout ................................................................................................................................................... 31
Print and paper feed ..................................................................................................................... 32
Print and feed paper one line ............................................................................................................................ 32
Print and eject slip ................................................................................................................................................. 32
Print and carriage return ..................................................................................................................................... 32
Feed n print lines ................................................................................................................................................... 32
Feed n dot rows ...................................................................................................................................................... 33
Add n extra dot rows ............................................................................................................................................ 33
Print ............................................................................................................................................................................ 34
Print and feed paper ............................................................................................................................................. 34
Print and reverse feed paper ............................................................................................................................. 34
Print and feed n lines ............................................................................................................................................ 34
Print and reverse feed n lines ............................................................................................................................ 35
Reverse feed n lines .............................................................................................................................................. 35
Reverse feed n dots ............................................................................................................................................... 35
Vertical and horizontal positioning ............................................................................................ 36
Horizontal tab ......................................................................................................................................................... 36
Set horizontal and vertical minimum motion units .................................................................................. 36
Set column ............................................................................................................................................................... 36
Set absolute starting position ........................................................................................................................... 37
Set vertical line spacing to 1/6 inch ................................................................................................................ 37
Set vertical line spacing ....................................................................................................................................... 37
Set horizontal tab positions ............................................................................................................................... 38
Set relative print position ................................................................................................................................... 39
Select justication ................................................................................................................................................. 40
Set left margin ........................................................................................................................................................ 40
Set printing area width ........................................................................................................................................ 41
Text characteristics commands ................................................................................................... 42
Select double-wide characters ......................................................................................................................... 42
Select single-wide characters ........................................................................................................................... 42
Select 90 degree counter-clockwise rotated print .................................................................................... 42
Select pitch (column width) ............................................................................................................................... 43
Set right-side character spacing ....................................................................................................................... 43
Select or cancel user-dened character set ................................................................................................. 44
Select print mode .................................................................................................................................................. 44
Dene user-dened character set ................................................................................................................... 46
Dene extended user-dened character set ............................................................................................... 47
Select or cancel underline mode ..................................................................................................................... 47
Copy character set from ROM to RAM ........................................................................................................... 48
Cancel user-dened character .......................................................................................................................... 48
Select or cancel emphasized mode ................................................................................................................ 48
Contentsiv
HP Hybrid POS Printer with MICR II Programming Guide
Select or cancel double-strike ........................................................................................................................... 49
Select or cancel italic print ................................................................................................................................. 49
Select international character code ............................................................................................................... 50
Select or cancel 90 degree clockwise rotated print .................................................................................. 51
Select international character set ................................................................................................................... 51
Select or cancel upside-down print mode ................................................................................................... 52
Select character size ............................................................................................................................................. 53
Select or cancel white/black reverse print mode ....................................................................................... 54
Set smoothing ........................................................................................................................................................ 54
Reverse color text mode (ColorPOS®) ............................................................................................................. 55
Text strike-through mode (ColorPOS®) ..........................................................................................................55
Select superscript or subscript modes ........................................................................................................... 55
Select active user-dened character set ....................................................................................................... 56
Download font list ................................................................................................................................................. 56
Congure use of font set ..................................................................................................................................... 56
Congure line spacing ......................................................................................................................................... 56
Double-byte fonts......................................................................................................................... 57
Lock permanent font ash area ........................................................................................................................ 57
Erase user ash sector .......................................................................................................................................... 57
Select font ID number .......................................................................................................................................... 58
Select font style number ..................................................................................................................................... 58
Save font ID number as default font at power up ...................................................................................... 58
Get double-byte font CRC (font ID) ................................................................................................................. 58
Get double-byte font CRC (font ID and font style) .................................................................................... 58
Download font ........................................................................................................................................................ 59
Graphics ......................................................................................................................................... 59
Download BMP logo ............................................................................................................................................. 59
Select bit image mode ......................................................................................................................................... 60
Turn on/o TIFF compression ........................................................................................................................... 61
Print advanced raster graphics ......................................................................................................................... 61
Select single-density graphics .......................................................................................................................... 61
Select double-density graphics ........................................................................................................................ 62
Select the current logo (downloaded bit image) ....................................................................................... 62
Dene downloaded bit image .......................................................................................................................... 63
Print downloaded bit image ..............................................................................................................................64
Print raster graphics ............................................................................................................................................. 64
Print raster monochrome graphics (ColorPOS®)......................................................................................... 65
Print raster color graphics (ColorPOS®) .......................................................................................................... 65
Download logo image (ColorPOS®) ................................................................................................................66
Print Flash Logo ...................................................................................................................................................... 66
Dene Flash Logos ................................................................................................................................................ 66
Apply shading to logo (ColorPOS®) ................................................................................................................. 67
Merge watermark mode (ColorPOS®) ............................................................................................................. 67
Monochrome shade mode (ColorPOS®) ........................................................................................................ 68
Color shade mode (ColorPOS®) ........................................................................................................................ 68
Logo print with color plane swap (ColorPOS®) ........................................................................................... 68
Form and merge real time surround graphic (ColorPOS®) ..................................................................... 69
Save graphics buer as logo (ColorPOS®) .....................................................................................................69
Background logo print mode (ColorPOS®) ................................................................................................... 70
Contents
Programming Guide HP Hybrid POS Printer with MICR II
v
Apply margin message mode (ColorPOS®) .................................................................................................. 70
Shade and store logo (ColorPOS®) ................................................................................................................... 71
Logo print with knife cut ..................................................................................................................................... 71
Set temporary max target speed ..................................................................................................................... 72
Set LogoEZ® colorization .................................................................................................................................... 72
Set LogoEZ® attribute mapping ....................................................................................................................... 75
Convert 6-dots/mm bitmap to 8-dots/mm bitmap .................................................................................. 76
Enable constant speed logos ............................................................................................................................ 77
Status ............................................................................................................................................. 77
Status command introduction .......................................................................................................................... 77
Batch mode ................................................................................................................................... 77
Transmit peripheral device status (RS-232C printers only) ..................................................................... 78
Transmit paper sensor status ............................................................................................................................ 78
Transmit printer ID ................................................................................................................................................ 79
Transmit printer ID, remote diagnostics extension ................................................................................... 80
Transmit status ....................................................................................................................................................... 83
Send printer software version ........................................................................................................................... 86
Real time commands .................................................................................................................... 86
Preferred implementation .................................................................................................................................. 86
Alternate implementation ..................................................................................................................................86
Rules for using real time commands .............................................................................................................. 87
Moving data through the buer ...................................................................................................................... 87
Busy line and fault conditions ........................................................................................................................... 87
Real time status transmission ............................................................................................................................ 88
Real time request to printer ............................................................................................................................... 90
Real time printer status transmission ............................................................................................................. 91
Real time commands disabled.......................................................................................................................... 91
Automatic Status Back ................................................................................................................. 92
Enable/disable Automatic Status Back (ASB) ............................................................................................... 92
Unsolicited status mode .............................................................................................................. 95
Select or cancel unsolicited status mode (USM) ........................................................................................ 95
Recognizing data from the printer .................................................................................................................. 98
Bar codes ....................................................................................................................................... 99
QR code Overview ................................................................................................................................................. 99
Select model for QR code .................................................................................................................................. 99
Set size for QR code module ............................................................................................................................. 99
Set data parsing mode for QR Code ............................................................................................................... 100
Select error correction level for QR Code ..................................................................................................... 100
Store symbol data for QR Code ........................................................................................................................ 100
Print symbol data for QR code .......................................................................................................................... 101
Transmit QR code print size ............................................................................................................................... 102
Select printing position of HRI characters .................................................................................................... 103
Select pitch of HRI characters ............................................................................................................................ 104
Select bar code height ......................................................................................................................................... 104
Print bar code .......................................................................................................................................................... 104
Print multiple barcodes ....................................................................................................................................... 106
Print GS1 DataBar, null terminated .................................................................................................................. 107
Print GS1 DataBar, data length specied ...................................................................................................... 107
Set GS1 DataBar parameters .............................................................................................................................. 108
Contentsvi
HP Hybrid POS Printer with MICR II Programming Guide
Select PDF 417 parameters ................................................................................................................................ 108
Select bar code width .......................................................................................................................................... 109
Set DataMatrix parameters ................................................................................................................................ 110
Set DataMatrix module size ............................................................................................................................... 111
Store DataMatrix data in symbol storage area ............................................................................................ 112
Print DataMatrix symbol data in the symbol storage area ..................................................................... 113
Page mode ..................................................................................................................................... 114
Slip page mode considerations ........................................................................................................................ 114
Print and return to standard mode ................................................................................................................. 115
Cancel print data in page mode ....................................................................................................................... 115
Print data in page mode ...................................................................................................................................... 116
Select page mode .................................................................................................................................................. 116
Select standard mode .......................................................................................................................................... 117
Select print direction in page mode ............................................................................................................... 117
Set print area in page mode .............................................................................................................................. 118
Set absolute vertical print position in page mode .................................................................................... 119
Set relative vertical print position in page mode ....................................................................................... 120
Macros ........................................................................................................................................... 121
Select or cancel macro denition .................................................................................................................... 121
Execute macro ........................................................................................................................................................ 121
MICR commands ........................................................................................................................... 122
MICR reading ........................................................................................................................................................... 122
Read MICR data and transmit ............................................................................................................................ 122
Transmit last MICR read ....................................................................................................................................... 122
MICR parsing ................................................................................................................................. 123
Dene parsing format, save in NVRAM .......................................................................................................... 123
Dene parsing format, do not save permanently ...................................................................................... 123
Parsing parameter string options .................................................................................................................... 123
Sample parsing formats ...................................................................................................................................... 125
Check serial number ............................................................................................................................................. 127
Loading the exception table .............................................................................................................................. 128
Exception table entry format............................................................................................................................. 128
Maintaining the exception table ...................................................................................................................... 129
User data storage .......................................................................................................................... 130
Write to user data storage .................................................................................................................................. 130
Read from user data storage ............................................................................................................................. 130
Select memory type (SRAM/ash) where to save logos or user-dened fonts ............................... 130
Flash memory user sectors allocation ............................................................................................................ 131
Flash object area pack .......................................................................................................................................... 131
Flash object delete ................................................................................................................................................ 131
Expanded ash memory allocation ................................................................................................................ 132
Select ash area for storing logos and user-dened characters .......................................................... 132
Return ash area size ............................................................................................................................................ 132
Erase user ash sector .......................................................................................................................................... 133
User storage status (ColorPOS®) ....................................................................................................................... 133
Lock permanent font ash area ........................................................................................................................ 134
Contents
Programming Guide HP Hybrid POS Printer with MICR II
vii
Flash download ............................................................................................................................. 134
Switch to ash download mode ...................................................................................................................... 135
Erase all ash contents except boot sector .................................................................................................. 135
Return main program ash CRC ....................................................................................................................... 135
Download application ......................................................................................................................................... 135
Reset rmware ........................................................................................................................................................ 136
Settings commands ...................................................................................................................... 136
Save current settings ............................................................................................................................................136
Restore factory settings ....................................................................................................................................... 136
Upload current settings ....................................................................................................................................... 136
Upload factory settings ....................................................................................................................................... 136
Download settings ................................................................................................................................................ 136
Miscellaneous conguration commands .................................................................................... 137
Set diagnostics mode ........................................................................................................................................... 137
Enable or disable knife ......................................................................................................................................... 137
Enable or disable paper low sensor ................................................................................................................ 137
Set max power ........................................................................................................................................................ 137
Set printer emulation ........................................................................................................................................... 138
Reset settings to default values ........................................................................................................................ 138
Set partial cut distance ........................................................................................................................................ 138
Set default font ....................................................................................................................................................... 138
Set font size .............................................................................................................................................................. 139
Set color density..................................................................................................................................................... 139
Enable or disable Code 128 check digit calculation.................................................................................. 139
Enable or disable barcode ITF leading zero ................................................................................................. 139
Enable or disable barcode string terminator ...............................................................................................140
Set paper low threshold extension ................................................................................................................. 140
Enable or disable USM canned status ............................................................................................................ 140
Send diagnostic pages to comm port ............................................................................................................ 140
Enable or disable EJ action via operator control ........................................................................................ 141
Set ne adjustment of partial cut steps ......................................................................................................... 141
Set printer ID mode............................................................................................................................................... 141
Set default code page at power on ................................................................................................................. 141
Set Asian ASCII characters to narrow .............................................................................................................. 141
Set vertical white space ....................................................................................................................................... 142
Set printer tone ...................................................................................................................................................... 142
Enable or disable shutdown mode ................................................................................................................. 142
Set shutdown mode timeout ............................................................................................................................ 142
Appendix A:
Commands Listed by Hexadecimal Code.......................................................................................................... 143
Contentsviii
HP Hybrid POS Printer with MICR II Programming Guide
Appendix B:
Resident Character Sets ..................................................................................................................................... 150
Character code table Page 0 (PC437: USA, Standard Europe): ................................................. 150
Character code table Page 1 (PC850: Multilingual Latin I): ....................................................... 151
Character code table Page 2 (PC852: Latin II): ............................................................................ 152
Character code table Page 3 (PC860: Portuguese):.................................................................... 153
Character code table Page 4 (PC863: Canadian French): ........................................................... 154
Character code table Page 5 (PC865: Nordic): ............................................................................ 155
Character code table Page 6 (PC858: Multilingual I + Euro): ..................................................... 156
Character code table Page 7 (PC866: Russian): .......................................................................... 157
Character code table Page 8 (WPC1252: Latin I): ....................................................................... 158
Character code table Page 9 (PC862: Hebrew): .......................................................................... 159
Character code table Page 10 (PC737: Greek): ........................................................................... 160
Character code table Page 11 (PC874: Thai): .............................................................................. 161
Character code table Page 12 (PC857: Turkish): ......................................................................... 162
Character code table Page 13 (WPC1251: Cyrillic): .................................................................... 163
Character code table Page 14 (WPC1255: Hebrew): .................................................................. 164
Character code table Page 15 (KZ_1048: Kazakh): .................................................................... 165
Character code table Page 16 (WPC1256: Arabic): .................................................................... 166
Character code table Page 17 (WPC1250: Central Europe): ...................................................... 167
Character code table Page 18 (WPC28591: Latin 1): .................................................................. 168
Character code table Page 19 (WPC28592: Latin 2): .................................................................. 169
Character code table Page 20 (WPC28599: Turkish): ................................................................. 170
Character code table Page 21 (WPC28605: Latin 9): .................................................................. 171
Character code table Page 22 (PC864: Arabic): .......................................................................... 172
Character code table Page 23 (PC720: Arabic): .......................................................................... 173
Character code table Page 24 (WPC1254: Turkish): ................................................................... 174
Character code table Page 25 (WPC28596: Arabic): .................................................................. 175
Character code table Page 26 (KATAKANA: Asia): ...................................................................... 176
Character code table Page 27 (PC775: Baltic):............................................................................ 177
Character code table Page 28 (WPC1257: Baltic): ...................................................................... 178
Character code table Page 29 (WP28594: Baltic): ...................................................................... 179
Appendix C: Electronic Journal ......................................................................................................................... 180
Electronic Journal Storage .................................................................................................................. 180
1F 03 18 01 n Auto Journal Mode via Conguration Command .......................................................... 180
Auto Journal Mode via Runtime Command ................................................................................................ 180
Journal RAM buer ............................................................................................................................................... 181
Journal Flash buer............................................................................................................................................... 181
Exception Conditions in Auto Journal Mode ............................................................................................... 181
Printing and Erasing the Journal Flash Buer ................................................................................... 182
Operator Activation of Journal Print and Erase .......................................................................................... 182
1F 0A C3 Clear Journal ......................................................................................................................................... 182
1F 0A C4 Print Journal .......................................................................................................................................... 182
1F 0A C5 Return Journal Status ........................................................................................................................ 183
1F 0A C6 Return Journal Flash Size.................................................................................................................. 183
1F 0A C7 Write Journal RAM Data to Flash ................................................................................................... 183
Chapter 1: About this Guide
Programming Guide HP Hybrid POS Printer with MICR II
1
How to use this Guide
This guide provides programming information on the HP Hybrid POS Printer with MICR II, which is referred to in this
guide as the A776II printer. It is written for tech-savvy users who are interested in customizing or adjusting printer
functionality and is meant to be used with the User Guide.
If you experience any diculties during the programming process or feel unsure of adjustments you have made,
contact your HP representative for further assistance.
Where to nd the basics
If you are looking for information on setup or basic operation, refer to the User Guide. This guide assumes that you
have the User Guide handy for reference or are already familiar with the printer.
Where to nd advanced technical information
This guide contains the most complete information available on programming the printer. If you cannot nd what you
need here or would like further guidance on how to program the printer, contact a HP representative for assistance.
Support
For more advanced procedures and troubleshooting, you may need to refer to the printer’s service guide or speak to a
HP technical professional. Your representative is able to provide you with necessary information.
For online service, refer to http://www.hp.com/support.
Chapter 1: About this Guide
Chapter 2: Printer Status and Indicators2
HP Hybrid POS Printer with MICR II Programming Guide
Chapter 2: Printer Status and Indicators
The printer performs a number of diagnostics that provide useful information about the operating status of the printer.
The following diagnostic tests are available.
• Startupdiagnostics,performedduringstartupcycle.
• Runtimediagnostics,performedduringnormalprinteroperation.
• Remotediagnostics,runduringnormaloperationandreportedintheprinttest.
The printer can be congured with the following settings and functions through the conguration menu that is
printed on the receipt. To learn more see the section called “Conguring the Printer” in the User Guide.
Communication interfaces (except Ethernet)
Diagnostic modes
RS-232C settings
Printer emulations/software options
Hardware options
Paper Type
Firmware features
Startup Diagnostics
When the printer receives power or performs a hardware reset, it automatically performs the startup diagnostics (also
known as level 0 diagnostics) during the startup cycle. The following diagnostics are performed:
• Turnomotorsandsolenoids
• PerformbootCRCcheckofthermwareROMandtestmainprogramCRC
Failure causes Startup Diagnostics to stop; the printer beeps and the light ashes a set number of times,
indicating the nature of the failure. The table in the “Indicators” section (page 4) describes the specic tone and
light sequences.
• Checkifpaperispresent
• Returntheknifetothehomeposition
Failure causes a fault condition. The table in the “Indicators” section (page 4) describes the specic tone and
light sequences.
• Checkifreceiptcoverisclosed
Failure does not interrupt the startup cycle.
At power up, if the LED blinks twice, every four seconds, the object storage areas are being initialized. This process
could take up to two minutes. Once the object storage area initialization is complete the printer will continue with its
normal startup procedure and operation. DO NOT RESET THE PRINTER UNTIL THIS PROCESS IS COMPLETE.
When the start-up diagnostics are complete, the printer makes a two-tone beep (low then high frequency), the paper
feed button is enabled, and the printer is ready for normal operation.
If the printer has not been turned on before, or a new EEPROM has been installed, the default values for the printer
functions will be loaded into the EEPROM during start-up diagnostics, and the printer will make a quick four-tone beep
(high then low frequency, twice).
Chapter 2: Printer Status and Indicators 3
Programming Guide HP Hybrid POS Printer with MICR II
Runtime Diagnostics
Runtime diagnostics (sometimes called level 2 diagnostics) run during normal printer operation. When the following
conditions occur, the printer automatically turns o the appropriate motors and disables printing to prevent damage
to the printer:
• Paperout •Printhead too hot
• Receiptcoveropen •Voltagesoutofrange •Knifeunabletohome
The light on the operator panel will signal when these conditions occur as well as indicate what state or mode the
printer is in.
Remote Diagnostics
Remote diagnostics (sometimes called level 3 diagnostics) keeps track of the following tallies and prints them on the
receipt during the print test. These tallies can be used to determine the printer’s state of health.
• Modelnumber
• Serialnumber
• CRCnumber
• Numberoflinesprinted
• Numberofknifecuts
• Numberofhourstheprinterhasbeenon
• Numberofashcycles
• Numberofcutterjams
• Numberoftimesthecoverisopened
• Numberofbarcodesprinted
• Numberofreceiptcharactersprinted
• Numberofprinterfaults
• Maximumtemperaturereached
• Numberofdotsprinted
• Numberofdotsprintedoncurrentprinthead
• Numberofprintheadchanges
• Numberofreceiptmechanismchanges
• Numberofknifemechanismchanges
• Numberofblackmarkerrors
• Numberofthermistorerrors
• Numberoflowvoltageerrors
• Numberofhighvoltageerrors
• Numberofrmwarestarts
• NumberofEEPROMupdates
For more information about See this section
Accessing the remote diagnostic tallies “Command descriptions in Chapter 5: Programming commands
(Status commands: Transmit printer ID, remote diagnostics extension,
Hexadecimal 1D 49 40 n)
- Set Firmware Features - > 8 clicks
*** A776II - Diagnostics Form ***
Model number : A776-0000-0000
Serial number : 0000000000
Loader Firmware
P/N : PN#: 189-776L116
Date : Jul 6 2016
Flash Firmware
Revision : V1.42
CRC : C0F4
P/N : 189-776A142A
H/W parameters
Flash Memory Size : 8 Mbytes
Flash Logos/Fonts : 1600 kbytes
Flash User Storage : 576 kbytes
Flash Permnt Fonts : 2240 kbytes
Flash Journal Size : 640 kbytes
SRAM Size : 512 kbytes
Head settting : H
Motor ID : 1
Paper Type Setting : Type 0, Monochrome
Color Density Adj : n/a
Print Density, Mono : 100%
Max Speed : 300 mm/sec
Paper Width : 80 mm
Max Power : Level 1
Knife : Enabled
Partial Cut : 135 steps
Paper Low Sensor : Enabled
No Paper Low Extension
Comm. Interface
Interface : USB
RX Buer Size : 4096
USB Driver Type : Printer Class
Interface : RS232
RX Buer Size : 4096
Parameters
Baud Rate : 115200
Data Bits : 8
Stop Bit : 1
Parity : NONE
Flow Control : DTR/DSR
Reception Errors : Ignore
Resident Code Pages : 437, 720, 737, 775, 850
852, 857, 858, 860, 862...
Press Feed Button Within the
Next Two Seconds
***To Enter Printer Cong Menu***
Chapter 2: Printer Status and Indicators4
HP Hybrid POS Printer with MICR II Programming Guide
Indicators
The printer communicates various conditions both visually, with two green lights or audibly, with a series of tones or
beeps. The following table lists these indicators.
Green on-line, paper status, error light (to the rear of the paper feed button)
Indicator Sequence Condition
Light Continuous, blinking on Paper out
Cover open
Knifeunabletohome
Light Continuous, blinking o Paper is low
Printhead too hot
Voltages low/high
Light Continuous, Double LED ash Write to permanent memory in progress
Light Continuous, quick blinking Invalid rmware
(on power up)
Light Continuous, slow blinking Power supply and max power setting don’t match
Tone Two-tone beep Start-up diagnostics completed successfully
(low frequency, high frequency)
Light Two-Tone beep When entering ash download mode*
and Tone (high frequency, low frequency)
Continuous, quick blinking of LED
Green slip-in light (in front of the paper feed button)
Indicator Sequence Condition
Light O No check or form inserted or is incorrectly inserted
Light On (continuous) Check or form properly inserted
For more information about See this section
Error conditions and Troubleshooting
correcting them
The printer is also able to communicate its status to the host application if the application has been programmed to receive
this information.
Chapter 3: Emulation
Programming Guide HP Hybrid POS Printer with MICR II
5
Chapter 3: Emulation
A776II Emulation Commands
Set Printer ID Mode
Code (Hexadecimal)
1F 03 0C n
This command is ignored.
Set A776II Printer ID
Code (Hexadecimal)
1F 03 25 0F n
This command sets the printer ID response to the Printer ID command (1D 49 01)
n Printer ID
00 A776II
01 A760
A776II Conguration Commands
Select Slip Lines per Inch
Code (Hexadecimal)
1F 03 25 04 n
This command sets the slip station lines per inch setting.
n Line spacing
00 7.2 LPI
01 6.0 LPI
Select Number of Lines of Validation
Code (Hexadecimal)
1F 03 25 06 n
This command sets the number of lines of validation that can be printed.
n Number of validation lines
00 15
01-04 4 (default)
05-0F actual number (5 - 15 decimal)
Chapter 3: Emulation6
HP Hybrid POS Printer with MICR II Programming Guide
Select A776II Narrow Slip Conguration Option to Ignore n Leading Spaces
Code (Hexadecimal)
1F 03 25 08 n
This command is available so A760 applications can ignore n leading spaces in a 42-column line of text.
Range of n
0x00 < n < 0x20 hexadecimal
0 < n < 3 2 decimal
• n = 24 decimal is equivalent to printing the rightmost 42 columns of the A760 printzone (24 + 42 = 66).
• The rst non-space in columns 1-n will stop ignoring leading spaces.
• Text over 42 columns will wrap to the next line.
• Tab (0x09), set column (0x1B 0x14 n), set absolute position (0x1b 0x24 nL nH), and set relative position (0x1B 0x5C nL nH)
commands are handled within the range of ignored leading spaces.
Select A776II Narrow Slip Conguration Option to Ignore n Leading Spaces
Code (Hexadecimal)
1F 03 25 09 n
This command is available so A760 applications can ignore n leading spaces in a 51-column line of compressed text.
Range of n
0x00 < n < 0x20 hexadecimal
0 < n < 32 decimal
• n = 29 decimal is equivalent to printing the rightmost 51 compressed columns of the A760 printzone
(29 + 51 = 80).
• The rst non-space in columns 1-n will stop ignoring leading spaces.
• Text over 51 columns will wrap to the next line.
• Tab (0x09), set column (0x1B 0x14 n), set absolute position (0x1b 0x24 nL nH), and set relative position
(0x1B 0x5C nL nH) commands are handled within the range of ignored leading spaces.
Select A776II Narrow Slip 51-column Compressed Print Option
Code (Hexadecimal)
1F 03 25 0A n
When enabled, all normal text is printed in 51-column compressed print.
• This accommodates existing applications printing up to 51 columns on the slip station.
• The format will not match the A760 exactly.
• This will not aect rotated print mode (see below).
n 51-column compressed print option
00 Disable (default)
01 Enable
Chapter 3: Emulation
Programming Guide HP Hybrid POS Printer with MICR II
7
Select A776II Delete Slip Trailing Spaces Option
Code (Hexadecimal)
1F 03 25 0B n
When enabled, all trailing spaces on the slip will be deleted.
• This accommodates existing applications that send trailing spaces to the slip by not wrapping the blank text to the
next line.
• The format will match the A760 exactly, but a narrower form will be required.
• This command will not work for an application that relies on wrapping text to print a line. A print command
is required.
n Delete slip trailing spaces option
00 Disable (default)
01 Enable
Select A776II (21 and 25-line) Rotated Slip Print Options
Code (Hexadecimal)
1F 03 25 0C n
• 21-line rotated text print accommodates existing applications, which print 21 or fewer rotated lines (as read). The format
will match the A760 exactly.
• 25-line rotated text print accommodates existing applications, which print between 22 and 25 rotated lines (as read). The
format will not match the A760 exactly.
• An A760 can print up to 33 rotated lines (as read), so those printing 26 or higher rotated lines, cannot be emulated on the
A776II printer.
n Rotated Print Options
00 21-line (default)
01 25-line
Select A776II First Line of Print Option in Text and Page Mode
Code (Hexadecimal)
1F 03 25 0D n
• The A760 mechanism has a positive slip stop for positioning a form at its top right corner. Some applica- tions rely on a
form inserted to this slip stop in order to print on specic areas of the form. When the top right corner of the form is po-
sitioned at the slip stop, the rst print line is 0.7” below the top of form. Some applications rely on the operator manually
positioning a form in order to print on specic areas of the form. The A760 rmware does not automatically reposition an
inserted form.
• The A776II slip stop distance option is triggered at the slip selection command (0x1B 0x63 0x30 0x04) and positions an
inserted form prior to print so that the rst line of print will match an A760.
• There is a temporary run time command to override this conguration option:
1F 7E 01 00 operator positioning for rst print line
1F 7E 01 01 position form to A760 slip stop distance for rst print line
1F 7E 01 02 position form to top of form for rst print line
n First Line of Text Beginning of Page Mode Print
00 Operator position Top of form
01 A760 Slip stop Top of form (default)
02 Top of form Top of form
03 A760 Slip stop A760 Slip stop
Chapter 3: Emulation8
HP Hybrid POS Printer with MICR II Programming Guide
Select Cover Open Option
Code (Hexadecimal)
1F 03 25 11 n
• When the cassette cover open option is enabled and the operator opens the cassette cover, the printer will stop printing
and enter an error state.
• When the option is disabled, the printer will ignore the state of the cassette cover.
n Cassette Cover Option
00 Disabled
01 Enabled (default)
Set Page Mode Margin Mechanical Adjustment
Code (Hexadecimal)
1F 03 25 16 n
• This command is primarily implemented for printers replacing existing A721 printers to match cashier
check printing.
• Default is 0.
• Value is printed on the second diagnostic page.
• Ranges for margin congurations:
Margin Setting Maximum mechanical adjustment
.5” 30 half dots
.3” 56 half dots
.1” 84 half dots
• Mechanical adjustment does not apply when page size is dened to be greater than the default of 200 full
dots wide.
Select A776II Slip Eject Option
Code (Hexadecimal)
1F 03 25 17 n
n Slip Eject
00 disabled
01 enabled (default)
• When enabled, the A776II will eject slip and validation transactions out the top of the printer. The slip LED will blink to
remove the form.
• Option can be disabled for applications that rely on the A760 slip eject out the bottom front position.
Select 45/60 Column Slip Option
Code (Hexadecimal)
1F 03 25 18 n
n 45/60 Column Slip Option
00 disabled (default)
01 enabled
Chapter 3: Emulation
Programming Guide HP Hybrid POS Printer with MICR II
9
Set Page Mode Option to Trim Full Dots
Code (Hexadecimal)
1F 03 2F n
n < 128 # of full dots trimmed from right side
n = 255 compress to t in 3.024”
• This command is primarily implemented for applications specifying a page size greater than 242 full dots wide.
• Default is no trim.
• Maximum width that can be compressed to t in 3.024” is 270 full dots.
• Value is printed on second diagnostic page.
A776II Congurable Slip Commands
A776II Double High Slip Character Print
Code (Hexadecimal) Command
1F 03 26 01 n Enables or disables the 1B 21 10 command
n Double high slip character print command (1B 21 10)
00 Disabled
01 Enabled
A776II Slip Character Spacing
Code (Hexadecimal) Command
1F 03 26 02 n Enables or disables the 1B 20 n command
n Slip character right side spacing command (1B 20 n)
00 Disabled
01 Enabled
A776II Slip Minimum Units
Code (Hexadecimal) Command
1F 03 26 03 n Enables or disables the 1D 50 x y command
n Set minimum units for the slip station command (1D 50 x y)
00 Disabled
01 Enabled
A776II Slip Left Margin and Print Width
Code (Hexadecimal) Command
1F 03 26 04 n Enables or disables the 1D 4C nL nH and 1D 57 nL nH commands
n Set left margin(1D 4C nL nH) and print width(1D 57 nL nH) on the slip station commands
00 Disabled
01 Enabled
A776II Slip Print Justication
Code (Hexadecimal) Command
1F 03 26 05 n Enables or disables the 1B 61 n command
n Print justication on the slip station command(1B 61 n)
00 Disabled
01 Enabled
Chapter 4: Programming the Printer10
HP Hybrid POS Printer with MICR II Programming Guide
Chapter 4: Programming the Printer
Overview of Printing Characteristics
Commands control all operations and functions of the printer. This includes selecting the size and placement of
characters and graphics on the receipt or the slip and feeding and cutting the paper. The programming commands
have been organized, in order of hexadecimal code within functional groups. For this reason, “related” commands may
not be listed adjacent to one another.
The A776II standard command set allows it to work with software written for HP or other POS compliant printers.
Any of the commands may be used in any combination to program a host computer to communicate with the printer
(unless otherwise noted).
Some commands listed and described here may not be implemented and are identied as “not implemented.
If received, they are ignored and not sent to the print buer as data.
Any non-legal commands have their parameter sent to the print buer as data.
Chapter 4: Programming the Printer 11
Programming Guide HP Hybrid POS Printer with MICR II
Character Appearance
The appearance of text can be changed using the following print modes:
• Standard • Underlined
• Compressed • Bold
• Double-high • Reverse
• Double-wide • Italic
• Upside-down • Strike-through
• Rotated • Scaled
• Shading
Receipt character specication
Standard
• Charactersperinch:15.6
• Charactersperline:44
• Cellsize:13x24dots(defaultfont)
13 x 27 dots (Tall and ColorPOS fonts)
13 x 18 dots (paper-saving font)
Compressed
• Charactersperinch:20.3
• Charactersperline:56
• CellSize:10x24dots(defaultfont)
10 x 27 dots (Tall and ColorPOS fonts)
10 x 18 dots (paper-saving font)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193

HP Hybrid POS Printer with MICR II User guide

Category
Print & Scan
Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI