Subject: | |
From: | |
Reply To: | Keven Miller (rtt) |
Date: | Mon, 29 Oct 2007 22:41:47 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Michael Anderson wrote:
> I wrote a program that reads a downloaded barcode font file
>(barcode39) into a Laserjet4 NPCONFIG'd to my MPE box. I think
>the program worked because the printer light blinks a few times
>when I run the program, but I still can't get the bar codes to
>print. The documentation I have say to use the (21001 is the font
>ID number) following escape seq <ESC>(21001X*thedata*<ESC>(3@
>
> Yes, the <ESC> is actually an octal %33.
>
> This doesn't work, does anyone know how to verify that the
>barcode font is actually loaded into the printers RAM?
> <<Printing a font list only shows internal fonts>>
>
> Is there a better method to printing barcodes from MPE to an
>HP Laserjet, without the cartridge?
>
> Thanks in Advance,
> Michael Anderson.
I'm not sure why that does not work for you,
unless its not font 21001 or something is not
right on the download of the font.
I've done a similar thing in the past.
Based on the font in BAR39W14.CHARSETS.SYS, I have a softfont
file that I use just like PCLELITE.HPENV.SYS.
Its just binary PCL in the file, defining font 39, and sets it
to be the secondary font.
As a secondary font, you can switch to barcode-39 and
back to text using the shift-in ($0E) and shift-out($0F)
characters. Much like you do switching in and out of linedraw
on an hp terminal.
In separate attachment, I will send you
BAR39ENV and BARTSTLJ.
BARTSTLJ is an ascii file with the shift-in/shift-out
control chars surrounding the data.
:FILE OUT;DEV=200;ENV=BAR39ENV
:FCOPY FROM=BARTSTLJ;TO=*OUT
After I've downloaded the font to my HPLJ4+,
the Test Menu - PCL FONT list
lists my loaded softfonts first, then the internal fonts.
Keven
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|