Printer
How to get the receipt printer ready and what each option in Settings › Printer does.
The Smart Safe Client prints a receipt at the end of each operation when a printer is chosen and Auto-print after transactions is checked. Everything is set up in Settings › Printer. Profiles with the Printer permission can open it: by default, Administrator, Manager and Technician.
There is no Save button: each change is saved on its own, right away.
Quick setup
If you answered Yes to the printer question during installation, the printing system is already set up.
Connect the printer over USB and turn it on.
In Settings › Printer, tap Detect & configure printer. “Printer … configured and selected.” must appear.
If Use the recommended settings for this printer appears, check it.
Tap Test Print and check the sheet (see How to read the test page)
Each option, one by one
The images are of an inkjet printer on Linux: they help you find each option on the screen; they are not a configuration to copy.
Printer Configuration
| Option | What it does and what to choose |
|---|---|
| Select Printer | The receipt printer. The list shows the printers the computer knows; (Default) marks the system's default printer. With No printer selected, receipts do not print on their own and Test Print is grayed out. Whatever is printed from the Reports or the Inventory screen still goes to the system's default printer. |
| Use the recommended settings for this printer | Appears only with the printers tested by GLORY: EPSON TM-T20 (for example, the TM-T20X) and CUSTOM PLUS2. Checking it applies, all at once, the settings that work on that model (the table below lists them). It does not change the chosen printer or automatic printing. If you uncheck it before leaving the screen, everything goes back to how it was. If it says they are already in use, there is nothing to do. |
| Paper Width | The width of the paper roll: 42 mm, 50 mm, 58 mm, 80 mm or Full page. The number in parentheses is how many characters fit on a line. Measure the roll: most receipt printers use 80 mm; the CUSTOM PLUS2 uses 58 mm. |
| Number of Copies | How many times each receipt prints, from 1 to 10. Each copy is cut on its own. |
| Blank lines before cut (0-5) | Empty lines at the end of the receipt, so that the last printed line clears the cutter or the tear bar. If the last line is cut off or stays inside the printer, raise the number. |
| Auto-print after transactions | It comes checked. When unchecked, no receipt prints when operations finish, and the yellow notice “The receipt was not printed” appears. You can still reprint from the Reports screen. |
| Print Mode | RAW (direct, fast): the Smart Safe Client builds the receipt and sends it to the printer as is. On Linux it is the only option. GDI (the printer's driver, compatible): Windows only; the receipt goes through the Windows driver. On Windows, always choose GDI. With GDI, of the thermal options below only Columns per line is used: the driver decides the rest. |
Thermal Printer Options
They are for receipt (thermal) printers in RAW mode.
| Option | What it does and what to choose |
|---|---|
| Printer commands | The language the Smart Safe Client uses to talk to the printer. ESC/POS (Epson and compatibles): the one used by the vast majority of receipt printers, EPSON included. CUSTOM PLUS II (native): only for the CUSTOM PLUS2; with every print the Smart Safe Client sends it the columns, the direction and the character table, and nothing needs to be set up on the printer. With CUSTOM PLUS II, ESC/POS Mode, Cut Mode and Print Logo are grayed out. |
| ESC/POS Mode (Thermal Printers Only) | Check it with receipt printers; leave it unchecked with inkjet or laser printers. When checked, the Smart Safe Client uses the printer's commands: the paper cut, the character table and the logo. Detect & configure printer checks it automatically when it finds a receipt printer. |
| Cut Mode | What happens at the end of the receipt: Form feed only (default), ESC/POS full cut (cuts the paper), ESC/POS partial cut (cuts it almost all the way, leaving a tab) or No cut. It works with ESC/POS Mode checked. Choose what your printer has: the TM-T20X uses ESC/POS partial cut; a printer with no cutter, only a bar to tear off the paper, goes with No cut. |
| Character Encoding | The printer's table of letters: it decides whether accents, the ñ and the ¿ ¡ signs come out right. Options: UTF-8 (modern printers), Windows-1252, ISO-8859-15, CP850 and CP437. With receipt printers, CP850 works on the TM-T20X and on the PLUS2. With inkjet or laser, UTF-8. CP850 and CP437 need ESC/POS Mode: if it is not checked, the screen warns you. |
| Columns per line | Leave it empty: it uses the characters of the paper width (the gray text shows how many). Fill it in only if, on the test page, the Column ruler breaks before it ends: type the number where it breaks. |
| The printer puts the first line at the bottom (print last line first) | Check it if, with the test page in your hand and the text readable, “LAST LINE” is at the top. This happens with printers that leave the receipt hanging from the slot in the cabinet. The lines are then printed from last to first and the logo is not printed. |
| Print Logo | Prints the GLORY logo at the top of the operation receipts and of the test page (not on reports). It can only be checked with ESC/POS Mode checked, ESC/POS commands and the previous option unchecked. |
With CUSTOM PLUS II (native) the screen looks like this, with the options that are not used grayed out:
Available printers and buttons
Available Printers shows the printers the computer knows, with Default (the system's default printer), Shared and the driver. It is only for looking: the printer is chosen above, in Select Printer.
| Button | What it does |
|---|---|
| Detect & configure printer | Linux only. Looks for the first connected USB printer, creates its print queue and leaves it chosen. While it works it says Detecting... and does not let you change screens. |
| Test Print | Prints the test page on the chosen printer. |
| Read printer | Reads what the computer and the printer report (model, paper, cover, print queue) without printing anything. The result comes out in English: it is for support. Tap it, tap Copy and paste it into the ticket. |
| Refresh | Reads the list of printers again. Use it after connecting or installing a printer. |
What Detect & configure printer can say:
| Message | What to do |
|---|---|
| “Printer … configured and selected.” | Done. Continue with Test Print. |
| “No USB printer detected. Connect the printer and try again.” | Check the USB cable and that the printer is on. Try another USB port and tap again. |
| “The printing system (CUPS) is not installed.” | Run the installation command again and answer Yes to the printer question. |
| “Could not create the print queue.” | Run the installation command again and answer Yes to the printer question. If it still happens, open a ticket |
| “Could not configure the printer automatically.” | Tap again. If it still happens, use Read printer and open a ticket with the result. |
How to read the test page
Test Print shows “Test print sent successfully to …”: it means the computer received the request, not that the paper came out. Always look at the sheet.
The sheet starts with >>> FIRST LINE and ends with <<< LAST LINE. In the middle it has a Column ruler (numbers in a row), the configuration (some lines in English: that is normal) and a line of Special characters with accents, ñ and signs.
| On the sheet | What to change |
|---|---|
| The Column ruler breaks before it ends, or the lines carry on to the line below. | In Columns per line, type the number where the ruler breaks. |
| “LAST LINE” is at the top with the text readable. | Check The printer puts the first line at the bottom. |
| The accents, the ñ or the signs come out wrong. | Change the Character Encoding: CP850 on receipt printers, UTF-8 on inkjet or laser. On Windows, use GDI mode. |
| The last line is cut off or stays inside the printer. | Raise Blank lines before cut. |
| Nothing comes out. | Check that the printer is on, has paper and is connected. On Linux, tap Detect & configure printer; on Windows, print a test page from Windows. |
Recommended settings
This is what the Use the recommended settings option applies. It also works for setting things up by hand.
| Option | EPSON TM-T20X | CUSTOM PLUS2 |
|---|---|---|
| Print Mode | RAW on Linux, GDI on Windows | RAW |
| Printer commands | ESC/POS | CUSTOM PLUS II (native) |
| ESC/POS Mode | Checked | Not used |
| Paper Width | 80 mm | 58 mm |
| Character Encoding | CP850 | CP850 |
| Cut Mode | ESC/POS partial cut | No cut |
| Blank lines before cut | 3 | 4 |
| Columns per line | Empty | Empty |
| The printer puts the first line at the bottom | Unchecked | Checked (receipt hanging from the slot) |
If the receipt does not print
- Check that the printer is on, has paper and is connected.
- Select Printer must show the printer, not No printer selected.
- Check that Auto-print after transactions is checked.
- A receipt can be printed again from the Reports screen: open the operation and tap Reprint receipt (the permission to reprint is needed).
Next step
Save a backup of the configuration first, as Import and export explains. Then:
- If the operations have to reach a cash-in-transit company's system, or the customer wants notices by e-mail: 6. Integrations
- If not: 7. Operation