Print

The print command allows you to create a custom receipt that can be printed on terminals that have a built-in printer. The printData within the request body contains the data to be printed. The printData must be ISO-8895-1 encoded. 

The printData can be formatted using control characters. Control characters must be in front of the data strings. They are in effect until another control character or “new line” (\n) is encountered. 

Below is a list of the supported control characters: 

  • \1 - Small font

  • \3 - Large font, to be used for section headers, like “Daily Summary”, “Details by Card Type” and card titles like “Visa”, “Debit”, etc

  • \B - Bold

  • \I - Inverse

  • \L - Left alignment

  • \C - Center alignment

  • \R - Right alignment

  • \n - New line

 

Sample String:

List of coding scenarios that use this endpoint:

1. Print Command

Request Structure

Response Structure

Errors

If your response contains errors, visit the Errors page for a detailed description of each one.