This chapter describes the most important parameters and the relation to other parameters.
A complete list of parameters can be found in Parameters.
The description of the parameters below assume the paper goes unhindered through the printer. - BM means Blackmark - Pnn refers to the parameter with number nn |
Parameter 0, PAGE_MODE:
•If P0 is set to zero (0), the ticket will use as many times the page length specified in P7 as needed to print all the text. Blackmarks will be ignored.
The printer will still try to find a blackmark! |
oIf P7 is larger than or equal to P5 + ticket width + P6, you will get one page.
oIf P7 is smaller than P5 + ticket width + P6, you will get two pages.
oP8, P9, P10, and P11 are ignored
oIf P13 < the actual blackmark distance the error "Blackmark not found" is triggered
oif P13 = the actual blackmark distance the error "Blackmark not found" is triggered when the paper slips the slightest
oIf P13 > P7 + P15 (cutter distance) - P5 (pre-margin) the "Blackmark not found" will never be triggered.
If you want an event when the printer is out of paper or the paper is stuck but skip the event for the paper slipping. Set the values according the formula below:
BM distance <= P13 <= (x*P7) + P15 - P5
Normally you will specify P7 so it fits all your normal tickets setting the x in the formula to 1. Only specific tickets like the Collection ticket will use multiple pages.
Remember that the S5 terminal does not support printing tickets longer than 100 mm with the door closed due to the ticket outlet. |
•If P0 is set to 1, the paper will be cut at the next blackmark + the offset before and after the printed ticket. This may skip a blackmark. the offset is specified in parameter 8.
oIf the sum of P5 + ticket width + P6 is smaller than or equal to the blackmark distance, the paper length will be equal to one distance between blackmarks. The exact cutting location depends on P8.
oIf the sum of P5 + ticket width + P6 is larger than the blackmark distance, the paper length will be equal to two blackmark distances. The exact cutting location depends on P8.
oP7 is ignored.
oP8 specifies where the paper is cut compared to the location of the blackmark.
oP9, P10, and P11 specify the different blackmark sizes.
oP13 must be equal or larger than the actual blackmark distance.
oP15 can be used to fine tune the cutting location. We recommend keeping the standard value of 115.
oIf for some reason the ticket is cut on a blackmark to early you can adjust the parameters P5 and P6 to shift the area where the ticket is printed a bit to the right. This gives a bit more space to cut.
•If P0 is set to 2, the paper will be cut after the text + the specified margin in P6. The printed ticket may be shorter than the page length specified in P7. Blackmarks will be ignored.
The printer will still try to find a blackmark! |
oThe cutting location is determined with P5 + ticket width + P6.
oP7, P8, P9, P10, and P11 are ignored
oIf P13 < the actual blackmark distance the error "Blackmark not found" is triggered.
oif P13 = the actual blackmark distance the error "Blackmark not found" is triggered when the paper slips the slightest.
Set the value of P13 according to the formula below. The higher the value the more slipping is allowed before triggering the event. If you want an event when the printer is out of paper or the paper is stuck but skip the event for paper slipping, set the highest value.
If P13 is set to a value larger than the largest in the formula, the event ‘blackmark not found’ will never be triggered
BM distance <= P13 <= P5+ ticket width + P6 + P15 - P5
Normally you will specify P13 so it fits the wished behaviour with your normal ticket width. Only specific tickets like the collection ticket will be longer and may trigger a ‘blackmark not found’ event with the same slipping that would not trigger the event for a normal ticket
Remember that the S5 terminal does not support printing tickets longer than 100 mm due to the ticket outlet. |
Parameter 5 and 6, PRE- and POST-MARGIN
These parameters specify the white-space to be used before and after the content of the ticket
Parameter 7, PAGE_LENGTH:
P7 set the length of a page. The width and Height attributes from the TICKET element specify the size of a ticket.
As common rule, the page length should be set to the ticket width plus the margins specified in parameters 5 and 6 or longer. If the length of the ticket including the margins is longer than the defined page length, even if it is only by1 step/pixel, you will get 2 pages.
P7 is ignored when setting parameter 0 to 1 or 2.
Parameters 9, 10, and 11, BM_LENGTH
These parameters specify the size of the blackmark.
•P9 specifies the normal length of a blackmark
•P10 specifies the length of the first Paper_Near_End blackmark
•P11 specifies the length of the second Paper_Near_End blackmark
Parameter 13, BM_FAULT_STEPS
Common notes on this parameter:
The printer always tries to find the blackmark independent of other settings. If the blackmark is not found on the specified location, the printer goes out of order and the terminal enters partial error when a ticket must be printed.
•If P13 is smaller than the actual blackmark distance, the error "Blackmark not found" is triggered
•if P13 is equal to the actual blackmark distance, the error "Blackmark not found" is triggered when the paper slips the slightest
•If the paper slips often you may choose to set P13 to a larger value. This may also be an indication the printer and paper supply may need some maintenance. The printer itself is maintenance free but some paper bit may have got stuck in the inlet. Also, verify that the paper roll can roll freely.
Parameter 15, CUTTER_DIST
With this parameter you can adjust the distance between the printing head and the cutter knife. The distance can differ slightly from printer to printer. This will affect where the paper is cut when using blackmarks. It can happen that the paper is cut somewhere in the blackmark. To adjust this, you can decrease the value with 1 step at a time and try again. If the distance is set too short, you will get 2 pages. We recommend leaving the value to its default of 115.