Page 1
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.
Page 2
Heading in document. GA + 2 years. (family FISCAL), Component TU90. Notification Record. Martinez TEAM CONNECTION Heading in document. GA + 2 years. (family FISCAL), Component TU90. Page 2 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programming...
Page 3
Summary of Changes Changes resulting in document revisions will be summarized in this table in reverse chronological sequence. Revision numbers and letters will highlight the text changed in new document versions. Version Date Change Description • v21 01 Jan 7, 2004 There are not changes in the spec for this version.
Page 4
01 Jul 22, 02 CD cmd. (Cash Drawer Management): was added. • This version of Programming Guide Supplement corresponds to microcode EC level 0B. Page 4 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programming...
Page 5
Version Date Change Description • v0A 02 Jun 13, 02 There are not changes in the spec for this version. • This version of Programming Guide Supplement corresponds to microcode EC level 0A. • v07 01 Mar 13, 02 There are not changes in the spec for this version. •...
Page 6
R C ′s 104, 105, 119, 123, 124, 125, 208 and 209: were added. • • This version of Programming Guide Supplement corresponds to microcode EC level 01. Table 1. Change Summary Page 6 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programming...
1.0 Fiscal Hardware Technical Specification 1.1 4610 Suremark Fiscal Printer 1.1.1 Features The 4610 SureMark fiscal printer is the TI-3/4 printer with a second thermal station which is used as a journal station. Since 4610 SureMark in based on the TI-3/4, it has the same SBCS logic card as a the TI-3/4.
1.2.2 Fiscal Processing The IBM fiscal printer has a special electronics board sealed in the fiscal base which intercepts the data from the POS terminal and processes it before sending it to the printer to be printed. The ensures that nothing is printed that does not completely comply with the fiscal law requirements and that all data is captured in the fiscal printer non-volatile memory.
The IBM fiscal printer can store 3840 days of data at 64 bytes of data per day. The IBM fiscal printer provides electronic readout of the fiscal data (if allowed by law) to allow a tax inspector to readout the data electronically, possibly from the store controller/server, as opposed to having to printout the data from each cash register on the register tape.
Page 18
Page 18 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
2.0 Printer and Fiscal Unit Status 2.1 For GR3/GR5 Models (RS-485) The fiscal unit response to the application program is contained in the fiscal unit status, which is 9 bytes long (6 bytes for the printer status and 3 bytes for fiscal unit status). For compatibility reasons, the printer status bytes received from the 4610 are mapped in the closest possible way to the model 3 status bytes.
), it means that no error is indicated on this status message. Figure 2. Printer and Fiscal Unit Status - GR3/GR5 Models - Part 2 of 2 Page 20 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
Set when only 512 bytes remain in the buffer. Cleared when 3k bytes are free (RS-485 only). Figure 3. Printer and Fiscal Unit Status - GB3/GB5 Models - Part 1 of 3 Page 22 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
BYTE CONTENT PRINTER UNIT STATUS 0 (LSB) MEMORY SECTOR IS FULL HOME ERROR DOCUMENT ERROR The document not inserted after document station was selected and the wait timed out. FLASH EPROM LOAD ERROR OR MCT LOAD ERROR RESERVED (Always = ′ 0 ′ ) USER FLASH STORAGE SECTOR IS FULL FIRMWARE ERROR CRC on the firmware failed.
Figure 5. Printer and Fiscal Unit Status - GB3/GB5 Models - Part 3 of 3 The fiscal unit return codes are defined in 6.0, “Fiscal Unit Return Codes” on page 155 . Page 24 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
3.0 Fiscal Accounting Technical Description This section discusses the fiscal printer operation, defines the terminology used in the operation of the printer, and describes the fiscal commands in terms of the function they provide. 3.1 Fiscal Printer Operation The fiscal printer operates under control of an application program communicating with it through a serial link (Device Channel).
Page 28
(or normal) printing, these are print lines that do not have a specific fiscal law function monitored or controlled by the printer. Page 28 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
3.3 POS Fiscal General Information and Rules 3.3.1 Fiscal Memory Connection Fiscal memory may not be disconnected. The microcode checks for a good connection at power up and before execution of the following commands: • 01 - Print Header • 06 - End Transaction •...
Page 30
Page 30 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
4.0 Fiscal Accounting Variables and Command Reference A detailed description of the rules governing the execution of fiscal commands and the effect on fiscal memory, accumulators, and counters is 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 section: •...
4.1.2 Definition of Transaction Counters Table 4 lists the counters used during a sale transaction. Table 4. Transaction Counters Counter Minimum Maximum Name Description Range Range Tra_N_Void Number of voided items 65535 Tra_N_Disc Number of discounted items 65535 Tra_N_Bonu Number of bonus items 65535 Tra_N_Empt Number of empties items...
4.1.4 Definition of Daily Counters Table 7 lists the counters used during a sales period. Table 7. Daily Counters Counter Minimum Maximum Name Description Range Range Day_N_Vouc Number of fiscal vouchers 9999 Day_N_Fisc Number of fiscal slips printed 9999 Day_N_CFisc Number of fiscal slips cancelled 9999 Number of application-originated reports −...
Number of repair actions Notes: 1. This counter must be recovered from the fiscal memory in the case of the J4/CE jumper activation procedure being performed. Page 36 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
4.2 Fiscal Hardware Functions 4.2.1 J4/CE Jumper Description There is a J4/CE jumper which is used to reset the RAM after a repair or in the event of a temporary data error in the RAM. The J4/CE jumper can also be used to control some commands so that only the J4/CE can perform them.
The microcode continually checks for connection of the POS displays by monitoring the Serial I/O (Device Channel) connection for display polls and then checking for appropriate responses. Page 38 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
4.3 Initialization Sequence The initialization sequence for Turkey is: 1. RAM CLEAR • Turn ON the fiscal printer with J4/CE jumper in OFF (stored) position • Put J4/CE jumper in ON (active) position • Execute --> Reset = 0040 • Put J4/CE jumper in OFF (stored) position •...
Page 40
Execute --> Set Department Name = 1B66 2208 • Execute --> Set Department Name = 1B66 2209 • Execute --> Set Department Name = 1B66 220A Page 40 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
4.4 Training Mode The fiscal printer is in training mode until the fiscal mode is set (issuing 18 cmd.). 4.4.1 Training Mode Rules • Fiscal memory is not used. • Fiscal voucher counter is not printed. • Fiscal logo and serial number is not printed. •...
End Waybill Receipt Cancel Fiscal, Return & Diplomatic Receipt Cancel Waybill Receipt 4.5.7 Reports Print X-Report DD Start Application-Originated Report DE End Application-Originated Report 4.5.8 Printer Set Number of Dot Rows per Line Feed EA Ordinary Print Line in CR/SJ Station EB Ordinary Print Line in DI Station EC Line Feed ED Ready Document (Top/Bottom Registration)
Page 44
Page 44 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.0 Command Set Reference A command consists of a string of data received from the serial communication link. The minimum length of a command string is four byte; the maximum length depends on the command type. The microcode checks that the length is not less than the minimum required for the command type specified in byte 2.
22 - Set Department Names (Optional) • C4 - Set Fiscal Parameters (Optional) • D7 - Set Header There are no calculations performed for any of the initialization commands. Page 46 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.1.1 16 - SET DATE AND TIME This command is used to update the fiscal unit time of day clock. 5.1.1.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - cmd prefix 16 - Set Date and Time Cmd. Extension 7-0 Reserved (always = ′...
• If the new Lira was set in training mode, then the new Lira table is stored in FM when the x18 cmd. is issued. Page 48 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.1.3 1A - SET DISPLAY ADDRESS This command is used to set the addresses of the 2 display(s) that have to be monitored for connection by the fiscal unit. 5.1.3.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - cmd prefix 1A - Set Display Address Cmd.
5.1.5 20 - LOAD TAX RATE TABLE This command is used to load the TAX rate table into fiscal battery backed up RAM. 5.1.5.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - cmd prefix 20 - Load TAX Rate Table Cmd.
This command must be issued for 10 number of departments for fiscal vouchers. • The departament names are restored to their original default character string when RAM is cleared by installation of the hardware J4/CE jumper. Page 52 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.1.7 C4 - FISCAL PARAMETER CONFIGURATION This command is used to set the number of displays to sense. 5.1.7.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix C4 - Fiscal Parameter Configuration Cmd. Extension 02 = Display Sensing Definition Password ASCII Display Sensing Definition...
This command cannot be executed when sales period is in progress. • The minimum number of header lines required is 1. • The maximum number of header lines allowed is 5. Page 54 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.2 Utility Commands The utility 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 Command Set Reference —...
− After the new Lira was set, the amounts will be printed with 2 digit decimals. The amount format depend on the thousand separator selected: Page 56 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
Page 57
— for none : aaaaaaaaaa,aa. — for comma: a,aaa,aaa,aaa.aa — for dot : a.aaa.aaa.aaa,aa. • Thousand Separator (Cmd. Extension 08, 10 and 20) − The default thousand separator type 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 ″none″...
1. Bytes 4-7 apply to Start Read Daily Block only. 2. If the closure number ′0000′ is specified, the first closure stored in fiscal memory will be returned. Page 58 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
Page 59
Response for Daily Read Block will be formatted as follows: ---------------------------------------------------------------------------------- BYTE BYTE CONTENT TYPE LENGTH VARIABLES RS-485 USB BYTE BYTE BIT CONTENT TYPE LENGTH RS-485 USB Fiscal Unit Status 0-14 Fiscal Unit Status DA - Record Identification 10-25 16-31 Request Date and Time ASCII (dd.mm.yyyy hh.mm)
Page 60
ASCII 3 FM_RA_N_Ract 31-34 37-40 Closure Number ASCII 4 FM_RA_N_Clos 35-44 41-50 Date (dd.mm.yyyy) ASCII 10 FM_RA_Date 45-49 51-55 Time (hh.mm) ASCII 5 FM_RA_Time ----------------------------------------------------------------------- Page 60 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
Page 61
Response for New Lira Table will be formatted as follows: ---------------------------------------------------------------------------------- BYTE BYTE CONTENT TYPE LENGTH VARIABLES RS-485 USB Fiscal Unit Status 0-14 Fiscal Unit Status DA - Record Identification 10-25 16-31 Request Date and Time ASCII (dd.mm.yyyy hh.mm) Return Code 43 = Good Completion 60 = Invalid Character 5A = Closure Not Found...
Range 00 up to 05 where: 00 = sum of all payment types totals 01, 03 and 04 = Cash 02 = Credit Card 05 = Other Page 62 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.2.3.2 Response to the Electronic Read Counters and Accumulators --------------------------------------------------------------------------------- BYTE BYTE BIT CONTENT TYPE LENGTH RS-485 USB Fiscal Unit Status 0-14 Fiscal Unit Status DB - Record Identification 10-25 16-31 REQUEST DATE AND TIME ASCII (dd.mm.yyyy hh.mm) RETURN CODE 43 = Good Completion PROCEDURE IN PROGRESS 00 = No Procedure...
Page 64
If (byte 4 - bit 0 = 0) and (byte 4 - bit 1 = 1) and payment type = 0: --------------------------------------------------------------------------------------------- BYTE BYTE BIT CONTENT TYPE LENGTH VARIABLE RS-485 TRANSACTION ACCUMULATORS ------------------------ 33-38 39-44 Payment Total 6 Tra_Payment 39-210 45-216 Reserved --------------------------------------------------------------------------------------------- Page 64 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
Page 65
If (byte 4 - bit 0 = 0) and (byte 4 - bit 1 = 0) and TAX category > 0: --------------------------------------------------------------------------------------------- BYTE BYTE BIT CONTENT TYPE LENGTH VARIABLE RS-485 TRANSACTION ACCUMULATORS ------------------------ 33-38 39-44 Voucher Total 6 Tra_Tot_v(vv) 39-62 45-68 Reserved 63-68...
Page 66
If Payment Type (pp) = Credit Card (02) 33-38 39-44 Credit Card Total 6 Tra_Pay_Type_1 If Payment Type (pp) = Other (05) 33-38 39-44 Other Total 6 Tra_Pay_Type_4 39-210 45-216 Reserved --------------------------------------------------------------------------------------------- Page 66 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
Page 67
If (byte 4 - bit 0 = 1) and (byte 4 - bit 1 = 0) and TAX category = 0: --------------------------------------------------------------------------------------------- BYTE BYTE BIT CONTENT TYPE LENGTH VARIABLE RS-485 DAILY ACCUMULATORS ------------------ 33-38 39-44 Voucher Total 6 Day_Tot 39-44 45-50 Fiscal Receipt Total 6 Day_FRec_Tot...
Page 68
If (byte 4 - bit 0 = 1) and (byte 4 - bit 1 = 1) and payment type = 0: --------------------------------------------------------------------------------------------- BYTE BYTE BIT CONTENT TYPE LENGTH VARIABLE RS-485 DAILY ACCUMULATORS ------------------ 33-38 39-44 Payment Total 6 Day_Payment 39-210 45-216 Reserved --------------------------------------------------------------------------------------------- Page 68 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
Page 69
If (byte 4 - bit 0 = 1) and (byte 4 - bit 1 = 0) and TAX category > 0: --------------------------------------------------------------------------------------------- BYTE BYTE BIT CONTENT TYPE LENGTH VARIABLE RS-485 DAILY ACCUMULATORS ------------------ 33-38 39-44 Total 6 Day_Tot_v(vv) 39-44 45-50 Fiscal Receipt Total 6 Day_FRec_Tot 45-50...
Page 70
Note : For all type hex, hex data is in normal format, not byte switch format. Note 1: is the TAX rate correspoding to TAX category selected in bytes 6-7 when the (byte 4 - bit 1 = 0). Page 70 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.2.4 F1 - COMMUNICATE POWER ON STATUS This command is used to determines if the printer 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 1B66 - Command prefix...
0xFE = there was a new command between F700 and F701 • 0x00 = no commands found 2. Command Data Length = 1 byte + n0 bytes + n1 bytes where: Page 72 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.3 Sales Period in Progress Commands • The sale period is started when any of the following commands is executed: − D2 - Item Sale − E0 - Print Fiscal, Return and Diplomatic Receipt − E2 - Print Waybill Receipt •...
− To issue the end transaction (06 cmd.) again if the fiscal logo was not printed yet. − To issue the cancel transaction (07 cmd.) if the fiscal logo was printed yet. Page 76 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.5.2.2 Item Sale Calculations Tra_Tot_v(vv) = Tra_Tot_v(vv) + D2_Amount Where: specific values of vv are determined from the item sale command. vv = D2_TAX_Category, range 01 to 10. Page 78 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.5.2.3 Item Sale Rules • Each item is assigned a value-added TAX (TAX) category that indicates the tax rate applied to the base price to obtain the sale price. • Items cannot be accepted if the D2_TAX_Category specified in the item sale command is disabled (rate = 9999).
1 to the maximum value Tra_Amt_Due = Tra_Tot 5.5.4.3 Subtotal/Total Transaction Rules • Calculates transaction total and amount due. Page 82 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.5.5 D5 - PAYMENT This command is used to apply the paid amount. 5.5.5.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix D5 - Payment Cmd. Extension Retry 0 = NO 1 = YES Rectify 0 = NO 1 = YES 5-3 Print Typeface (Note 1)
If the paid 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 D5_Description field. Page 84 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.5.6 D8 - NOT PAID This command is used to apply the paid amount. Generally is used when the pay is not cash. 5.5.6.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix D8 - Not Paid Cmd.
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_Description field. Page 86 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.5.7 D9 - DISCOUNT/UPLIFT ON SUBTOTAL This command is used to apply discount or uplift on subtotal. 5.5.7.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix D9 - Discount/Uplift Subtotal Cmd. Extension Retry 0 = NO 1 = YES Rectify 0 = NO...
The string TOTAL in upper, lower, or mixed case is not allowed in the D9_Description field. • The D9_Amount field must be greater than 0, otherwise return code 052 is issued. Page 88 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
5.5.8 06 - END TRANSACTION This command is used to end the sale transaction. 5.5.8.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix 06 - End Transaction Cmd. Extension 7-0 Reserved (always = ′ 0 x00′ ) 06_Store_Number ASCII 8-11...
5.6.1 E0 - PRINT FISCAL, RETURN AND DIPLOMATIC RECEIPT This command is used to print fiscal, return and diplomatic receipts. 5.6.1.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Command Prefix E0 - Print Fiscal, Ret. & Diplom. Receipt Cmd.
Portrait orientation at 15 CPI to 47 characters. Portrait orientation at 12 CPI to 37 characters. Landscape orientation at 15 CPI to 86 characters. Landscape orientation at 12 CPI to 86 characters. Page 100 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.7.2 E5 - END WAYBILL RECEIPT This command is used to end a waybill receipt. 5.7.2.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Command Prefix E5 - End Waybill Receipt Cmd. Extension Retry 0 = NO 1 = YES Reserved (always = ′...
5.8.3 C1 - END CREDIT CARD SLIP This command is used to end the credit card slip printing on DI station. 5.8.3.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix C1 - End Credit Card Slip Cmd.
This command starts the credit card slip printing state just as if a print credit card command had been issued. • An end or cancel credit card slip command must be issued to exit this state. Page 106 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
− For DI station is 4. • CR is the default station. • After PLD or J4/CE jumper operation, the printer returns to its default station (CR). Page 108 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.9.3 CA - PRINT AND DOWNLOAD GRAPHICS This command is used to download and print graphics. 5.9.3.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix CA - Print and Download Graphics Cmd. Extension 00 = First Print 100 DPI Packet (Note 1) 01 = First Print 200 DPI Packet (Note 1)
Page 112
TYPE LENGTH RS-485 Fiscal Unit Status 0-14 Fiscal Unit Status CA - Record Identification Return Code 43 = Good Completion 74 = Invalid Sequence --------------------------------------------------------------------------------- Page 112 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 113
Response to the Cmd. Extension 11 or 12 will be formatted as follows: --------------------------------------------------------------------------------- BYTE BYTE CONTENT TYPE LENGTH RS-485 Fiscal Unit Status 0-14 Fiscal Unit Status CA - Record Identification Return Code 43 = Good Completion 76 = Invalid Graphic Number --------------------------------------------------------------------------------- Command Set Reference —...
The leftmost pixel is the most significant bit. • The first data bytes correspond to the upper row. • The last data bytes correspond to the bottom row. Page 114 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
A bit should be set to ′1′ when the corresponding pixel is black and ′0′ when it is white. In the example • below the ′X′s are black and the ′.′s are white. Example: width = 2 (16 pixels) & heigth = 2 (16 pixels) Data Column # 1 10 11 12 13 14 15 16...
Response to the Cmd. Extension 01 will be formatted as follows: ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 0-14 Fiscal Unit Status Cash Drawer Status 00 = Open 01 = Close ----------------------------------------------------------------------- Page 116 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.10 Report Printing Commands These are the report printing commands: • 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 •...
The daily totals are loaded in the daily entry table in fiscal memory. • Up to 3840 entries in the table are available for the fiscal unit life time. Page 120 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.10.2 14 - PRINT X-REPORT This command is used to print the accumulators and counters, like the closure report, without writing anything in the fiscal memory and can be executed at any time during the day. 5.10.2.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH...
Lira, then the fiscal memory report will be printed with the closures from the first requested until the last closure done in the old Lira. Page 122 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 123
Example: * -------------------------------- * ------------------- * * First closure in FM in Old Lira * * Last closure in FM in Old Lira * 50 * * -------------------------------- * ------------------- * * First closure in FM in New Lira * 51 * * Last closure in FM in New Lira * 100 *...
5.10.5 DE - END APPLICATION-ORIGINATED REPORT This command is used to end a application-originated report (non-fiscal report). 5.10.5.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - command prefix DE - End Application-Originated Report Cmd. Extension 7-0 Reserved (always = ′ 0 x00′ ) ----------------------------------------------------------------------- 5.10.5.2 End Application-Originated Report Calculations If ′FOPENCR′...
Printing ordinary lines in DI station (EB cmd.), the message ″NOT FISCAL (msg. no. M05)″ will be printed before and after. j) The maximum number of ordinary lines in DI station (EB cmd.) are 255. 3) APPLICATION-ORIGINATED REPORT Page 126 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 127
a) An Start Application-Originated Report in CR station (DD cmd.) start with a ″*** MALi DEgERi YOK ***″ (nro. C45), header lines, date, time and non-fiscal receipt number message lines. b) An Start Application-Originated Report in CR station (DD cmd.) replicate all lines in SJ station except header lines.
Page 128
4) WAYBILL RECEIPT a) Printing ordinary lines in DI station (EB cmd.), the message ″NOT FISCAL (msg. no. M05)″ will be printed every 5 lines. Page 128 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
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
An Start Application-Originated Report in CR station (DD cmd.) start with a ″*** MALi DEgERi YOK ***″ (nro. C45), header lines, date, time and non-fiscal receipt number message lines. Page 130 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 131
b) An Start Application-Originated Report in CR station (DD cmd.) replicate all lines in SJ station except header lines. c) The maximum number of ordinary lines can be printed in CR station (EA cmd.) are 255. d) The line-feed print lines in CR station (EC cmd.) IS NOT replicated in SJ station. e) An End Application-Originated Report in CR station (DE cmd.) end with a ″*** MALi DEgERi YOK ***″...
Page 132
Printing ordinary lines in DI station (EB cmd.), the message ″NOT FISCAL (msg. no. M05)″ will be printed every 5 lines. b) The maximum number of ordinary lines in DI station (EB cmd.) are 255. Page 132 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.11 Printer Commands Ordinary printing refers to a set of commands that request the fiscal unit to print a string of data on one of the printer stations. The printer commands include: • EA - Ordinary Print Line in CR/SJ Station •...
The string TOTAL in upper, lower, or mixed case is not allowed in the EA_Description field. • The serial number is allowed in the EA_Description field. Page 134 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.11.2 EB - ORDINARY PRINT LINE IN DI STATION This command is used to print lines in document insert station. 5.11.2.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Command Prefix EB - Ordinary Print Line in DI Station Cmd.
5.11.3.2 Line Feed Rules • Line Feed requests the fiscal unit to feed the paper a specified number of lines on one of the printer stations. Page 136 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.11.4 ED - READY DOCUMENT This command is used to request the printer to advance the document in DI station. 5.11.4.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - cmd prefix ED - Ready Document Cmd. Extension 00 = Top Registration 01 = Botton Registration -----------------------------------------------------------------------...
5.11.6 E8 - SET NUMBER OF DOT ROWS PER LINE FEED This command is used to change the number of dot rows per line feed from 12 (default - 6 lines/inch) to 9 (alternate - 8 lines/inch). 5.11.6.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE...
5.11.8 F4 - HEAD POSITION & OPEN/CLOSE THROAT This command requests the printer to return the print head to right or left home position. 5.11.8.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - cmd prefix F4 - Head Position & Open/Close Throat Head Position and Throat 00 (00) = Right 01 (01) = Left...
If command byte 1 is different than those defined above, no processing is performed and no response is sent. 5.12.1.2 System Commands Rules • This command cannot be used by applications using the IBM device drivers. It is intended for device driver use only. Command Set Reference — Page 143 of 183...
If Cmd. Extension = 00 or 01 MCT Number MCT Value - High Order Byte MCT Value - Low Order Byte ----------------------------------------------------------------------- (Continued in the next page) Page 144 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 145
Diagnostic and Alignment Utilities continued ..----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH If Cmd. Extension = 03 or 0B MCT Number 1 MCT Value 1 - High Order Byte MCT Value 1 - Low Order Byte MCT Number 2 MCT Value 2 - High Order Byte MCT Value 2 - Low Order Byte 10-10 MCT Number 3...
Page 146
BYTE CONTENT TYPE LENGTH RS-485 Fiscal Unit Status 0-14 Fiscal Unit Status MCT Value - High Order Byte MCT Value - Low Order Byte ----------------------------------------------------------------------- Page 146 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.12.3 F8 - REPORT PRINTER EC This command is used to request the fiscal unit to report the printer EC level. Printer EC level is returned in the fiscal unit status. 5.12.3.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - cmd prefix F8 - Report Printer EC Cmd.
Page 148
Fiscal Memory Size 0 = 512 KB 1 = 256 KB RESERVED (always ′ 0 x00′ ) FISCAL EC LEVEL -------------------------------------------------------------------------------- (Continued in the next page) Page 148 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 149
Response to the Printer Device Information: -------------------------------------------------------------------------------- BYTE BYTE BIT CONTENT TYPE LENGTH RS-485 USB PRINTER STATUS PRINTER STATUS FISCAL STATUS & DEVICE INFO 7-1 Fiscal Status (For RS-485) Fiscal/Printer Device Info 0 = Fiscal Device Info is NOT contained in this message 1 = Fiscal or Printer Device Info IS contained in this message...
5.12.4.2 Reset Fiscal Printer Rules • This command cannot be used by applications using the IBM device drivers. It is intended for device driver use only. Page 150 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.12.5 FB - RUN DIAGNOSTICS This command is used to obtain fiscal unit and printer diagnostics. 5.12.5.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - cmd prefix FB - Run Diagnostics Cmd. Extension 7-2 Reserved (always = ′ 0 ′ ) 1-0 Unit 01 (1) = Fiscal Unit 10 (2) = Printer...
1. Country Code = x02. 2. For 4610 Hardware Model with: • RS-485 communication interface Version Code = x01 • USB communication interface Version Code = x04 Page 152 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
5.12.7 FF - DUMP RAM & FISCAL MEMORY This command is used to print the content of the RAM and fiscal memory in hexadecimal format. 5.12.7.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix FF - Dump RAM & Fiscal Memory Cmd.
Page 154
Page 154 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
This list contains information about the return code (RC=8090xxxx) in system messages. If your return code is not listed here - or - under “Return Code Descriptions” in the IBM 4690 OS Store System: Messages Guide, it is an undefined error.
Page 156
User Response: Make the total less than or equal to the maximum allowed value, issue an end transaction (06 cmd.) or cancel transaction (07 cmd.) and then issue a close sale period (13 cmd.). Page 156 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 157
018 => DOS/WINDOWS 80900118 => 4690 OS Explanation: An overflow occurred. The void 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 transaction (06 cmd.) or cancel transaction (07 cmd.) and then issue a close sale period (13 cmd.).
Page 158
User Response: Make the amount greater than or equal to the minimum allowed value, then issue an end transaction (06 cmd.) or cancel transaction (07 cmd.). Page 158 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 159
032 => DOS/WINDOWS 80900620 => 4690 OS Explanation: An underflow occurred. The sum of the uplift on subtotal operations in this sale transaction is less than the minimum allowed value. The request is not processed. User Response: Make the total greater than or equal to zero, then issue an end transaction (06 cmd.) or cancel transaction (07 cmd.).
Page 160
User Response: Make the total greater than the minimum allowed value, issue an end transaction (06 cmd.) or cancel transaction (07 cmd.) and then issue a close sale period (13 cmd.). Page 160 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 161
051 => DOS/WINDOWS 80900633 => 4690 OS Explanation: An overflow occurred. The sum of the daily operations for The uplift on subtotal daily transaction total is less than the minimum allowed value. The request is not processed. User Response: Make the total greater than the minimum allowed value, issue an end transaction (06 cmd.) or cancel transaction (07 cmd.) and then issue a close sale period (13 cmd.).
Page 162
If this error occurred during the online printer diagnostic test, it indicates that the test cannot be completed because a sale transaction is in progress. Page 162 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 163
Either have the salesperson end the transaction, or diagnose the printer problem using the offline printer test that is invoked by pressing the keys on the printer in the correct sequence. 070 => DOS/WINDOWS 80900646 => 4690 OS Explanation: Partial line feed dots are out-of-range on the line feed credit slips (C3 cmd.) The request is not processed.
Page 164
087 => DOS/WINDOWS 80900657 => 4690 OS Explanation: The printer command received by the fiscal printer is not valid. The request is not processed. User Response: Issue a valid printer command. Page 164 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 165
089 => DOS/WINDOWS 80900312 => 4690 OS Explanation: The daily entry table is full. All fiscal commands are rejected except the fiscal memory report (15 cmd.). User Response: Service the printer. 090 => DOS/WINDOWS 8090065A => 4690 OS Explanation: The requested closure number was not found in the daily entry table. The request is not processed.
Page 166
106 => DOS/WINDOWS 80900362 => 4690 OS Explanation: An unexpected command error occurred. The request is not processed. User Response: If the error continues, service the fiscal printer. Page 166 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 167
109 => DOS/WINDOWS 80900324 => 4690 OS Explanation: The fiscal memory is not connected. The fiscal unit cannot restart processing. User Response: Service the printer. When servicing, first check to ensure the cable connections on the fiscal processor card are correct. The J4/CE jumper procedure is required when the fiscal memory is reconnected.
Page 168
129 => DOS/WINDOWS 80900321 => 4690 OS Explanation: The fiscal unit is not in fiscal mode. The request is not processed. User Response: Call for service to set fiscal mode. Page 168 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 169
130 => DOS/WINDOWS 80900322 => 4690 OS Explanation: The secondary serial number is not set. The request is not processed. User Response: Service the printer. 131 => DOS/WINDOWS 80900323 => 4690 OS Explanation: A problem was detected in a display or in the configuration for the point-of-sale displays. No fiscal commands can be executed.
Page 170
User Response: Correct the application program sequence. 160 => DOS/WINDOWS 80900330 => 4690 OS Explanation: Fiscal memory is serialized. The request is not processed. User Response: No action is required. Page 170 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 171
161 => DOS/WINDOWS 80900331 => 4690 OS Explanation: The fiscal unit is in fiscal mode. The request is not processed. User Response: No action is required. 162 => DOS/WINDOWS 80900332 => 4690 OS Explanation: The new Lira was already set. The request is not processed. User Response: No action is required.
Page 172
If this error was encountered during the online printer diagnostic test, it indicates that the test cannot be completed because a sales transaction is in progress. The cancel transaction (07 cmd.) must be sent in order to complete the transaction. Page 172 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 173
184 => DOS/WINDOWS 809006B8 => 4690 OS Explanation: The command sequence is not valid. A command was requested that is not allowed during a application-originated report. The request is not processed. User Response: Check the application program sequence. 185 => DOS/WINDOWS 809006B9 => 4690 OS Explanation: An EPROM load error occurred on the printer logic card.
Page 174
CA cmd. (Cmd. Extension 10) and the issued CA cmd. (Cmd. Extension 02) again. • If the logo or set character is corrupted: Service the printer. Page 174 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
Page 175
209 => DOS/WINDOWS 809006D1 => 4690 OS Explanation: SJ cover is opened. The request is not processed. User Response: Close the SJ cover and issue the command print again. 210 => DOS/WINDOWS 809006D2 => 4690 OS Explanation: Printer DI throat is opened. The request is not processed. User Response: Close the throat and issue the command print again.
7.0 Fiscal Software and Hardware Interface Information 7.1 Supported Printer Typefaces The following bigtop print modes are supported: • 12 CPI, single high • 12 CPI, single high, emphasized • 15 CPI, single high • 15 CPI, single high, emphasized •...
Page 180
End Transaction (06 cmd.) − Only the end transaction or cancel transaction commands are accepted. • Cancel Transaction (07 cmd.) − Only the cancel transaction command is accepted. • Page 180 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
7.3 Power Line Disturbance (PLD) When a PLD occurs the fiscal unit goes into a power off state. When power is restored the microcode checks if command execution was in progress when PLD occurred. If no command was in progress a normal IPL is performed.
Page 182
Page 182 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
8.0 Suggestions for Application Developers This chapter is to suggest some hints for the application programs to improve the performance. • If the totals in regular vouchers are calculated by the application instead of be requested to the fiscal printer, generally takes less time. •...
Need help?
Do you have a question about the 4610 SureMark GR3 and is the answer not in the manual?
Questions and answers