Print Request Message (Tran Type 36-45)
The Print Request message allows devices with integrated printers running the standard (non-Pay@Table) Simplify application to print receipts. Simplify will accept a Print Request message when the PIN Pad is in the Closed/Idle state. For all other states, the Simplify response will indicate that Simplify is busy (field 5110 = 2).
Maximum overall message size is 4K bytes, including all formatting and function characters.
Print data is sent in fields 5107 (Receipt 1) and 5108 (Receipt 2). ). Text must be sent in blocks of no more than 58 bytes. ASCII characters 127-255 can be printed using UTF-8 encoding. See Format table for Fields 5107/5108 for details.
The Print Request message is currently supported on Move 5000 PIN Pads.
5107/5108 Format (Request)
Note: terms enclosed by brackets ([ ]) below are not meant to be taken literally.
API Field # | Description |
---|---|
5107 | Receipt 1 encoding flag (optional), commands and print data Formatting rules are as follows:
|
5108 | Receipt 2 print data and commands Same format as API 5107. |
Sample Messages
Request (to demonstrate available formatting)
API Field #, Value | Description |
---|---|
0001,36 | Transaction Type. A value of 36 indicates a Non-Financial transaction |
0011,xxx.. | User Data. See Simplify-Controlled Field Definitions. |
5107, [see value below] | Receipt 1 print data and commands (see 5107/5108 format table above) |
5111, Printing Receipt | Message displayed on PIN Pad during printing. |
5107,~~FORMAT16221#SAMPLE PRINT MESSAGES#~~FORMATx41xx##Normal Style Monospace Centered#~~FORMATxx2xx#Bold Style Monospace Centered#~~FORMATxx1x2#Inverted Monospace Centered#~~FORMATxx1x1#~~BEEP##~~PAUSE#~~DISPLAYPress Enter to Continue#~~FORMAT2511x#Normal Style Proportional Left#~~FORMATxx1x2#Inverted Proportional Left#~~FORMAT14121##~~SIGNATURE#~~EJECT#
After receiving the above request, Simplify will print the following:
Request (to print Merchant and Customer Receipts)
API Field #, Value | Description |
---|---|
0001,36 | Transaction Type. A value of 36 indicates a Non-Financial transaction |
0011,xxx.. | User Data See Simplify-Controlled Field Definitions. |
5107,[see value below] | Receipt 1 print data and commands (see format table above) |
5108,[see value below] | Receipt 2 print data and commands (see format table above) |
5111, Printing Receipt | Message displayed on PIN Pad during printing. |
5107,~~DISPLAYPrinting Receipt#~~FORMAT26121#Simplify Receipt Example#~~FORMAT25121#1493 Hacienda Dr, Pleasanton##Merchant Copy#~~FORMAT15221##~~FORMAT26121#Subtotal: 26.00##~~FORMAT25111#Merchant ID : 7734#Terminal ID : TSTLA3#Card No. : XXXXXXXXXXXX0002#Expiry Date: 12/22#Card Type : VISA#Trans Type : SALE#Trans Time : 10/15/2019 08:39:31#Trace No. : refnum.#RRN : 100161000312#Auth Code : 000052##App Label : Personal Account#AID : A000000025010801#AC : 52A80ACE8E0D9CA4##AMOUNT : USD26.00#APPROVAL##~~FORMAT14121#~~SIGNATURE#~~EJECT##~~PAUSE#~~DISPLAYTear Receipt press ENTER#~~PAUSE5#
5108,~~FORMAT26121#Simplify Receipt Example#~~FORMAT25121#1493 Hacienda Dr, Pleasanton##Customer Copy###~~FORMAT25111#Merchant ID : 7734#Terminal ID : TSTLA3#Card No. : XXXXXXXXXXXX0002#Expiry Date: 12/22#Card Type : VISA#Trans Type : SALE#Trans Time : 10/15/2019 08:39:31#Trace No. : refnum.#RRN : 100161000312#Auth Code : 000052##App Label : Personal Account#AID : A000000025010801#AC : 52A80ACE8E0D9CA4##AMOUNT : USD26.00#APPROVAL##~~FORMAT25122#Thank you for your patronage#~~FORMAT25121##~~EJECT#
After receiving the above request, Simplify will print the following receipts:
Response
An example of a possible Print Request response message (from Simplify to the POS) is:
API Field #, Value | Description |
---|---|
0001,36 | Transaction Type. A value of 36 indicates a Non- Financial transaction |
0011,xxx.. | User Data. See Simplify-Controlled Field Definitions. |
5110,00 | Response Code (00 = Success; 01 = Error; 02 = Busy) |