background image

IBM 4610 SureMark Fiscal Printer

Turkey - Models GR3/GR5/GB3/GB5

Programming Guide Supplement

Version 21 01

Document Number (FTU90N21-PDF)

Owner: Alejandra Cartamil

Copy Printed: January 7, 2005 at 12:24 p.m.

CURRENCY STATEMENT

This  version of the document was printed from an on-line system and must only be used for reference
purposes. The official copy of this document is the on-line version. Please preserve the integrity of the
documentation by destroying any obsolete versions and by not removing any pages from this printed
copy. A comment form is provided at the end of the document for your suggestions on the document
content and format.

 — Page 1 of 183

Summary of Contents for 4610 SureMark GR3

Page 1: ...version of the document was printed from an on line system and must only be used for reference purposes The official copy of this document is the on line version Please preserve the integrity of the d...

Page 2: ...LENG with the Filename and Filetype of FTU90N21 P D F Follow the Product Project Document Storage ALLENG Procedure as defined in the G84 Department Operating Manual DOM to view copy this document Qual...

Page 3: ...nt corresponds to microcode EC level 18 I v17 01 I Aug 8 2004 I Commands I 18 cmd Set Fiscal Mode calculation and rules were added I 19 cmd Currency Management rules were added I D5 cmd Payment paymen...

Page 4: ...or new Lira was added Fiscal Memory Report for old Lira was changed for new Lira was added This version of Programming Guide Supplement corresponds to microcode EC level 13 v10 01 May 19 02 There are...

Page 5: ...were changed Msg s 108 109 110 111 and 112 were added The accumulators Tra_Pay_Type_0 Tra_Pay_Type_1 Tra_Pay_Type_2 Tra_Pay_Type_3 Tra_Pay_Type_4 Tra_Payment Day_Pay_Type_0 Day_Pay_Type_1 Day_Pay_Type...

Page 6: ...rint Line on DI Station was changed EC cmd Line Feed in DI station the line feed is portrait only EE cmd Cut Customer Receipt cmd extension 00 was added ED cmd Ready Document cmd extension 01 was adde...

Page 7: ...cal Accounting Variables and Command Reference 31 4 1 Definition of Accounting Variables 31 4 1 1 Definition of Transaction Accumulators 32 4 1 2 Definition of Transaction Counters 33 4 1 3 Definition...

Page 8: ...1 8 2 Set Header Rules 54 5 2 Utility Commands 55 5 2 1 19 CURRENCY MANAGEMENT 56 5 2 1 1 Command Format 56 5 2 1 2 Currency Management Rules 56 5 2 2 DA ELECTRONIC READ FISCAL MEMORY TABLES 58 5 2 2...

Page 9: ...ic Receipt in Progress Commands 94 5 6 1 E0 PRINT FISCAL RETURN AND DIPLOMATIC RECEIPT 95 5 6 1 1 Command Format 95 5 6 2 E3 END FISCAL RETURN AND DIPLOMATIC RECEIPT 96 5 6 2 1 Command Format 96 5 6 2...

Page 10: ...5 10 3 3 Fiscal Memory Report Rules 122 5 10 4 DD START APPLICATION ORIGINATED REPORT 124 5 10 4 1 Command Format 124 5 10 5 DE END APPLICATION ORIGINATED REPORT 125 5 10 5 1 Command Format 125 5 10...

Page 11: ...N DIAGNOSTICS 151 5 12 5 1 Command Format 151 5 12 6 FC REPORT MICROCODE EC 152 5 12 6 1 Command Format 152 5 12 7 FF DUMP RAM FISCAL MEMORY 153 5 12 7 1 Command Format 153 5 12 7 2 Command Format 153...

Page 12: ...Page 12 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...

Page 13: ...scal Unit Status GR3 GR5 Models Part 2 of 2 20 3 Printer and Fiscal Unit Status GB3 GB5 Models Part 1 of 3 22 4 Printer and Fiscal Unit Status GB3 GB5 Models Part 2 of 3 23 5 Printer and Fiscal Unit S...

Page 14: ...Page 14 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...

Page 15: ...racter sets RS 485 communication interfaces only GR3 and GR5 models USB communication interfaces only GB3 and GB5 models Barcode printing capability all stations PDF417 barcode generation CR and SJ st...

Page 16: ...r non volatile memory The fiscal processor logic board has 32K bytes of static RAM and a time of day clock module both backed up by a 10 year lithium battery A fixed pattern in the memory is checked e...

Page 17: ...rn A5 in address 82 hexa in the fiscal memory to be able to detect the eprom connection It is read for all fiscal commands If it isn t found the fiscal microcode returns the error code 109 1 2 5 Fisca...

Page 18: ...Page 18 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...

Page 19: ...hen the micr is present 4 RESERVED Always 0 n a 5 HOME ERROR 3 1 6 DOCUMENT ERROR 3 2 The document not inserted after document station was selected and the wait timed out 7 MSB COMMAND REJECT 1 PRINTE...

Page 20: ...ontains the microcode EC 4 PLD This bit is set at IPL time to indicate that a command was in execution during PLD and that all modifications caused by the suspended command have been deleted 5 ASYNCHR...

Page 21: ...Name Turkey Models GR3 GR5 Version Code hardware model 02 4610 SureMark RS 485 Protocol SIO Cable RS 485 Country Code 02 Version Code Country Code Hexadecimal 22 Decimal 34 Fiscal Microcode EC Level 2...

Page 22: ...CR station is out of paper 7 MSB COMMAND REJECT 1 PRINTER UNIT STATUS 0 LSB DOCUMENT READY Set to 0 when the DI station is ready for printing This occurs when both document sensors are made and the d...

Page 23: ...3 MCT READ Set to 1 when responding to a MCT read command 4 USER FLASH READ Set to 1 when responding to a user flash read command 5 Reserved Always 1 6 SJ COVER OPEN Set to 1 when the cover in SJ sta...

Page 24: ...IONAL DATA AND COUNTRY VERSION 0 4 VERSION CODE hardware model 4610 SureMark GB3 GB5 USB x04 04 5 6 RESERVED 7 ADDITIONAL DATA Note 2 12 FISCAL MICROCODE EC LEVEL 13 FISCAL UNIT RETURN CODE Note 3 14...

Page 25: ...try Code Definitions Country Name Turkey Models GB3 GB5 Version Code hardware model 04 4610 SureMark USB Protocol USB Cable USB Country Code 02 Fiscal Microcode EC Level 21 Printer and Fiscal Unit Sta...

Page 26: ...Page 26 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...

Page 27: ...ceipt amount and generate return receipt document Record diplomatic receipt amount and generate diplomatic receipt document Record waybill receipt amount and generate waywill receipt document Print X...

Page 28: ...are items that are discounted by means of a coupon or promotional sale Discount is the reduction of the item price negative item or the reduction of a part of a sales transaction item discount or the...

Page 29: ...sent to the printer 1B Serialize Fiscal Printer 18 Set Fiscal Mode 19 Set Currency Thousand Separator C4 Fiscal Parameter Configuration 07 Cancel Transaction D2 Item Sale D3 Negative Item Sale D4 Subt...

Page 30: ...Page 30 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...

Page 31: ...in this section Note In all of the commands bit 7 is the most significant bit and bit 0 is the least significant bit 4 1 Definition of Accounting Variables The following variables are defined in this...

Page 32: ...tion bonus total 0 549755813887 Tra_Disc_v vv Transaction discounts total by TAX category 0 549755813887 Tra_Disc Transaction discounts total 0 549755813887 Tra_Empt_v vv Transaction empties total by...

Page 33: ...m Range Maximum Range Tra_N_Void Number of voided items 0 65535 Tra_N_Disc Number of discounted items 0 65535 Tra_N_Bonu Number of bonus items 0 65535 Tra_N_Empt Number of empties items 0 65535 Tra_N_...

Page 34: ...ay_Type_1 Daily payment credit card total 0 140737488355327 Day_Pay_Type_2 Daily payment check card total 0 140737488355327 Day_Pay_Type_3 Daily payment currency total 0 140737488355327 Day_Pay_Type_4...

Page 35: ...0 65535 Day_N_Bonu Number of bonus items 0 65535 Day_N_Empt Number of empties items 0 65535 Day_N_Tdsc Number of discounts on subtotal 0 65535 Day_N_Tupl Number of uplifts on subtotal 0 65535 Day_N_C...

Page 36: ...744 073 709 600 000 8 bytes unsigned Lif_Tot_NL Lifetime Total new Lira 0 18 446 744 073 709 600 000 8 bytes unsigned Lif_VATC_NL Lifetime VAT total new Lira 0 18 446 744 073 709 600 000 8 bytes unsi...

Page 37: ...attery condition 4 2 2 J4 CE Jumper Procedure The activate jumper procedure consists in Turn OFF the Fiscal Printer Put J4 CE jumper in ON ACTIVE position Turn ON the Fiscal Printer The deactivate jum...

Page 38: ...iscal Memory DA Electronic Read Fiscal Memory Tables DB Electronic Read Counters and Accumulators The RAM pattern is initialized after all the other initialization has been completed This process can...

Page 39: ...SET DISPLAY SENSING DEFINITION Optional Execute Set Display Sensing Definition 1B66 C402 5 SET DISPLAY ADDRESS Execute Set Display Address 1B66 1A00 6 SET HEADERS Minimum 1 Maximum 5 Execute Set Heade...

Page 40: ...artment Name 1B66 2204 Execute Set Department Name 1B66 2205 Execute Set Department Name 1B66 2206 Execute Set Department Name 1B66 2207 Execute Set Department Name 1B66 2208 Execute Set Department Na...

Page 41: ...Close Sale Period Z Report The following non fiscal reports can be issued Fiscal Receipt Return Receipt Diplomatic Receipt Waybill Receipt Credit Card Check Slips Summary Fiscal Report X Report Appli...

Page 42: ...ns are printed in customer receipt and summary journal stations 01 Print Store Header D2 Item Sale D3 Negative Item Sale Voids Bonus Discounts Empties D4 Subtotal Total Transaction D5 Payment D8 Not P...

Page 43: ...Document Eject F4 Head Position and Open Close Throat 4 5 9 Utilities DA Electronic Read Fiscal Memory Tables DB Electronic Read Accumulators and Counters F1 Report IPL Completion Status F9 Report Cu...

Page 44: ...Page 44 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...

Page 45: ...xtension Command extension is in byte 3 of command string It contains command options Reserved bits must be set to 0 Only exception is retry bit which is ignored by microcode on commands where it has...

Page 46: ...to have the jumper state updated Note To execute several commands which requires the jumper in active position it s necessary to execute only one IPL and then all the commands These are the initializ...

Page 47: ...3 Cmd Extension hex 1 7 0 Reserved always 0x00 4 5 Day ASCII 2 6 7 Month ASCII 2 8 11 Year ASCII 4 12 13 Hours ASCII 2 14 15 Minutes ASCII 2 16 17 Seconds ASCII 2 5 1 1 2 Set Date and Time Rules The...

Page 48: ...00 4 7 Password ASCII 4 5 1 2 2 Set Fiscal Mode Calculations If the new Lira was set the fiscal memory is updated by filling an entry in the new Lira table with the following data FM_NL_Date Current_D...

Page 49: ...irst Display Address ASCII 2 Note 1 10 11 Second Display Address ASCII 2 Note 1 2 Notes 1 Specify the ASCII representation of the hexadecimal address Example for hexadecimal address x 2A specify ASCII...

Page 50: ...6 cmd prefix hex 2 2 1B Serialize Fiscal Memory hex 1 3 Cmd Extension hex 1 7 0 Reserved always 0x00 4 5 Manufacturer_ID ASCII 2 Note 1 6 7 IBM_Manufacturing_ID ASCII 2 8 13 Serial_Number ASCII 6 Note...

Page 51: ...9 ASCII 4 32 33 Reserved ASCII 2 32 37 TAX Rate for Departament 05 10 ASCII 4 Notes 1 Tax rate is a fixed point number with 2 decimal digits Separator characters must not be included in the TAX rate s...

Page 52: ...Departament Number Note 1 4 15 Department Name ASCII 12 Notes 1 Department number range is from 1 to 10 5 1 6 2 Set Department Names Rules This command must be issued for 10 number of departments for...

Page 53: ...ENGTH 0 1 1B66 Cmd Prefix hex 2 2 C4 Fiscal Parameter Configuration hex 1 3 Cmd Extension hex 1 02 Display Sensing Definition 4 7 Password ASCII 4 8 Display Sensing Definition ASCII 1 Note 1 1 Single...

Page 54: ...010 Second 011 Third 100 Fourth 101 Fifth 4 41 D7_Description ASCII 38 Note 2 Notes 1 If a line number is not set it is not printed 2 If an all blank character string is specified then the correspond...

Page 55: ...y commands include 19 Set Currency Thousand Separator DA Electronic Read Fiscal Memory Tables DB Electronic Read Counters and Accumulators F1 Communicate Power On Status F9 Report Current Status Comma...

Page 56: ...J4 CE jumper in OFF STORED position FJUMPER NO Set New Lira Cmd Extension 01 This cmd extension can be issued only one time otherwise the error code 162 is returned Fiscal Mode The new lira table is s...

Page 57: ...ype is none Example aaaaaaaaaaaa or aaaaaaaaaaaa aa The thousand separator is erased when RAM is cleared by activation of the J4 CE jumper when the recovery is executed the default thousand separator...

Page 58: ...es hex 1 3 Cmd Extension hex 1 00 Start Read Daily Block 01 Read Next Daily Block 06 Start Read Repair Action Table 07 Read Next Repair Action Table 08 Read New Lira Table 4 7 Closure Number ASCII 4 N...

Page 59: ...dd mm yyyy hh mm 26 32 Return Code 43 Good Completion 60 Invalid Character 5A Closure Not Found 64 Error on Reading Fiscal Memory BB Block Empty 27 33 Currency Indicator Note 1 0 Old Lira 1 New Lira 2...

Page 60: ...Date and Time ASCII 16 dd mm yyyy hh mm 26 32 Return Code 43 Good Completion 60 Invalid Character 5A Closure Not Found 64 Error on Reading Fiscal Memory BB Block Empty 27 33 Reserved hex 1 28 30 34 36...

Page 61: ...ion hex 1 10 25 16 31 Request Date and Time ASCII 16 dd mm yyyy hh mm 26 32 Return Code 43 Good Completion 60 Invalid Character 5A Closure Not Found 64 Error on Reading Fiscal Memory BB Block Empty 27...

Page 62: ...ays 0 3 Lifetime 0 Old Lira 1 New Lira 2 Reserved always 0 1 Parameters 0 TAX Category 1 Payment Type 0 Type 0 Transaction 1 Daily 5 Reserved ASCII 1 If byte 4 bit 1 0 6 7 TAX Category vv ASCII 2 Note...

Page 63: ...CR in Progress 06 Application Originated Report SJ in Progress 07 Application Originated Report DI Landscape in Progress 08 Application Originated Report DI Portrait in Progress 09 Credit Card Printin...

Page 64: ...tal Total hex 6 Tra_Tupl 135 139 141 145 Amount Due Total signed hex 5 Tra_Amt_Due 140 174 146 180 Reserved hex 35 TRANSACTION COUNTERS 175 176 181 182 Voided Items hex 2 Tra_N_Void 177 178 183 184 Di...

Page 65: ...ounts Total hex 6 Tra_Disc_v vv 111 116 117 122 Empties Total hex 6 Tra_Empt_v vv 117 134 123 140 Reserved hex 18 135 140 141 146 Amount Due Total signed hex 6 Tra_Amt_Due 140 174 146 180 Reserved hex...

Page 66: ...Type pp Cash 01 03 or 04 33 38 39 44 Cash Total hex 6 Tra_Pay_Type_0 If Payment Type pp Credit Card 02 33 38 39 44 Credit Card Total hex 6 Tra_Pay_Type_1 If Payment Type pp Other 05 33 38 39 44 Other...

Page 67: ...t Total hex 6 Day_RRec_CTot 159 164 165 170 Cancelled Diplomatic Receipt Total hex 6 Day_DRec_CTot DAILY COUNTERS 165 166 171 172 Fiscal Voucher hex 2 Day_N_Vouc 167 168 173 174 Application Originated...

Page 68: ...nt type 0 BYTE BYTE BIT CONTENT TYPE LENGTH VARIABLE RS 485 USB DAILY ACCUMULATORS 33 38 39 44 Payment Total hex 6 Day_Payment 39 210 45 216 Reserved hex 172 Page 68 of 183 IBM 4610 SureMark Fiscal Pr...

Page 69: ...Cancelled Diplomatic Receipt Total hex 6 Day_DRec_CTot DAILY COUNTERS 165 166 171 172 Fiscal Voucher hex 2 Day_N_Vouc 167 168 173 174 Application Originated Reports All Stations hex 2 Day_N_NFR 169 1...

Page 70: ...act 224 228 230 234 Reserved hex 5 229 238 235 244 Serial Number ASCII 10 FM_SL_SerNum 239 246 245 252 TAX Total hex 8 Lif_VATC_OL 247 248 253 254 TAX Rate hex 2 Note 1 If byte 4 bit 3 1 NEW LIRA BYTE...

Page 71: ...power was turned off in the middle of a command as shown by status byte 6 bit 4 5 2 4 1 Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 Command prefix hex 2 2 F1 Communicate Power On Status hex...

Page 72: ...ditional Information hex 114 Note 1 Notes 1 See response for the Additional Information Response for Additional Information will be formatted as follows BYTE BYTE CONTENT TYPE LENGTH RS 485 USB 9 15 T...

Page 73: ...5 6 7 8 9 A B C D E F FF 10 5F FF 11 30 35 30 30 43 30 35 30 39 30 34 39 31 36 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F...

Page 74: ...t to report its current status 5 2 6 1 Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 cmd prefix hex 2 2 F9 Report Current Status hex 1 3 Cmd Extension hex 1 7 0 Reserved always 0x00 Page 74 of...

Page 75: ...s not in progress Application Originated Reports in Progress 5 4 Sale Transaction in Progress Commands The fiscal voucher is generated during a sale transaction The following command is executed to pr...

Page 76: ...n the payment phase only When an error occurred during an end transaction the following is allowed To issue the end transaction 06 cmd again if the fiscal logo was not printed yet To issue the cancel...

Page 77: ...mmand is used to print the header in CR station 5 5 1 1 Command Format BYTE CONTENT TYPE LENGTH 0 1 1B66 cmd prefix hex 2 2 01 Print Header hex 1 3 Cmd Extension hex 1 7 0 Reserved always 0x00 Command...

Page 78: ...ved ASCII 7 28 39 D2_Amount ASCII 12 Note 2 40 41 D2_TAX_Category ASCII 2 Note 3 Notes 1 D2_Description field is truncated as follows Document at 12 CPI to 9 characters Document at 15 CPI to 17 charac...

Page 79: ...s TAX D2_Amount field in command string of item can be blank This allows the processing of items with description longer than the number of characters allowed in one line The number of items with blan...

Page 80: ...EMPTY as in empty bottles 4 20 D3_Description ASCII 17 Note 1 21 27 Reserved ASCII 7 28 39 D3_Amount ASCII 12 Note 2 40 41 D3_TAX_Category ASCII 2 Note 3 Notes 1 D3_Description field is truncated as...

Page 81: ..._Amount Tra_Empt Tra_Empt D3_Amount where specific values of vv are determined from the negative item sale command vv D3_TAX_Category range 01 to 10 5 5 3 3 Negative Item Sale Rules A minus sign is pr...

Page 82: ...ays 0 0 Character Width 0 Single 1 Double 4 15 D4_Amount ASCII 12 Notes 1 Double wide should be selected to use double high 2 The number of CPI and emphasized apply to both the total message and the D...

Page 83: ...010 Reserved I 011 Reserved 100 Other 101 Reserved 110 Reserved 111 Reserved 4 26 D5_Description ASCII 23 27 38 D5_Amount ASCII 12 Notes 1 Print typeface is also applied to the change due line 5 5 5 2...

Page 84: ...t_Due D5_Amount 5 5 5 3 Payment Rules The end transaction 06 cmd is executed only if the Tra_Payment is greater than or equal to Tra_Tot If the paid amount is greater than Tra_Tot a CHANGE DUE line is...

Page 85: ...eserved 100 15 CPI Emphasized 101 12 CPI Emphasized 110 Reserved 111 Reserved 2 0 Reserved always 0 4 26 D8_Description ASCII 23 27 38 D8_Amount ASCII 12 Notes 1 Print typeface is also applied to the...

Page 86: ...y if the Tra_Payment is greater than or equal to Tra_Tot If the D8_Amount is greater than Tra_Tot a CHANGE DUE line is printed The string TOTAL in upper lower or mixed case is not allowed in the D8_De...

Page 87: ...vv Tra_Tot for values of vv ranging from 1 to the maximum values Rounding is performed by incrementing quotients of divisions with highest reminders until the sum of all quotients corresponds to disc...

Page 88: ...e maximum values Rounding is performed by incrementing quotients of divisions with highest reminders until the sum of all quotients corresponds to uplift amount Note that this rounding operation is do...

Page 89: ...on Calculations Note that if training mode is active the calculations shown below are not performed except for those listed in Clearing Transaction Accumulators So the transaction totals during traini...

Page 90: ..._4 Tra_Pay_Type_4 I for values of vv ranging from 1 to the maximum values Day_Void_v vv Day_Void_v vv Tra_Void_v vv Day_Void Day_Void Tra_Void Day_Bonu_v vv Day_Bonu_v vv Tra_Bonu_v vv Day_Bonu Day_Bo...

Page 91: ...onu 0 Tra_N_Empt 0 Tra_N_Tdsc 0 Tra_N_Tupl 0 5 5 8 3 End Transaction Rules End Transaction command is executed only if the total paid amount is not less than the transaction total amount if the paymen...

Page 92: ...and If anything more than the store header is printed the following calculations are performed Day_N_Vouc Day_N_Vouc 1 Day_N_Fisc Day_N_Fisc 1 Day_N_Canc Day_N_Canc 1 Day_N_CFisc Day_N_CFisc 1 Tra_Tot...

Page 93: ...aximum values Clearing Transaction Counters Tra_N_Void 0 Tra_N_Disc 0 Tra_N_Bonu 0 Tra_N_Empt 0 Tra_N_Tdsc 0 Tra_N_Tupl 0 5 5 9 3 Cancel Transaction Rules The string TOTAL in upper lower or mixed case...

Page 94: ...return diplomatic receipt in progress commands include E0 Print Fiscal Return Diplomatic Receipt E3 End Fiscal Return Diplomatic Receipt 0F Cancel Fiscal Return Diplomatic Receipt Page 94 of 183 IBM...

Page 95: ...0 Reserved 011 Reserved 100 15 CPI Emphasized 101 12 CPI Emphasized 110 Reserved 111 Reserved 2 Orientation Print and Direction 0 Landscape Forward 1 Portrait Forward 1 0 Receipt Type 00 Fiscal 01 Ret...

Page 96: ...Forward 1 0 Receipt Type 00 Fiscal 01 Return 10 Diplomatic 11 Reserved 4 89 E3_Description ASCII 86 Note 1 90 101 E3_Amount ASCII 12 102 113 E3_VAT_Amount ASCII 12 Notes 1 E3_Description field is tru...

Page 97: ...c_Tot Day_RRec_Tot E3_Amount Day_RRec_VTot Day_RRec_VTot E3_VAT_Amount If Diplomatic Receipt Day_N_DRec Day_N_DRec 1 Day_DRec_Tot Day_DRec_Tot E3_Amount Day_DRec_VTot Day_DRec_VTot E3_VAT_Amount Comma...

Page 98: ...ard 1 0 Receipt Type 00 Fiscal 01 Return 10 Diplomatic 11 Reserved 4 15 0F_Amount ASCII 12 5 6 3 2 Cancel Fiscal Return and Diplomatic Receipt Calculations If Fiscal Receipt Day_N_FRec Day_N_FRec 1 Da...

Page 99: ...5 7 Waybill Receipt in Progress Commands The waybill receipt in progress commands include E2 Print Waybill Receipt E5 End Waybill Receipt 11 Cancel Waybill Receipt Command Set Reference Page 99 of 183...

Page 100: ...hasized 110 Reserved 111 Reserved 2 0 Orientation Print and Direction 000 Reserved 001 Reserved 010 Reserved 011 Reserved 100 Reserved 101 Landscape Forward 110 Portrait Forward 111 Reserved 4 89 Desc...

Page 101: ...001 Reserved 010 Reserved 011 Reserved 100 Reserved 101 Landscape Forward 110 Portrait Forward 111 Reserved 4 89 E5_Description ASCII 86 Note 1 90 101 E5_Amount ASCII 12 102 113 E5_TAX_Amount ASCII 12...

Page 102: ...3 Reserved always 0 2 0 Orientation Print and Direction 000 Reserved 001 Reserved 010 Reserved 011 Reserved 100 Reserved 101 Landscape Forward 110 Portrait Forward 111 Reserved 4 15 11_Amount ASCII 12...

Page 103: ...n printing these documents different than those allowed for application originated reports No application originated message line is printed at the start and the end of a credit card document Linefeed...

Page 104: ...2 0 Orientation Print and Direction 000 Reserved 001 Reserved 010 Landscape 011 Portrait Reverse 100 Reserved 101 Landscape 110 Portrait Forward 111 Reserved 4 89 C0_Description ASCII 86 Note 1 Notes...

Page 105: ...ation Print and Direction 000 Reserved 001 Reserved 010 Landscape 011 Portrait Reverse 100 Reserved 101 Landscape 110 Portrait Forward 111 Reserved 4 89 C1_Description ASCII 86 Note 1 Notes 1 C1_Descr...

Page 106: ...it Card 5 4 Orientation Print and Direction 10 Portrait Forward 11 Portrait Reverse 3 0 Number of Line Feed min 1 max 15 4 Number of Dots Rows Per Line Feed hex 1 min 3 max 12 5 8 4 2 Line Feed Credit...

Page 107: ...5 9 Miscellaneous Commands The miscellaneous commands include C8 Set Barcode Parameters C9 Print Barcode CA Print and Download Graphics CD Cash Drawer Management Command Set Reference Page 107 of 183...

Page 108: ...1 Ranges supported for horizontal magnification of the line width are Minimum 2 Maximum 4 2 Ranges supported for dot height of the barcode are For CR and SJ stations Minimum 001 Maximum 255 For DI st...

Page 109: ...1 CODE128 0110 CODABAR 0101 ITF 0100 CODE39 0011 JAN8 EAN 8 0010 JAN13 EAN 13 0001 UPC_E 0000 UPC_A 4 n Barcode Data ASCII n Note 3 Notes 1 The Human Readable Characters font if it must be printed 2 P...

Page 110: ...riginated reports fiscal receipts return receipts diplomatic receipts or waybill receipts Outside Sale Period Inside of application originated reports Outside of application originated reports Page 11...

Page 111: ...ht hex 1 Note 2 6 65 First Pixels in Graphics hex 60 If Cmd Extension 02 specify 4 Width hex 1 Note 2 5 Height hex 1 Note 2 6 Graphic Number hex 1 Note 3 7 65 First Pixels in Graphics hex 59 If Cmd Ex...

Page 112: ...nit Status hex 9 0 14 Fiscal Unit Status hex 15 9 15 CA Record Identification hex 1 10 16 Return Code hex 1 43 Good Completion 74 Invalid Sequence 75 Invalid Size 76 Invalid Graphic Number 77 Graphic...

Page 113: ...as follows BYTE BYTE CONTENT TYPE LENGTH RS 485 USB 0 8 Fiscal Unit Status hex 9 0 14 Fiscal Unit Status hex 15 9 15 CA Record Identification hex 1 10 16 Return Code hex 1 43 Good Completion 76 Inval...

Page 114: ...n 100 DPI Print Down 200 DPI Cmd xCA10 Erase Graph Down Area 5 9 3 4 Print Graphic Example In order to understand the graphic data format used for the fiscal printer an example will be given The numbe...

Page 115: ...6 X X X X X X X X 13 14 7 X X X X X X X X 15 16 8 X X X X X X X X 17 18 9 X X X X X X X X 19 20 10 X X X X X X X X 21 22 11 X X X X X X X X 23 24 12 X X X X X X X X 25 26 13 X X X X X X X X 27 28 14...

Page 116: ...Cash Drawer Number hex 1 Note 1 5 Pulse Width ON Time hex 1 Note 2 6 Pulse Width OFF Time hex 1 Note 2 Notes 1 Numbers allowed 0 and 1 2 The value given in this field must be multiplied by 2 in order...

Page 117: ...ommands 13 Close Sale Period Z Report 14 Print X Report 15 Fiscal Memory Report There are two commands that control application originated reports DD Start Application Originated Report DE End Applica...

Page 118: ...Lif_N_Clos Lif_N_Clos 1 Day_N_Fisc Day_N_Fisc 1 Day_Tot vv Day_Tot_v vv Day_VATC_v vv TRUNC Day_Tot_v vv VAT_Rate vv 100 VAT_Rate vv 0 5 Day_VATC vv Day_VATC_v vv IF NEW LIRA WAS NOT SET Lif_Tot_OL L...

Page 119: ...s cancelled by any cause Day_N_CFisc Day_N_CFisc 1 The following operations are performed after update the daily entry table Day_Tot_v 0 Day_Tot 0 Day_VATC_v vv 0 Day_VATC 0 Day_Void_v vv 0 Day_Void 0...

Page 120: ...Day_N_Tdsc 0 Day_N_Tupl 0 Day_N_Fisc 0 Day_N_CFisc 0 Day_N_WBill 0 Day_N_CWbl 0 Day_N_FRec 0 Day_N_CFrc 0 Day_N_RRec 0 Day_N_CRrc 0 Day_N_DRec 0 Day_N_CDrc 0 Day_N_NFR 0 Day_N_Dump 0 Day_N_Cred 0 Day_...

Page 121: ...calculations done during this command are the same as those done during the close sale period 13 cmd before the fiscal memory is written PLUS THE FOLLOWING IS ALSO DONE Day_N_X Day_N_X 1 Day_N_NFR Da...

Page 122: ...ASCII 4 Notes 1 Dates strings must be formatted as ddmmyyyy dd day mm month yyyy year 5 10 3 2 Fiscal Memory Report Calculations Successful completion of command Day_N_Dump Day_N_Dump 1 Day_N_Fisc Day...

Page 123: ...e requested period include only closures performed with the new Lira Short Old Lira This report is printed when the requested period include closures performed with the old Lira If the first closure o...

Page 124: ...4 1 Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 Command Prefix hex 2 2 DD Start Application Originated Report hex 1 3 Cmd Extension hex 1 7 2 Reserved always 0 1 0 Station Orientation Print 0...

Page 125: ...hex 2 2 DE End Application Originated Report hex 1 3 Cmd Extension hex 1 7 0 Reserved always 0x00 5 10 5 2 End Application Originated Report Calculations If FOPENCR YES Day_N_NFR Day_N_NFR 1 Day_N_NFC...

Page 126: ...nt lines are requested h Each ordinary line printed in SJ station EA cmd during a fiscal voucher IS replicated in CR station i After the 01 D2 D3 D4 D9 D5 and D8 cmds the maximum number of line feed l...

Page 127: ...int lines in SJ station EC cmd IS NOT replicated in CR station m An End Application Originated Report in SJ station DE cmd end with a MALi DEgERi YOK nro C45 n An End Application Originated Report in...

Page 128: ...n Originated Report in CR station DE cmd IS replicated in SJ station h An Start Application Originated Report in CR station DD cmd start with a MALi DEgERi YOK nro C45 date time and non fiscal receipt...

Page 129: ...b The maximum number of ordinary lines in DI station EB cmd are 255 Command Set Reference Page 129 of 183...

Page 130: ...in CR station i After the 01 D2 D3 D4 D9 D5 and D8 cmds the maximum number of line feed lines on SJ station EC cmd that can be printed are 255 j The line feed lines on SJ station EC cmd to be NOT repl...

Page 131: ...replicated in CR station n An Start Application Originated Report in DI station DD cmd start with a MALi DEgERi YOK nro C45 message line o An End Application Originated Report in DI station DE cmd end...

Page 132: ...and non fiscal receipt number message lines h An Start Application Originated Report in SJ station DD cmd IS replicated in CR station i During an Application Originated Report to the SJ station the o...

Page 133: ...The printer commands include EA Ordinary Print Line in CR SJ Station EB Ordinary Print Line in DI Station EC Line Feed ED Ready Document EE Cut Customer Receipt E8 Set Number of Dot Rows per Line Fee...

Page 134: ...ypeface 000 15 CPI 001 12 CPI 010 Reserved 011 15 CPI Double High 100 15 CPI Emphasized 101 12 CPI Emphasized 110 Reserved 111 15 CPI Double High Emphasized 2 0 Number of Line Feed min 1 max 7 4 41 EA...

Page 135: ...it Reverse 100 Reserved 101 Landscape Note 1 2 110 Portrait Forward 111 Reserved 4 89 EB_Description ASCII 86 Note 3 Notes 1 The emphasized option is ingnored during landscape orientation print 2 The...

Page 136: ...1 3 Cmd Extension hex 1 7 6 Reserved always 0 5 4 Station Orientation Print and Direction 00 CR 01 SJ 10 DI Portrait Forward 11 DI Portrait Reverse 3 0 Number of Line Feed min 1 max 15 5 11 3 2 Line...

Page 137: ...the printer to advance the document in DI station 5 11 4 1 Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 cmd prefix hex 2 2 ED Ready Document hex 1 3 Cmd Extension hex 1 00 Top Registration 01...

Page 138: ...paper 5 11 5 1 Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 cmd prefix hex 2 2 EE Cut Customer Receipt hex 1 3 Cmd Extension hex 1 7 2 Reserved always 0 1 0 Guillotine 00 Partial Cut 01 Parti...

Page 139: ...rtrait 1 Set Alternate Value 0 Set Default Value 1 SJ Station Note 1 1 Set Alternate Value 0 Set Default Value 0 CR Station Note 2 1 Set Alternate Value 0 Set Default Value Note default 12 Dot Rows pe...

Page 140: ...broken 5 11 7 1 Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 command prefix hex 2 2 EF Document Eject hex 1 3 Cmd Extension hex 1 7 1 Reserved always 0 0 Orientation Print and Direccion 0 Por...

Page 141: ...int head to right or left home position 5 11 8 1 Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 cmd prefix hex 2 2 F4 Head Position Open Close Throat hex 1 3 Head Position and Throat hex 1 00 00...

Page 142: ...clude 00 System Commands E7 Diagnostic and Alignment Utilities F8 Report Printer EC FA Reset Fiscal Printer FB Run Diagnostics FC Report Microcode EC FF Dump RAM Fiscal Memory Page 142 of 183 IBM 4610...

Page 143: ...t Status The FU current status is sent over the serial communication link Fiscal Unit Power On Reset The microcode performs a FU software POR Report Microcode EC Level The FU status containing the mic...

Page 144: ...Backlash Adjustment Pattern 04 DI Print Reinsertion Adjustment Pattern 05 CR Read MCT Value 06 Reserved 07 Reserved 08 CR Print Test Command 09 SJ Print HIHI HIHI Pattern 0A DI Print HIHI HIHI Pattern...

Page 145: ...15 15 MCT Value 4 Low Order Byte hex 1 16 16 MCT Number 5 hex 1 17 17 MCT Value 5 High Order Byte hex 1 18 18 MCT Value 5 Low Order Byte hex 1 19 19 MCT Number 6 hex 1 20 20 MCT Value 6 High Order Byt...

Page 146: ...Extension 05 BYTE BYTE CONTENT TYPE LENGTH RS 485 USB 0 8 Fiscal Unit Status hex 9 0 14 Fiscal Unit Status hex 15 9 15 MCT Value High Order Byte hex 1 10 16 MCT Value Low Order Byte hex 14 Page 146 of...

Page 147: ...Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 cmd prefix hex 2 2 F8 Report Printer EC hex 1 3 Cmd Extension hex 1 00 00 Fiscal Unit 01 01 Fiscal Device Information 10 02 Printer Device Informat...

Page 148: ...TRY CODE hex 1 11 COUNTRY VERSION hex 1 12 COUNTRY EC LEVEL hex 1 8 13 FISCAL RETURN CODE hex 1 14 FISCAL RETURN CODE hex 1 9 15 DEVICE TYPE hex 1 0x31 Fiscal Printer 10 16 DEVICE ID hex 1 0x00 fiscal...

Page 149: ...cal or Printer Device Info IS contained in this message 0 For USB Reserved 7 COUNTRY VERSION COUNTRY CODE hex 1 9 ADDITIONAL STATUS hex 1 7 Device Information Response 0 NO 1 YES 6 0 Reserved 10 COUNT...

Page 150: ...efix hex 2 2 FA Reset Fiscal Printer hex 1 3 Cmd Extension hex 1 7 1 Reserved always 0 0 Unit 0 Fiscal Unit 1 Printer 5 12 4 2 Reset Fiscal Printer Rules This command cannot be used by applications us...

Page 151: ...nit and printer diagnostics 5 12 5 1 Command Format BYTE BIT CONTENT TYPE LENGTH 0 1 1B66 cmd prefix hex 2 2 FB Run Diagnostics hex 1 3 Cmd Extension hex 1 7 2 Reserved always 0 1 0 Unit 01 1 Fiscal U...

Page 152: ...crocode EC hex 1 3 Cmd Extension hex 1 00 Fiscal Microcode EC Level 01 Fiscal Microcode Internal EC Level 02 Country Code Note 1 03 Version Code Hardware Model Note 2 Notes 1 Country Code x02 2 For 46...

Page 153: ...II 4 Notes 1 The RAM memory address range is X 00000 X 0FFFF 2 The fiscal memory address range is X 00000 X 7FFFF Response for Electronic Dump will be formatted as follows 5 12 7 2 Command Format BYTE...

Page 154: ...Page 154 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...

Page 155: ...bonus transaction total exceeds the maximum allowed value The request is not processed User Response Issue the total and end transaction commands to end the sale transaction or a cancel transaction co...

Page 156: ...transaction total is less than the minimum allowed value The request is not processed User Response Issue the total and end transaction commands to end the sale transaction or a cancel transaction com...

Page 157: ...ies daily total exceeds the maximum allowed value at end transaction time The request is not processed User Response Make the total less than or equal to the maximum allowed value issue and end transa...

Page 158: ...29 4690 OS Explanation Tender is not completed The payment total was less than the transaction total The request is not processed User Response Use the rectify option on the payment command or issue a...

Page 159: ...sale period 13 cmd 036 DOS WINDOWS 80900144 4690 OS Explanation An underflow occurred The discount daily total is less than the minimum allowed value The request is not processed User Response Make th...

Page 160: ...t is already reset The request is not processed User Response No action is required 048 DOS WINDOWS 80900630 4690 OS Explanation An overflow occurred The sum of the daily operations for discount on su...

Page 161: ...e call for service 055 DOS WINDOWS 80900203 4690 OS Explanation The fiscal request message length is less than the minimum required value The request is not processed User Response Check the applicati...

Page 162: ...900202 4690 OS Explanation A request was sent to the fiscal unit and the fiscal command byte extension is not recognized The request is not processed User Response Check the application program 067 DO...

Page 163: ...0303 4690 OS Explanation An error occurred while printing in DI station The request is not processed User Response If the error continues service the printer 075 DOS WINDOWS 80900209 4690 OS Explanati...

Page 164: ...83 DOS WINDOWS 80900307 4690 OS Explanation An unrecoverable error occurred reading the fiscal memory identification status setup area User Response Service the printer 085 DOS WINDOWS 80900309 4690 O...

Page 165: ...processed User Response Specify a valid table entry 095 DOS WINDOWS 80900425 4690 OS Explanation The address or length data is not valid The requested address range is not valid or is wrong in the eng...

Page 166: ...er Response Reset the printer using the J4 CE jumper procedure and initialize the printer again Note Only authorized service personnel can move the J4 CE jumper 103 DOS WINDOWS 80900421 4690 OS Explan...

Page 167: ...rable printer error occurred after two power on resets User Response Turn the power off and then on again If the problem persists service the printer 114 DOS WINDOWS 80900363 4690 OS Explanation A pri...

Page 168: ...0 OS Explanation Invalid Size Byte 4 is greater than 72 This cmd can not be sent when a print or download graphics occurs User Response Correct the value and issue the CA cmd 00 01 or 02 cmd extension...

Page 169: ...rror The request is not processed User Response Run the printer test to determine the cause of the problem Service the printer 135 DOS WINDOWS 80900220 4690 OS Explanation The command is not valid out...

Page 170: ...ation The command was issued before the store header was set The request is not processed User Response Correct the application program sequence to set the store headers before issuing this command 14...

Page 171: ...hile a sale transaction is in progress The request is not processed User Response Check the application program 169 DOS WINDOWS 80900232 4690 OS Explanation A command not related to a fiscal return or...

Page 172: ...printer 181 DOS WINDOWS 809006B5 4690 OS Explanation RAM is in error Return to the FB cmd User Response Service the printer 182 DOS WINDOWS 809006B6 4690 OS Explanation An error occurred during an en...

Page 173: ...OWS 809006BD 4690 OS Explanation A different mode of credit slip printing is already in progress so the selected mode cannot be ended The request is not processed User Response Check the application p...

Page 174: ...f the cover is already closed service the printer 204 DOS WINDOWS 80900711 4690 OS Explanation Internal Error The request is not processed User Response Service the printer 205 DOS WINDOWS 80900526 46...

Page 175: ...opened The request is not processed User Response Close the throat and issue the command print again 214 DOS WINDOWS 80900527 4690 OS Explanation A feed paper error occurred The request is not process...

Page 176: ...078 80900120 020 80900306 082 80900121 021 80900307 083 80900123 023 80900309 085 80900124 024 80900312 089 80900125 025 80900314 091 80900126 026 80900315 092 80900127 064 80900318 099 80900129 029 8...

Page 177: ...053 8090063A 058 8090063B 059 8090063D 061 80900643 067 80900646 070 80900651 081 80900657 087 8090065A 090 80900670 112 80900677 119 80900678 120 80900679 121 8090067B 123 8090067C 124 8090067D 125 8...

Page 178: ...Page 178 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...

Page 179: ...for the procedure in progress To warn the operator that the same line could appear more than once for the same item an overlay string is provided by microcode This overlay operation is activated when...

Page 180: ...e report is voided Fiscal Memory Report 15 cmd On receipt of first command after an error the function is terminated and the fiscal memory report is voided End Transaction 06 cmd Only the end transact...

Page 181: ...onse to a retry operation from the application program the retry bit is set allowing the string to overlay the characters on the slip The retry bit has effect only on the following commands but it may...

Page 182: ...Page 182 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...

Page 183: ...of less lines result in a better performance PLD or paper out during end transaction 06 cmd After a PLD or paper out during the end transaction 06 cmd execution applications will know whether to canc...

Reviews: