Programmer's Guide User guide

Programmer’s Guide | 1
25 Thermal Printer Programmer’s Guide
In this example, “aaa” is the binary size of the font to be downloaded. “FontName” is the
desired internal name of the font. The maximum length of “FontName” is 16 characters.
“bbbbb” is the desired typeface id (1-65535) used to access the font in PCL. ”data” is the
actual True Type font. Note the “TYPE” parameter must be 5 to download to the user
fonts directory in user flash. The filename should be in quotes with the leading 0: to
maintain the HP convention. The equals sign must be present as well as the lower case
ttf extension. The actual True Type font data immediately follows the <LF> terminator.
PJL FSDELETE Command
Use the PJL FSDELETE command to remove a file, command syntax is as follows:
@PJL FSDELETE TYPE=n NAME = “0:filename.ext” <LF>
PJL FSINIT Command
To format the user flash file system in case of corruption issue the following command:
<ESC>%-12345X@PJL JOB NAME = “JOB_INIT_USERFS” <LF>
@PJL FSINIT VOLUME = “0:” <LF>
@PJL EOJ <LF>
<ESC>%-12345X
This will erase the user flash system and reboot the printer. Upon restart, the empty file
system will be formatted, necessary default files copied internally, and the printer will be
reset to factory defaults. Note that the following will be deleted permanently from the
printer:
Wired, wireless and serial communication settings
SNMP settings
Time zone setting
Touch screen calibration
Internal user setup files
Internal user labels
Internal user languages files (except English)
Internal media setup files
Downloaded fonts
After reset, the touchscreen calibration procedure will appear on the display. In addition,
the services for web pages, SSH, NTP, SNMP will revert to defaults.