Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ZPL Programming: checking to see if downloaded TTF is installed

Status
Not open for further replies.

nsitech

Programmer
Apr 26, 2006
5
US
I am using a custom true type font (one not in printer by default) on a Zebra 105SL industrial label printer. The problem is that whenever the zebra is turned off/on (printer is put into service after being serviced), the TTF is lost from the DRAM location. I need some ZPL code to look for the TTF, and if it is not there to download it.

Presently, I use the print driver to load the font to memory, this process needs to be automated.

I used the ZTOOLS utility from Zebra to create a file of type: FONT__.ZST that has the following in it:

~DTR:FONT__,21124,
000005C800480F...

When I send this to the printer, nothing happens. I did notice that this command is NOT terminated (not sure it needs to be). I was also surprised that the file name ends in 'ZST'.

Any help is appreciated.
 
The font is stored in DRAM since this is what's specified in the ~DT command. R: is the DRAM memory. You could change this to store it permanently in the FLASH memory by changing it to E:

~DTE:FONT__,21124 ...

You can use the following commands to get a list of just fonts that are stored in memory.

^XA
^HWR:*.FNT
^XZ

Where R: could be E: if you choose to use the FLASH memory.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top