background image

Содержание A776 ColorPOS

Страница 1: ...Programming Guide A776 B780 Two Color Thermal Impact Hybrid Printer Includes CognitiveTPG LogoEZ colorization utility and Receiptware marketing software information...

Страница 2: ...mmunication Interface Cable A shielded 360 degree interface cable must be used with this product The shield must be connected to the frame or earth ground connection or earth ground reference at EACH...

Страница 3: ...Number of Lines of Validation 8 Select A776 Narrow Slip Configuration Option to Ignore n Leading Spaces 8 Select A776 Narrow Slip Configuration Option to Ignore n Leading Spaces 9 Select A776 Narrow S...

Страница 4: ...Chapter 5 Programming Commands 19 Commands listed by function 19 Printer actions 19 Print and paper feed 20 Vertical and horizontal positioning 20 Text characteristics 20 Graphics 21 Status 22 Batch m...

Страница 5: ...pe ColorPOS 33 Select receipt station 33 Set Interpretation of Set current color 33 Print test form 34 Print and paper feed 34 Print and feed paper one line 34 Print and eject slip 34 Print and carria...

Страница 6: ...haracter code table 49 Select or cancel 90 degree clockwise rotated print 50 Select or cancel upside down print mode 50 Select character size 50 Select or cancel white black reverse print mode 51 Set...

Страница 7: ...buffer as logo ColorPOS 66 Background logo print mode ColorPOS 67 Apply margin message mode ColorPOS 67 Shade and store logo ColorPOS 68 Logo print with knife cut 68 Set temporary max target speed 68...

Страница 8: ...SS data length specified 99 Note Data length specified 1 to 2436 via integer nH nL 99 Print GS1 DataBar formerly RSS null terminated 100 Print multiple barcodes 100 Select PDF 417 parameters 101 Selec...

Страница 9: ...defined character set 121 Select flash area for storing logos and user defined characters 122 Erase user flash sector 122 User storage status ColorPOS 123 Lock permanent font flash area 124 Flash down...

Страница 10: ...idation 134 Receipt Journal Print 134 Document Clamp Close 135 Form Eject 135 Download 135 Form In 135 Select 135 Either Form In Sensor 135 Both Form In Sensors 135 Busy Until Buffer Empty 135 Clamp D...

Страница 11: ...ngual 149 Code Page 852 Slavic 150 Code Page 857 Turkish 151 Code page 858 with Eurosymbol 152 Code page 860 Portugese 153 Code page 862 Hebrew 154 Code page 863 French Canadian 155 Code page 865 Nord...

Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...

Страница 13: ...Guide handy for reference or are already familiar with the printer Where to find advanced technical information This guide contains the most complete information available on programming the printer I...

Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...

Страница 15: ...hardware reset it automatically performs the startup diagnostics also known as level 0 diagnostics during the startup cycle The following diagnostics are performed Turn off motors and solenoids Perfo...

Страница 16: ...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 A776 B780...

Страница 17: ...essfully Repeating Tone Single beep Boot CRC test failure Repeating Tone Double beep SRAM test failure Repeating Tone Triple beep EEPROM test failure Repeating Tone Four beeps Dynamic memory initializ...

Страница 18: ...e customer This section is provided for those customers who would like to migrate from their existing A760 CognitiveTPG printers to the A776 printer while maintaining as much continuity as possible in...

Страница 19: ...aces There should be no changes required to the application but a new form will be required 4 For applications using wide forms that print on more than 51 columns the data will wrap to the next line I...

Страница 20: ...76 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 A776 01 A760 Select A776 Narrow Slip Configuration Option to I...

Страница 21: ...ading spaces Select A776 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 a...

Страница 22: ...ow the top of form Some applications rely on the operator manually positioning a form in order to print on specific areas of the form The A760 firmware does not automatically reposition an inserted fo...

Страница 23: ...03 25 17 n n Slip Eject 00 disabled 01 enabled default When enabled the A776 will eject slip and validation transactions out the top of the printer like the B780 The slip LED will blink to remove the...

Страница 24: ...mand 1B 20 n 00 Disabled 01 Enabled A776 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...

Страница 25: ...elated commands may not be listed adjacent to one another The A776 B780 standard command set allows it to work with software written for CognitiveTPG or other POS compliant printers Any of the command...

Страница 26: ...rse Double wide Italic Upside down Strike through Rotated Scaled Shading Receipt character specification Standard Characters per inch 15 6 Characters per line 44 Cell size 13 x 24 dots default font 13...

Страница 27: ...margin to knife cut 2 0 mm 079 inches 19 0 mm 0 75 inches Note The application centers 44 standard character cells 13 24 dots or 56 compressed character cells 10 24 dots or 576 addressable bits of gra...

Страница 28: ...columns per line Compressed pitch 51 characters columns per line 21 rotated characters 210 adjacent bits of graphics 420 addressable positions The print line height of 7x7 dot characters is 2 46mm 097...

Страница 29: ...6 has drop validation printing The location of the first line of validation varies based on the table below Number of lines of validation 7 2 lpi Distance from bottom of form to top of first print lin...

Страница 30: ...ve Unintended consequences may result when rotated clockwise is mixed with other commands The samples of the print show only the normal size characters Double wide and double high characters are print...

Страница 31: ...eceipt or slip for printing slip for MICR read 39 1B 63 31 n Select receipt or slip for setting line spacing 39 1B 63 33 n Select paper sensors to output paper end signals parallel only 39 1B 63 34 n...

Страница 32: ...l tab 47 1B 14 n Set column 48 1B 24 nL nH Set absolute starting position 48 1B 32 Set vertical line spacing to 1 6 inch 48 1B 33 n Set vertical line spacing 49 1B 44 n k 00 Set horizontal tab positio...

Страница 33: ...strike through mode 63 1D F0 01 n Select font ID number 62 1D F0 02 n Select font style number 63 1D F0 03 Save font ID number as default font at power up 64 1D F0 80 Download font 64 1D F0 C0 02 Dow...

Страница 34: ...t 76 1D A0 nl nh Set temporary max target speed 76 1F 03 16 f s p r t Set LogoEZ colorization 77 1F 03 17 a m s Set LogoEZ attribute mapping 79 1F 04 n Convert 6 dots mm bitmap to 8 dots mm bitmap 81...

Страница 35: ...code 100 or 1D 6B m n d1 dn 1D 6B m nL nH d1 dn Print GS1 DataBar formerly RSS data length specified 103 1D 6B n d1 00 Print GS1 Databar formerly RSS null terminated 103 1D 6B FF n Print multiple bar...

Страница 36: ...o non volatile memory NVRAM 122 1D 22 n Select memory type SRAM flash 122 1D 22 55 n1 n2 Flash memory user sectors allocation 123 1D 22 80 Expanded flash memory allocation 123 1D 22 81 n Select flash...

Страница 37: ...ode 126 1F 08 00 Restore default settings 129 1F 08 01 n1 n2 n3 n4 Set IP address 129 1F 08 02 n1 n2 n3 n4 Set net mask 129 1F 08 03 n1 n2 n3 n4 Set gateway 130 1F 08 04 n1 n2 n3 n4 Set raw TCPIP port...

Страница 38: ...t information Command descriptions Printer actions The printer function commands control the following basic printer functions and are described in order of their hexadecimal codes Station select Plat...

Страница 39: ...is already open This command is processed regardless of which station is selected Perform partial knife cut ASCII SUB ESC m Hexadecimal 1A 1B 6D Decimal 26 27 109 Partially cuts the receipt leaving 5...

Страница 40: ...37 Printing position Column One Clears the print line buffer and resets the printer to the default settings for the start up configuration refer to Default settings above Single wide single high non r...

Страница 41: ...configurable using the configuration menu and the wait time appears on the Diagnostic menu printout Exceptions Receiving the command discards unprinted data in the buffer forcing a beginning of line s...

Страница 42: ...tton If the last bit is 0 the paper feed button is enabled If the last bit is 1 the paper feed button is disabled Related information Functions that require the paper feed button except for the execut...

Страница 43: ...1B 71 Decimal 27 113 Description Releases the slip paper as follows If receipt paper was selected this command opens the platen to allow slip removal If the slip was selected the printer enters the pa...

Страница 44: ...1C 70 1C 71 logo command sequences Select cut mode and cut paper ASCII GS V m GS V m n Hexadecimal 1D 56 m 1D 56 m n Decimal 29 86 m 29 86 m n Value of m Selects the mode as shown in the table Value o...

Страница 45: ...per is inserted will result in poor print quality printing The last set paper type choice is stored in non volatile memory and is retained after a power loss and across reset commands The initial valu...

Страница 46: ...rint and return to standard mode command which is executed only when the printer is in page mode When the printer is not in page mode this command executes the print and eject slip function Exception...

Страница 47: ...lip 3 extra dot rows Adds n extra dot rows to the character height to increase space between print lines or decrease the number of lines per inch Line spacing is set for the station or stations select...

Страница 48: ...h from the trailing edge and still retain the slip in the feed rollers for reverse feeding the paper back out of the slip station Related information For more information see the description of the se...

Страница 49: ...ASCII GS NAK n Hexadecimal 1D 15 n Decimal 29 21 n Value of n n dots at 1 72 inch Range of n 0 255 A776 native mode Reverses the paper feed in the slip station by n dots at 1 72 inch CognitiveTPG 7150...

Страница 50: ...print starting position is reset to the first column after each line Formulas Determine the value of n by multiplying the column for the absolute starting position by 10 slip or receipt standard pitc...

Страница 51: ...on of the set horizontal and vertical minimum motion units command in this document In addition see Configure line spacing 1F 03 46 n Set horizontal tab positions ASCII ESC D n k NUL Hexadecimal 1B 44...

Страница 52: ...move left of the current position by 10 slip or receipt standard pitch or 8 receipt compressed pitch The example shows how to set the relative position two columns in standard pitch 10 dots per colum...

Страница 53: ...abled for the slip on A776 and enabled on B780 Formulas Sets the left margin of the printing area The left margin is set to nH X 256 nL times horizontal motion unit inches The horizontal motion units...

Страница 54: ...ting for that motion unit is used The command can be enabled or disabled for the slip Default is disabled for the slip on A776 and enabled on B780 Set printing area width ASCII GS W nL nH Hexadecimal...

Страница 55: ...acters ASCII DC2 Hexadecimal 12 Decimal 18 Prints double wide characters The printer is reset to single wide mode after a line has been printed or the clear printer 0x10 command is received Double wid...

Страница 56: ...e The units of horizontal and vertical motion are specified by the set horizontal and vertical minimum motion units 1D 50 command Changes in the horizontal or vertical units do not affect the current...

Страница 57: ...or double wide Default 00 Pitch Receipt Receipt Slip Slip Station CPI Station CPI Standard 44 15 6 42 13 9 Compressed 56 20 3 51 17 1 Related information Double high can be enabled or disabled for the...

Страница 58: ...haracters into RAM The command may be used to overwrite single characters User defined characters are available until power is turned off or the initialize printer command 1B 40 is received Any invali...

Страница 59: ...xadecimal 1B 3A 30 30 30 Decimal 27 58 48 48 48 Default Code page 437 Copies characters in the active ROM set to RAM Use this command to re initialize the user defined character set Code page 437 is c...

Страница 60: ...ed with bit images or downloaded bit images Related information This command and the select print mode s command 1B 21 function identically Select double strike ASCII ESC G n Hexadecimal 1B 47 n Decim...

Страница 61: ...852 3 Code Page 860 4 Code Page 863 5 Code Page 865 6 Code Page 858 7 Code Page 866 8 Code Page 1252 9 Code Page 862 0A Code Page 737 Greek only in A799 native mode 0B Code Page 874 available for dow...

Страница 62: ...and remains in effect until the rotated print 1B 12 command is received Only bit 0 is used Bits 1 7 are not used See summary of rotated printing in this document for more information Exceptions The co...

Страница 63: ...least significant bit LSB Range of n 0 255 Default 0 Off Turns on white black reverse print mode In white black reverse print mode print dots and non print dots are reversed which means that white ch...

Страница 64: ...used to minimize the firmware busy work The value of current color and white black reserve print mode is superseded by the value of n whenever this mode is on m 0 Bar codes logos and bit images are no...

Страница 65: ...adecimal 1D F0 02 n Decimal 29 240 2 n Value of n 0 255 Select font style number for downloaded font After selecting font style number set the horizontal and vertical character spacing for the charact...

Страница 66: ...er spacing 1B 33 n for vertical character spacing 1D F0 80 followed by character definition file shftj16 chr 1D F0 02 02 1B 20 n for horizontal character spacing 1B 33 n for vertical character spacing...

Страница 67: ...hinese font must first contact CognitiveTPG Sales Department for assistance The Thai font Code Page 874 is available for download to permanent font flash Contact CogntiveTPG for assistance The command...

Страница 68: ...ni for 1 i k ni the number of dot columns for the ith character 1 ni 16 d the dot data for the characters The number of bytes for the ith character cell is j x ni The bytes are printed down and acros...

Страница 69: ...sending data Otherwise data will be lost If an application is unable to receive data it should wait a minimum of ten seconds after sending the erase user flash sector 1D 40 n command before sending da...

Страница 70: ...r set 0 the automatic erasure if user flash memory had filled up with inactive logo 0 definitions upon next power cycle Warnings about the effect of running out of defined logo space during a download...

Страница 71: ...which the printer returns to normal processing mode See the illustration for graphic representations of the bit image on next page Print advanced raster graphics ASCII ESC m n rL rH d1 dn Hexadecimal...

Страница 72: ...logo n the first is inactivated and the new definition is used The inactive definition is not erased from flash and continues to take up space in flash memory When this command precedes a logo print...

Страница 73: ...ect the current logo Print downloaded bit image ASCII GS m Hexadecimal 1D 2F m Decimal 29 47 m Value and range of m This command is used to print a previously stored monochrome or color logo from prin...

Страница 74: ...mm paper Hexadecimal 1D 83 n1 n144 576 dots 80 mm paper n160 640 dots 82 5 mm paper Decimal 29 13 n1 n144 576 dots 80 mm paper n160 640 dots 82 5 mm paper Value and range of n n1 to n144 n160 corresp...

Страница 75: ...eded per row This is the same structure as used for the definitions of print raster monochrome graphics and print raster color graphics This command is used for storing a logo of n1 by n2 size indexed...

Страница 76: ...int with color plane swap ColorPOS ASCII GS 0x89 n m Hexadecimal 1D 89 n m Decimal 29 137 n m This command will print logo n The command is ignored if a logo with index n has not been defined If m 0 t...

Страница 77: ...ng merge state and print output is started the state will be changed to frozen and a merge process started logically OR ed graphic data into the print lines that follow The application determines how...

Страница 78: ...t of the surround graphic styles defined since the last buffer freeze event This command is ignored if the graphics buffer is not in a merge pending state The graphics buffer state will be set to froz...

Страница 79: ...ght side merge or vice versa must be issued with the latter side merge command setting the toggle switch 1 or 2 will create the desired left right printing effect Each merge side retains its n value o...

Страница 80: ...the printing of the logo the corresponding paper advance is stopped and a paper cut performed The formula n x 24 is used to determine the number of dot rows to move the paper from the start of the lo...

Страница 81: ...space before object distance p dot row past an object r repetition space distance in mm t margin message toggle mode f 0 turn off all LogoEZ colorization functions default No other parameters are requ...

Страница 82: ...sage printing Example Activate margin message printing using logo F2 1F 03 16 03 s r t with s being the skip distance r the distance between repetitions and t the toggle mode Toggle mode values for t...

Страница 83: ...t index F3h is currently defined print the logo by sending print downloaded bit image normal size 1D 2F 0 command without changing the value of current logo reset justification to previous value 1B 61...

Страница 84: ...bstitute for the mapped set Attributes substituted table m bit on attributes substituted 7 Bold substituted s bit on attributes substituted 0 Italic 1 Reverse 2 Underline 3 Double high 4 Double wide 5...

Страница 85: ...esult is undefined Related information This command is utilized in the CognitiveTPG LogoEZ utility The utility can be used to pre configure new printers with a default colorization set up without requ...

Страница 86: ...tomatically respond with a four byte status when certain conditions in the printer change Please see the subsequent sections for a more detailed description of these status commands At the end of this...

Страница 87: ...d Covered edge sensor 7 Voltage Temperature Error OK Error Status Byte B780 only Bit Function 0 Signifies 1 Signifies 0 Receipt paper OK Low only if paper low sensor is enabled 1 Receipt paper OK Low...

Страница 88: ...A760 0x2C B780 2 50 Type ID Installed options Refer to the table below 3 51 ROM version ID ROM version 0x00 4 52 Logo definition Logo definition Refer to table next column n 2 or 50 Type ID Type ID n...

Страница 89: ...mote diagnostic items are defined eight printer ID items and ten printer tally items Most of the diagnostic items are maintained in non volatile memory NVRAM but some are maintained in read only memor...

Страница 90: ...tally written 10 000 82 130 Receipt lines tally Clear receipt lines tally to 0 83 131 Receipt lines tally Return receipt lines tally preceded by n to identify Printer returns 10 bytes in above example...

Страница 91: ...ly Write to NVRAM and print on receipt to verify AA 170 Knife jams tally Clear knife jams tally to 0 AB 171 Knife jams tally Return knife jams tally returns 10 bytes AC 172 Cover openings tally 8 digi...

Страница 92: ...isable unsolicited status mode command 1D 61 the status transmitted by this command transmit status and the USM status must be differentiated according to the information found in recognizing data fro...

Страница 93: ...wers closed 1 Off 00 0 One or both cash drawers open On 02 2 Both cash drawers closed 2 Undefined 3 Undefined 4 Off 00 0 Not used Fixed to off 5 Undefined 6 Undefined 7 Off 00 0 Not used Fixed to off...

Страница 94: ...one you choose depends on the current usage of your application Preferred implementation For a new application the GS 1D sequences are recommended to avoid possible misinterpretation of a DLE 0x10 se...

Страница 95: ...lushed out When the printer is busy due to an error condition then data stops being processed to the buffer until the condition clears one way or another In either case but more quickly in the case of...

Страница 96: ...d if n is out of range An application using DLE 0 10 sequence must send EOT within 100 milliseconds of DLE or the printer will misinterpret the DLE and execute a clear printer command Avoid this possi...

Страница 97: ...condition On 20 32 Printing stopped due to paper condition 6 Off 00 0 No error condition On 40 64 Error condition exists in the printer 7 Off 00 0 Fixed to off 3 Transmit error status Bit Status Hex...

Страница 98: ...ceipt Paper exhausted 6 Off 00 0 Receipt Paper present On 40 64 Receipt Paper exhausted 7 Off 00 0 Fixed to off 5 Transmit Slip Paper Status and 6 Transmit Validation Paper Status Bit Status Hex Decim...

Страница 99: ...as paper out or printhead overheating can be recovered from only by clearing the specific condition such as loading paper or letting the printhead cool down n 2 Recovers from an error after clearing t...

Страница 100: ...oth cash drawers open On 10 16 Both cash drawers closed 5 Off 00 0 Paper present at both slip sensors On 20 32 Paper not present at one or both sensors 6 Off 00 0 No error condition On 40 64 Error con...

Страница 101: ...h hardware flow control is used all four status bytes will be transmitted without checking DSR This command is a POS version of general printer unsolicited status functions it uses the same command co...

Страница 102: ...vers closed On 20 32 Receipt or cassette cover open 6 Off 00 0 Paper feed button is not pressed On 40 64 Paper feed button is pressed 7 Off 00 0 Not used Fixed to off Second byte error information Bit...

Страница 103: ...paper exhausted 4 Off 00 0 Not used Fixed to off 5 Off 00 0 Slip leading edge sensor paper present On 20 32 Slip leading edge sensor no paper 6 Off 00 0 Slip trailing edge sensor paper present On 40...

Страница 104: ...Recognizing data from the printer An application sending various real time and non real time commands to which the printer responds can determine which command a response belongs to by the table below...

Страница 105: ...l 1D 28 6B 03 00 31 45 n 4 Store the symbol data 1D 28 6B qL qH 31 50 30 f1 fk 5 Print the symbol data 1D 28 6B 03 00 31 51 30 The details of each command are described below Note The settings for mod...

Страница 106: ...of error correction code words Set QR code data ASCII GS k qL qH 1 P 0 f1 fk Hexadecimal 1D 28 6B qL qH 31 50 30 f1 fk Decimal 29 40 107 qL qH 49 80 48 f1 fk This command stores the QR code symbol da...

Страница 107: ...Detection and Correction algorithm Pad codeword Number of bits in Character Count Indicator Mode Indicator Terminator Alignment Patterns when model 2 is selected Extension Patterns when model 1 is se...

Страница 108: ...or below the bar code Select pitch of HRI characters ASCII GS f n Hexadecimal 1D 66 n Decimal 29 102 n Value of n 0 Standard pitch at 15 2 CPI 1 Compressed pitch at 19 CPI Default 0 Not printed Selec...

Страница 109: ...h small modules select bar code width command 1D 77 n with n 1 or 2 and PDF 417 barcodes in any orientation are printed at low speed for better readability Exceptions The command is only valid at the...

Страница 110: ...47 58 Variable 41 44 start code 30 39 24 2B 2D 2E 2F 3A 72 Code 93 00 127 Variable 00 7F 73 Code 128 0 105 d1 103 105 must be a start code Variable d2 0 102 data bytes Stop code is provided by the pr...

Страница 111: ...nt width used only by GS1 DataBar Expanded default 22 must be even number 2 to 22 f word line height used only by UCC128 default 25 can be set 1 to 500 Note For GS1 DataBar commands consult ISO IEC 24...

Страница 112: ...m where m is the type of barcode Use the same command to do multiple barcodes on one line 1D 6B FF 01 begin multiple barcodes one line 1D 6B FF 00 end multiple barcodes one line print the barcodes Mul...

Страница 113: ...eters ASCII GS p a b c d e f Hexadecimal 1D 70 a b c d e f Decimal 29 112 a b c d e f Value and Ranges Value Ranges Description a b The ratio of bar height to symbol length a height limit 1 to 10 b wi...

Страница 114: ...character code words 6 Stop pattern 7 Trailing quiet zone The number of characters in a row and number of rows can be adjusted to vary the symbol s overall aspect ratio to best fit an available space...

Страница 115: ...de print on the receipt and Page Mode print on the slip 1B 40 should precede the station selection command to ensure the correct Page Mode defaults are restored for each station Page size The default...

Страница 116: ...on send 1F 03 26 06 00 or use the configuration menu What will print Slip Application Command Options Slip Page Mode Enabled To disable Page Mode on the slip station send 1F 03 21 00 or use the config...

Страница 117: ...defined by set print area in page mode 1B 57 This command switches the settings for the following commands which values can be set independently in standard mode and page mode to those for page mode...

Страница 118: ...r standard mode Set right side character spacing 1B 20 Select 1 6 inch line spacing 1B 32 Set line spacing 1B 33 Standard mode is automatically selected when power is turned on the printer is reset or...

Страница 119: ...e of x0 y0 dx and dy x0 n1 n2 256 horizontal direction of the fundamental calculation pitch y0 n3 n4 256 vertical direction of the fundamental calculation pitch dx n5 n6 256 horizontal direction of th...

Страница 120: ...minimum motion units 1D 50 command The set horizontal and vertical minimum motion units 1D 50 command can be used to change the horizontal and vertical motion unit However the value cannot be less tha...

Страница 121: ...ement is calculated only for the paper roll When pitch n is specified to the movement downward nL nH 256 n When pitch n is specified to the movement upward the negative direction use the complement of...

Страница 122: ...printer remains in the macro undefined state Formulas The contents of the macro can be defined up to 2048 bytes Exceptions If the macro definition exceeds 2048 bytes excess data is not stored Execute...

Страница 123: ...riage return 0x0D One status byte precedes the MICR characters If no parsing format is selected with either of the define parsing format commands see below all data will be returned which is the defau...

Страница 124: ...Decimal 27 119 112 Defines but does not save parsing format See parsing parameter string options in this document Send as often as desired to change the previous parse format string If no parameters a...

Страница 125: ...d be sent as A 0x27 0x41 If a carriage return is specified as a separator 0x27 0x0D a final carriage return must still terminate the parsing parameter string Country code Un One digit returned n Retur...

Страница 126: ...All characters in the transit number All characters in the account number up to 18 with spaces and dashes removed Always four characters in the check number zero filled if check number is only three...

Страница 127: ...eter will be treated as normal input data If parameters are not defined for example 1B 77 50 CR or 1B 77 70 CR parsing is not selected One status byte followed by all decoded MICR characters will be r...

Страница 128: ...n the parsing parameter string options no check serial number will be returned If it is imbedded within the account number field it will be returned as part of that variable length field Exceptions So...

Страница 129: ...haracter type The characters can be marked in three ways check serial character account character or skip this character or symbol The five low order bits of each byte contain the number of characters...

Страница 130: ...lly a four digit check serial The final character to skip need not be encoded These would be bitwise encoded as 1 0 0 0 0 1 0 0 skip four characters 0 1 0 0 0 1 1 1 account seven characters 1 0 0 0 0...

Страница 131: ...user data storage ASCII ESC 4 m a0 a1 a2 Hexadecimal 1B 34 m a0 a1 a2 Decimal 27 52 m a0 a1 a2 Value of m 0 255 Reads m bytes of data from the user data storage flash page at the address specified Ret...

Страница 132: ...ned characters defined following this command are stored in flash memory A user defined character cannot be redefined in flash memory The flash memory page must be erased by an application before rede...

Страница 133: ...a character k data Decimal 31 38 s c1 c2 character 1 data character k data Values and ranges s the number of dot rows in the character cell maximum 64 c the ASCII codes of the first c1 and last c2 cha...

Страница 134: ...racter set definitions are erased and must be redefined n 50 ASCII n 2 HEX 32 This command erases all sectors available for user data storage n 51 ASCII n 3 HEX 33 This command erases all sectors avai...

Страница 135: ...cter sets are identified by integer extending the existing code page selection as enumerated in the select international character set select character code table command The firmware standard list is...

Страница 136: ...eration either the operator must turn the power off and then on to reboot or the application must send a command to cancel download mode and reboot DIP switch 1 must in UP position during reboot to re...

Страница 137: ...nload ASCII GS STX nn Hexadecimal 1D 02 nn Decimal 29 2 nn Value of n The flash sector to which the next download operation applies Range of n 0 Selects the flash sector n for which the next download...

Страница 138: ...uccessful Exceptions Available only in download mode Return main program flash CRC ASCII GS SI Hexadecimal 1D 0F Decimal 29 15 Returns the CRC calculated over the flash firmware code space The format...

Страница 139: ...4K The count must always be 256 The printer may return one of several responses ACK means that the data was written correctly and the host should transmit the next block NAK means that for some reason...

Страница 140: ...LP Daemon disabled Bootp disabled DHCP enabled Inactivity timeout enabled Keep alive pings disabled Set IP address ASCII US BS SOH n1 n2 n3 n4 Hexadecimal 1F 08 01 n1 n2 n3 n4 Decimal 31 8 1 n1 n2 n3...

Страница 141: ...elnet Daemon ASCII US BS ACK n1 Hexadecimal 1F 08 06 n1 Decimal 31 8 6 n1 n1 0 disabled n1 1 enabled Default enabled Enables or disables the printer Telnet server The Telnet server listens on port 23...

Страница 142: ...I US BS HT n1 Hexadecimal 1F 08 09 n1 Decimal 31 8 9 n1 n1 0 disabled n1 1 enabled Default enabled Enables or disables resetting of open TCP ports after five 5 minutes inactivity Keep alive pings ASCI...

Страница 143: ...n 148 1B 1A 1B 5A Receipt Journal Print 148 1B 1C Document Clamp Close 149 1b 1d Graphics 5 Dot 153 1b 21 Character Set 151 1B 41 Form Eject 149 1B 42 75 Download Not Implemented 149 1b 43 Underline P...

Страница 144: ...Both Form In Sensors Not Implemented 149 1B 4B Busy Until Buffer Empty 149 1B 4C Clamp Delay 149 1b 50 Pitch Selection 152 1b 52 Upside Down Off 152 1B 53 Print Speed Not Implemented 150 1b 55 Upside...

Страница 145: ...ands performed Hexadecimal Decimal ASCII 03 3 ETX Line Feed Prints the data in the buffer and feeds the paper one line The height of the line is determined by the internal DIP switch settings or by th...

Страница 146: ...be opened Hexadecimal Decimal ASCII 1B 08 27 8 ESC BS Document Clamp Open Opens the platen Any forms still in the printer may fall back into the validation station when the platen is opened This comm...

Страница 147: ...d and is ignored if received Hexadecimal Decimal ASCII 1B 47 27 71 ESC G Either Form In Sensor This command is not supported and is ignored if received Hexadecimal Decimal ASCII 1B 49 27 73 ESC I Both...

Страница 148: ...imes Hexadecimal Decimal ASCII Value of c Value of n 1F c n n n 1F 31 c n n n 31 US c n n n US Control Code 30 39 Hexadecimal or Character 48 57 Decimal 0 9 ASCII To send 101 Line Feed commands send t...

Страница 149: ...33 n ESC n See table Value of n Hexadecimal Decimal ASCII Character Set 41 65 A PC US Code Page 437 42 66 B United Kingdom English 43 67 C German 44 68 D French 49 73 I Italian 4B 75 K Spanish 4C 76 L...

Страница 150: ...Pitch Selection Selects the character pitch The standard pitch on the receipt is 44 characters per line and compressed pitch is 56 characters per line On the slip the number of characters per line is...

Страница 151: ...bits define which dots in the cell bit 0 is the least significant bit bit 7 is the most significant bit Bit Number 7 6 5 4 3 2 1 1st Byte o o o o o o o 2nd Byte o o o o o o o 3rd Byte o o o o o o o 4t...

Страница 152: ...al code Status 3 Bit Transmits the status of the paper sensors and the condition of the printer This command is processed immediately Hexadecimal Decimal ASCII 05 03 5 3 ENQ ETX The transmitted status...

Страница 153: ...2 Select double wide characters 53 13 Select single wide characters 53 14 n Feed n print lines 44 15 n Feed n dot rows 45 16 n Add n extra dot rows 45 17 Print 46 18 Cancel print data in page mode 108...

Страница 154: ...6 1B 4B n Print and reverse feed paper 46 1B 4C Select page mode 109 1B 52 n Select international character set 59 1B 53 Select standard mode 110 1B 54 n Select print direction in page mode 110 1B 55...

Страница 155: ...tion 42 1C 70 m n Print flash logo 68 1C 71 n Define flash logos 68 1D 00 Return boot sector firmware part number 127 1D 01 Return segment number status of flash memory 127 1D 02 n Select flash memory...

Страница 156: ...ect cut mode and cut paper or code 1D 56 m 42 1D 57 nL nH Set printing area width 52 1D 5C nL nH Set relative vertical print position in page mode 112 1D 5E r t m Execute macro 113 1D 61 n Select or c...

Страница 157: ...e Format Properties 133 1D B4 nL nH t0 tm Define Update Application Tag Values 135 1D B6 Attach Scan Application Tags 136 1D B7 Return Integer Status 136 1D B8 m p r Wait for Scan Optionally Transmit...

Страница 158: ...et IP address 129 1F 08 02 n1 n2 n3 n4 Set net mask 129 1F 08 03 n1 n2 n3 n4 Set gateway 130 1F 08 04 n1 n2 n3 n4 Set raw TCPIP port 130 1F 08 05 n1 LP Daemon 130 1F 08 06 n1 Telnet Daemon 130 1F 08 0...

Страница 159: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 147 Appendix B Resident Character Sets Code Page 437 US...

Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...

Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...

Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...

Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...

Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...

Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...

Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...

Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...

Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...

Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...

Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...

Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...

Страница 172: ...Code page 1255 Hebrew...

Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...

Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...

Страница 175: ...e configured to power up in Auto Journal Mode using command 1F 03 18 01 n Any combination of print stations can be configured This configuration is saved over power cycle The electronic journal config...

Страница 176: ...cate n1 sectors to logos n2 sectors to user storage and X n1 n2 sectors for the journal flash buffer If all available sectors are allocated for logos and user storage there is no flash available for t...

Страница 177: ...Printer goes busy at the communication interface while the flash is being erased Application should not send any further data or commands until printer goes not busy at the communication interface Pr...

Страница 178: ...000 n2 0x100 n3 n1 65 536 n2 256 n3 decimal Journal flash buffer used m1 0x10000 m2 0x100 m3 m1 65 536 m2 256 m3 decimal Journal flash buffer total size corresponds directly to this line on the diagno...

Страница 179: ......

Страница 180: ...A776 PG00001 Rev D 07 2013...

Отзывы: