HP3000-L Archives

December 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Marxmeier <[log in to unmask]>
Reply To:
Date:
Thu, 13 Dec 2001 21:18:27 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Al,

> 023300     05                        FILLER PIC X(01) VALUE %33.
> 023400     05                        FILLER PIC X(07) VALUE
> 023500        "*z4h0q<".
> 023600     05  HD02-PL-NO                   PIC X(12) VALUE SPACES.
> 023700     05                        FILLER PIC X(02) VALUE ">Z".
>
> When the program moves '1234567890' to HD02-PL-NO (line 23.6)
>    then
> the report line printed is the barcode representation of '123456789' on the
> HP2934A
>
> line 23.3 tells me (I think) that I'm dealing w/PCL
> line 23.5.....apparently esc/* kicks off a 'dots' command.
>
> I cannot find reference to the balance of that command [z4h0q<]
> anywhere...all I'm attempting here is have the same output printed to a HP
> LaserJet4100N.

This is documented in the "HP 2930 series printer manual".
As far as i remmeber this means: Output barcode (defaults to code39)
(ESC*z<DATA>Z) at a height of 4 (4h) and omitting the text label (0q).
This is specific to the HP293x and does not work on a LaserJet.

To get this work on a LaserJet you need to obtain a barcode font
(downloaded to the printer or present in a SIMM) and then change
your application. Since barcode is a font you need to switch
to the barcode font, print the data and then switch back to the
original font. Also, depending on density and size) you may need
to print the barcode more than once to have a similar size.

Please note: The Code39 data must be enclosed in asterisk (*) to
be recognized by a wand reader. This was implicit on the 2934
but is required on a LaserJet (eg. "ABC" becomes "*ABC*").


Hope this helps
Michael

--
Michael Marxmeier           Marxmeier Software AG
E-Mail: [log in to unmask]  Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.marxmeier.com/

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2