How do I interpret this barcode ESC sequence??

  • Thread starter Thread starter John M
  • Start date Start date
J

John M

Hello,

Is there anybody out there who can tell me how to interpret this barcode ESC
sequence:
<ESC>(s4p0h35vbs24671T

The thing that puzzles me is the sub-sequence "bs". Neither b

nor s is assigned a value. Does this mean that a default value

is assigned to b and s; and if so, why not just ommit b and s

if default values are used?

Thank you...
 
You can find a description on the following page:
http://www.mecsw.com/reviews/addin/barsimm2.html#ESCAPE SEQUENCES

<ESC>(s4p0h35vbs24671T

<ESC>(s = Start of pcl font selection command
4p = readable text. 4 = print text below the code
0h = readable text font. 0 = default
35v = Height of bars. 35 * 1/72 inch
b = Width of bars (no value, use default)
s = style (no value, use default)
24671T = Typeface/barcode type (and pcl command termination). 24671 = Code
39 + Mod47 check digit
 
John M said:
Is there anybody out there who can tell me how to interpret this
barcode ESC sequence:
<ESC>(s4p0h35vbs24671T

The thing that puzzles me is the sub-sequence "bs". Neither b
nor s is assigned a value. Does this mean that a default value
is assigned to b and s; and if so, why not just omit b and s
if default values are used?

The above is equivalent to <ESC>(s4p0h35v0b0s24671T, where 0 is the
default value for these parameters. The 0b sets the primary stroke
weight to medium. The 0s sets the posture to upright, width to normal,
and structure to solid. The b and s are included to reset the values
back to the default in case some previous command has changed them. For
example, a previous PCL command may have set the font selection to bold
italic and the inclusion of bs in this string will reset that back to
normal.

Regards,
Bob Headrick, MS MVP Printing/Imaging
 
Back
Top