Here is an example:
The length of one page is the distance from the edge of the passbook to the centre line of the opened book, as shown above. In this case, the passbook is 85mm per leaf or page.
85mm ÷ 25.4 = 3.346 inches x 6 lines per inch = 20.08 (approx. 20).
So a PB Length value of 020/6” would be selected.
Example program or using Passbook1 mode
The following program prints lines of “H” characters across the passbook page but also shows examples of selecting Passbook1 mode of printing using the special unique programming commands:
CLS |
|
|
WIDTH LPRINT 255 | } | |
LPRINT CHR$(&H1B);”~A”; | ||
LPRINT CHR$(&H1B);”81”;CHR$(2); | } Note 1 | |
LPRINT CHR$(&H1B);”00”;CHR$(0); | } | |
LPRINT | CHR$(&H1B);”~GM”;CHR$(3);CHR$(0); | - Note 2 |
LPRINT | CHR$(&H1B);”U”;CHR$(1); | - Note 3 |
FOR A=1 TO 3 |
| |
LPRINT |
|
|
NEXT A |
|
|
GOSUB HHH |
| |
FOR B=1 TO 4 |
| |
LPRINT |
|
|
NEXT B |
|
|
GOSUB HHH |
| |
LPRINT | CHR$(&HC) |
|
END |
|
|
HHH: |
|
|
FOR C = 1 TO 14
LPRINT STRING$(30,”H”)
NEXT C
RETURN
Note 1: This section of the program sets the Skew Detection function to the “ADJUST” mode. Alternatively, this may also be adjusted using the control panel menu system instead.
- 25 -