Word Wrap Page Width for Custom America Printer
Note: This feature was deprecated in version 10.0, meaning that we no longer offer support for it.
Included in Kiosk Pro Enterprise
Define the page width in characters of the printer and font being used for word wrapping.
Default Value: 33
This number will vary based on the printer model used, along with the print width and characters per inch set for that specific printer.
To find the print width and characters per inch currently set for the printer, you’ll need to check the printer setup.
To do this on a TG2480H, first unplug the device to power it down. Then, hold the line feed (LF) button down while plugging the printer in. As it powers up, it will print a summary of the current printer settings.
For other printers, please check the manual for instructions on how to print this diagnostic information. You can also modify the characters per inch setting for certain printers, increasing the printed font size; again for information on how to do this, please consult the manual. To find the manual for the model of printer you are using, check Custom America’s website.
Once you have these settings, you can calculate the approximate maximum characters possible for that page width.
For the TG2480H we used for testing, the printer setup page showed the following:
- Chars / inch: A = 11 B= 15 cpi
- Print Width: 76 mm
The ‘Chars / inch’ setting tells us that font A (generally the default) has 11 characters per inch (cpi) and font B has 15 cpi.
Convert print width (in this case, 76 mm) to inches (we used Google to convert -> 2.99213 inches) then multiply that by the cpi for the font you are using. In our testing, it was sometimes necessary to reduce this theoretical result by one or more to achieve correct word wrapping.
If we are using font A, this results in a maximum characters setting of 32 characters per line, which line-wrapped correctly when tested.
If we are using the more compact font B, this results in 44 characters per line, which in testing showed to be slightly too long (causing skipped lines in the resulting print job). Reducing this by two to 42 resulted in correct line wrapping.
To get a rough estimate for this setting without calculations, you can also consult the manual for your printer, looking for the ‘Character Specifications’ section which should include a table listing the ‘Number of Columns’ for each character density.
For the example above, the manual returned ‘35’ for the 11-cpi font A and ‘45’ for the 15-cpi font B. As shown above, both these would need to be reduced to achieve proper line wrap, but they are in the correct ballpark.
Values for Remote Settings Control & Managed App Configuration
Key | kp_customAmericaPrinter_pageWidthInCharacters |
---|---|
Key Type | string |
Default Value | 33 |
Change Log
Added in 5.5 version.