Legacy Font Download Program & filePro

Bob Rasmussen ras at anzio.com
Thu Apr 5 10:53:40 PDT 2007


On Thu, 5 Apr 2007, Nelson D. Coleman wrote:

> I have tried building a text file using <CTRL><P> in the dos edit 
> program to insert an ESCAPE and the character strings shown by the PCL 
> Font List reported back from the printer.  Here is an example of the 
> first .USP loaded in to the printer as reported back by the printer: 
> LGOTHIC 16/67/9/5 <esc>(0U<esc>(s0p16.67h9.5v0s0b6t  SOFT 1 (DFont ID 
> 0.)  I assume that all I need is <esc>(0U<esc> and the balance is a 
> remark or comment.

First, a couple of corrections:

1. Your sequence above should have an uppercase T in it. This is 
important.

2. You need the whole sequence, not just the <esc>(0U<esc>. The whole 
sequence selects the font by characteristics, including height (9.5), 
pitch (16.67), and typeface (6). 

3. If your printer contains a builtin font for Letter Gothic, it should 
fall back to that. If it is scalable, it should result in approximately 
the right size. Note that the number before the "T" is the typeface, but 
only the least 12 bits are relavent. That is why 6 is equivalent to 4102 
(4102 ANDed with hex FFF gives 6).

Now to the root of the problem. You have to send more to the printer than 
just the font file. For each file, you need to designate an ID and 
preferably make it permanent. So for each font file, load the following:

<Esc>*c<n>D
<contents of file>
<Esc*c<n>d5F

Where <n> is a different number for each font. Do not include any returns 
or linefeeds.

The first sequence sets the font ID, which will then be attached to the 
soft font contained in the following file.

The ending sequence resets the font ID, and then makes the font permanent. 
On my printer, if I print a font list, it includes permanent fonts but not 
temporary fonts. This also then shows the proper selection sequence for 
each font.

If you don't specify a different font ID, the downloaded font will 
overwrite the existing font with the same ID, which is zero by default. So 
only your last font downloaded would be available, I think.

Hope this helps.

Regards,
....Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: ras at anzio.com
 company e-mail: rsi at anzio.com
          voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
            fax: (US) 503-624-0760
            web: http://www.anzio.com


More information about the Filepro-list mailing list