IBM 4610 SureMark GR3 Programming Manual Supplement
IBM 4610 SureMark GR3 Programming Manual Supplement

IBM 4610 SureMark GR3 Programming Manual Supplement

Fiscal printer turkey
Table of Contents

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 4610 SureMark GR3 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for IBM 4610 SureMark GR3

  • 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...
  • Page 7: Table Of Contents

    Contents 1.0 Fiscal Hardware Technical Specification ........1.1 4610 Suremark Fiscal Printer .
  • Page 8 ........Page 8 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programming...
  • Page 9 5.5.3.1 Command Format ......... 5.5.3.2 Negative Item Sale Calculations .
  • Page 10 ........Page 10 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 11 5.11.8 F4 - HEAD POSITION & OPEN/CLOSE THROAT ..... . 5.11.8.1 Command Format ........5.12 Original Equipment Manufacturer Commands .
  • Page 12 Page 12 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 13 Figures Printer and Fiscal Unit Status - GR3/GR5 Models - Part 1 of 2 ....Printer and Fiscal Unit Status - GR3/GR5 Models - Part 2 of 2 .
  • Page 14 Page 14 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 15: Fiscal Hardware Technical Specification

    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.
  • Page 16: Fiscal Security Characteristics

    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.
  • Page 17: Fiscal Memory - A5 Pattern

    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...
  • Page 19: Printer And Fiscal Unit Status

    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.
  • Page 20: Printer And Fiscal Unit Status - Gr3/Gr5 Models - Part 2 Of

    ), 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...
  • Page 21: Version/Country Code Definitions

    2.1.1 Version/Country Code Definitions • Country 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 −...
  • Page 22: For Gb3/Gb5 Models (Usb)

    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...
  • Page 23: Printer And Fiscal Unit Status - Gb3/Gb5 Models - Part 2 Of

    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.
  • Page 24: Printer And Fiscal Unit Status - Gb3/Gb5 Models - Part 3 Of

    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...
  • Page 25: Version/Country Code Definitions

    2.2.1 Version/Country 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 Status — Page 25 of 183...
  • Page 26 Page 26 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 27: Fiscal Accounting Technical Description

    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...
  • Page 29: Pos Fiscal General Information And Rules

    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...
  • Page 31: Fiscal Accounting Variables And Command Reference

    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: •...
  • Page 32: Definition Of Transaction Accumulators

    Amount due/Change 549755813887 Tra_Tdsc Transaction discount on subtotal 549755813887 Tra_Tupl Transaction uplift on subtotal 549755813887 Where: vv = TAX category, range from 01 to 10. Page 32 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 33: Definition Of Transaction Counters

    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...
  • Page 34: Definition Of Daily Accumulators

    140737488355327 Day_DRec_VTot Daily diplomatic receipt TAX total 140737488355327 Day_DRec_CTot Daily diplomatic receipt cancel total 140737488355327 Where: vv = TAX category, range from 01 to 10. Page 34 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 35: Definition Of Daily Counters

    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 −...
  • Page 36: Definition Of Lifetime Accumulators

    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...
  • Page 37: Fiscal Hardware Functions

    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.
  • Page 38: J4/Ce Jumper Function Rules

    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...
  • Page 39: Initialization Sequence

    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...
  • Page 41: Training Mode

    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. •...
  • Page 42: Command Set Summary List

    End Credit Card Slip Line Feed Credit Card Slip 4.5.6 Fiscal Documents Print Fiscal, Return & Diplomatic Receipt Print Waybill Receipt End Fiscal, Return & Diplomatic Receipt Page 42 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 43: Reports

    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...
  • Page 45: Command Set Reference

    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.
  • Page 46: Initialization Commands

    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...
  • Page 47: Set Date And Time

    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 = ′...
  • Page 48: Set Fiscal Mode

    • 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...
  • Page 49: A - Set Display Address

    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.
  • Page 50: B - Serialize Fiscal Memory

    2 (Note 1) IBM_Manufacturing_ID ASCII 8-13 Serial_Number ASCII ----------------------------------------------------------------------- Notes: 1. Assigned by Goverment. 5.1.4.2 Serialize Fiscal Memory Rules • This procedure can be executed only once. Page 50 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 51: Load Tax Rate Table

    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.
  • Page 52: Set Department Names

    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...
  • Page 53: C4 - Fiscal Parameter Configuration

    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...
  • Page 54: D7 - Set Header

    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...
  • Page 55: Utility Commands

    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 —...
  • Page 56: Currency Management

    − 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″...
  • Page 58: Da - Electronic Read Fiscal Memory Tables

    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...
  • Page 62: Db - Electronic Read Counters And Accumulators

    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...
  • Page 63: Response To The Electronic Read Counters And Accumulators

    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...
  • Page 71: F1 - Communicate Power On Status

    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...
  • Page 72: F7 - Command Buffer Management

    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...
  • Page 73: Example: Command Buffer Management - Additional Information Response

    • Command = 1 byte • Command Extension = n0 bytes • Command Data = n1 bytes 3. Additional Data Length is n2 bytes where: • Command Response = n2 bytes • n2 = 129 - (Type + Command + Command Extension + Command Data + Fiscal Unit Status) 4.
  • Page 74: F9 - Report Current Status

    BYTE BIT CONTENT TYPE LENGTH 1B66 - cmd prefix F9 - Report Current Status Cmd. Extension 7-0 Reserved (always = ′ 0 x00′ ) ----------------------------------------------------------------------- Page 74 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 75: Sales Period In Progress Commands

    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 •...
  • Page 76: General Fiscal Voucher Rules

    − 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...
  • Page 77: Print Header

    5.5.1 01 - PRINT HEADER This command is used to print the header in CR station. 5.5.1.1 Command Format ----------------------------------------------------------------------- BYTE CONTENT TYPE LENGTH 1B66 - cmd prefix 01 - Print Header Cmd. Extension 7-0 Reserved (always = ′ 0 x00′ ) ----------------------------------------------------------------------- Command Set Reference —...
  • Page 78: D2 - Item Sale

    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...
  • Page 79: Item Sale Rules

    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).
  • Page 80: Command Format

    Tra_Tot_v(vv) = Tra_Tot_v(vv) − D3_Amount − According to the negative item type: Tra_N_Void = Tra_N_Void + 1 Tra_Void_v(vv) = Tra_Void_v(vv) + D3_Amount Tra_Void = Tra_Void + D3_Amount Page 80 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 81: Negative Item Sale Rules

    Tra_N_Bonu = Tra_N_Bonu + 1 Tra_Bonu_v(vv) = Tra_Bonu_v(vv) + D3_Amount Tra_Bonu = Tra_Bonu + D3_Amount Tra_N_Disc = Tra_N_Disc + 1 Tra_Disc_v(vv) = Tra_Disc_v(vv) + D3_Amount Tra_Disc = Tra_Disc + D3_Amount Tra_N_Empt = Tra_N_Empt + 1 Tra_Empt_v(vv) = Tra_Empt_v(vv) + D3_Amount Tra_Empt = Tra_Empt + D3_Amount •...
  • Page 82: D4 - Subtotal/Total Transaction

    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...
  • Page 83: D5 - Payment

    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)
  • Page 84: Payment Rules

    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...
  • Page 85: D8 - Not Paid

    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.
  • Page 86: Not Paid Rules

    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...
  • Page 87: D9 - Discount/Uplift On Subtotal

    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...
  • Page 88: Discount/Uplift On Subtotal Rules

    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...
  • Page 89: End Transaction

    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...
  • Page 90 Tra_Tot = 0 Tra_Payment = 0 Tra_Pay_Type_0 = 0 Tra_Pay_Type_1 = 0 Tra_Pay_Type_4 = 0 Tra_Void_v(vv) = 0 Tra_Void = 0 Tra_Bonu_v(vv) = 0 Tra_Bonu = 0 Page 90 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 91: End Transaction Rules

    Tra_Disc_v(vv) = 0 Tra_Disc = 0 Tra_Empt_v(vv) = 0 Tra_Empt = 0 Tra_Tdsc = 0 Tra_Tupl = 0 Tra_Amt_Due = 0 for values of vv ranging from 1 to the maximum values • Clearing Transaction Counters Tra_N_Void = 0 Tra_N_Disc = 0 Tra_N_Bonu = 0 Tra_N_Empt = 0 Tra_N_Tdsc = 0...
  • Page 92: Cancel Transaction

    Tra_Disc_v(vv) = 0 Tra_Disc = 0 Tra_Empt_v(vv) = 0 Tra_Empt = 0 Tra_Tdsc = 0 Tra_Tupl = 0 Tra_Pay_Type_0 = 0 Tra_Pay_Type_1 = 0 Tra_Pay_Type_4 = 0 Page 92 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 93: Cancel Transaction Rules

    Tra_Payment = 0 Tra_Amt_Due = 0 for values of vv ranging from 1 to the maximum 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 •...
  • Page 94: Fiscal, Return & Diplomatic Receipt In Progress Commands

    E0 - Print Fiscal, Return & Diplomatic Receipt • E3 - End Fiscal, Return & Diplomatic Receipt • 0F - Cancel Fiscal, Return & Diplomatic Receipt Page 94 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 95: E0 - Print Fiscal, Return And Diplomatic Receipt

    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.
  • Page 96: E3 - End Fiscal, Return And Diplomatic Receipt

    If Fiscal Receipt Day_N_FRec = Day_N_FRec + 1 Day_FRec_Tot = Day_FRec_Tot + E3_Amount Day_FRec_VTot = Day_FRec_VTot + E3_V A T _Amount • If Return Receipt Page 96 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 97 Day_N_RRec = Day_N_RRec + 1 Day_RRec_Tot = Day_RRec_Tot + E3_Amount Day_RRec_VTot = Day_RRec_VTot + E3_V A T _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_V A T _Amount Command Set Reference —...
  • Page 98: Cancel Fiscal, Return And Diplomatic Receipt

    Day_N_CRrc = Day_N_CRrc + 1 Day_RRec_CTot = Day_RRec_CTot + 0F_Amount • If Diplomatic Receipt Day_N_DRec = Day_N_DRec + 1 Day_N_CDrc = Day_N_CDrc + 1 Day_DRec_CTot = Day_DRec_CTot + 0F_Amount Page 98 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin...
  • Page 99: Waybill Receipt In Progress Commands

    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: E2 - Print Waybill Receipt

    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...
  • Page 101: E5 - End Waybill Receipt

    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 = ′...
  • Page 102: Cancel Waybill Receipt

    111 = Reserved 4-15 11_Amount ASCII ----------------------------------------------------------------------- 5.7.3.2 Cancel Waybill Receipt Calculations Day_N_CWbl = Day_N_CWbl + 1 Day_N_WBill = Day_N_WBill + 1 Day_WBill_CTot = Day_WBill_CTot + 11_Amount Page 102 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 103: Credit Card Slip In Progress Commands

    5.8 Credit Card Slip in Progress Commands The credit card slip in progress commands include: • C0 - Print Credit Card Slip • C1 - End Credit Card Slip • C3 - Line Feed Credit Card Slip 5.8.1 Credit Card Slip Rules •...
  • Page 104: C0 - Print Credit Card Slip

    Landscape orientation at 15 CPI to 86 characters. Landscape orientation at 12 CPI to 68 characters. 5.8.2.2 Print Credit Card Slips Rules • Credit card slip is printed in DI station. Page 104 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 105: C1 - End Credit Card Slip

    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.
  • Page 106: C3 - Line Feed Credit Card Slip

    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...
  • Page 107: Miscellaneous Commands

    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: C8 - Set Barcode Parameters

    − 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...
  • Page 109: C9 - Print Barcode

    5.9.2 C9 - PRINT BARCODE This command is used to print barcode. 5.9.2.1 Command Format ----------------------------------------------------------------------- BYTE BIT CONTENT TYPE LENGTH 1B66 - Cmd Prefix C9 - Print Barcode Cmd. Extension Reserved (always = ′ 0 ′ ) HRI font (Note 1) 1 = 12 CPI 0 = 15 CPI...
  • Page 110 — Outside of fiscal vouchers, application-originated reports, fiscal receipts, return receipts, diplomatic receipts or waybill receipts. − Outside Sale Period — Inside of application-originated reports. — Outside of application-originated reports. Page 110 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 111: Ca - Print And Download Graphics

    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 —...
  • Page 114: Print Graphics Flow

    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...
  • Page 115: Print Graphic Example

    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...
  • Page 116: Cd - Cash Drawer Management

    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...
  • Page 117: Report Printing Commands

    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 •...
  • Page 118: Close Sale Period (Z-Report)

    6 * 03 * 4 * 08 * 4 * 06 * 4 * 10 * 2 * 07 * 2 * 09 * ----------------------- Page 118 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 119 − In W_Day_Tot_r(rr) is accumulated all Day_Tot_v(vv) with the same TAX rate. Example: ------------------------- * rr * TAX * W_Day_Tot_r * * Rate * * -- * ---- * ----------- * * 01 * 10 * * 02 * * 03 * * 04 * * 05 * -------------------------...
  • Page 120: Close Sale Period Rules

    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...
  • Page 121: Print X-Report

    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...
  • Page 122: Fiscal Memory Report

    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 *...
  • Page 124: Dd - Start Application-Originated Report

    7-2 Reserved (always = ′ 0 ′ ) 1-0 Station & Orientation Print 00 = CR 01 = SJ 10 = DI - Landscape 11 = DI - Portrait ----------------------------------------------------------------------- Page 124 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 125: De - End Application-Originated Report

    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′...
  • Page 126: General Application-Originated Lines And Reports Rules

    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...
  • Page 133: Printer Commands

    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 •...
  • Page 134: 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...
  • Page 135: Eb - Ordinary Print Line In Di Station

    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.
  • Page 136: Ec - Line Feed

    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...
  • Page 137: Ed - Ready Document

    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 -----------------------------------------------------------------------...
  • Page 138: Ee - Cut Customer Receipt

    EE - Cut Customer Receipt Cmd. Extension 7-2 Reserved (always = ′ 0 ′ ) 1-0 Guillotine 00 = Partial Cut 01 = Partial Cut ----------------------------------------------------------------------- Page 138 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 139: E8 - Set Number Of Dot Rows Per Line Feed

    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...
  • Page 140: Ef - Document Eject

    Cmd. Extension 7-1 Reserved (always = ′ 0 ′ ) Orientation Print and Direccion 0 = Portrait - Forward 1 = Portrait - Reverse ----------------------------------------------------------------------- Page 140 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 141: F4 - Head Position & Open/Close Throat

    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...
  • Page 142: Original Equipment Manufacturer Commands

    • FA - Reset Fiscal Printer • FB - Run Diagnostics • FC - Report Microcode EC • FF - Dump RAM & Fiscal Memory Page 142 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 143: System Commands

    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...
  • Page 144: E7 - Diagnostic And Alignment Utilities

    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...
  • Page 147: F8 - Report Printer Ec

    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...
  • Page 150: Fa - Reset Fiscal Printer

    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...
  • Page 151: Fb - Run Diagnostics

    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...
  • Page 152: Fc - Report Microcode Ec

    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...
  • Page 153: Ff - Dump Ram & Fiscal Memory

    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...
  • Page 155: Fiscal Unit Return Codes

    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.
  • Page 176: Return Code Conversion Table (4690 Os To Dos/Windows)

    80900363 80900209 80900401 80900210 80900410 80900211 80900411 80900212 80900421 80900213 80900425 80900220 80900521 80900221 80900522 80900222 80900524 80900224 80900525 80900225 80900526 80900226 80900527 80900227 80900527 Page 176 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 177 Table 10 (Page 2 of 2). 4690 OS to DOS/WINDOWS Return Code Conversion Equivalent 4690 OS Return Code DOS/WINDOWS Return Code 80900528 8090061B 8090061C 8090061F 80900620 80900628 80900629 8090062A 8090062B 8090062C 8090062F 80900630 80900631 80900632 80900633 80900634 80900635 8090063A 8090063B 8090063D 80900643 80900646...
  • Page 178 Page 178 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi...
  • Page 179: Fiscal Software And Hardware Interface Information

    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...
  • Page 181: Power Line Disturbance (Pld)

    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...
  • Page 183: Contents

    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. •...

This manual is also suitable for:

4610 suremark gb34610 suremark gr54610 suremark gb5

Table of Contents