6
PostScript emulation
This section describes additional PostScript emulation operators that are supported when a Forms
and Bar Code Card is installed. These operators enable printing of bar code symbologies with user
specified parameters from within the PostScript data stream. This functionality is not available in the
HP BarDIMM Pro.
Defining characteristics
The following operators let you further define characteristics of the bar code:
Operator
barcodeshow
barcodebbox
barcodewidth
For more information on bar code characteristic parameters and default values, see "PostScript
emulation operator" on page 76.
Command structure considerations
Developers must be familiar with the standard that defines the bar code symbology being
implemented. The incoming data is analyzed for valid parameters, such as string length and string
characters. When an invalid condition is detected, an error message appears. For more information,
see "Bar code engine errors" on page 160.
Characteristic values, other than the default value, must be explicitly specified. If no value is
specified, then the default value is used. Previously specified non-default values are not retained.
Currentpoint positioning
Currentpoint positioning is set as follows when printing with the Forms and Bar Code Card:
•
From the currentpoint, bar code printing begins at the bottom left corner of the bounding box.
•
The currentpoint is located at the bottom right corner of the bounding box when printing is
complete.
Characteristic
Paints the specified bar code symbol
Returns the coordinates for the bounding box
Returns the x and y displacement of the currentpoint
PostScript emulation
74