Lexmark X925 Forms and Bar Code Card Technical Reference Guide - Page 70

PostScript emulation

Page 70 highlights

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 Characteristic Paints the specified bar code symbol Returns the coordinates for the bounding box Returns the x and y displacement of the currentpoint For more information on bar code characteristic parameters and default values, see "PostScript emulation operator" on page 69. 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 "PostScript error messages" on page 153. 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. PostScript emulation 67

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170

PostScript emulation
67
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:
For more information on bar code characteristic parameters and default values, see “PostScript
emulation operator” on page 69.
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 “PostScript error messages” on page 153.
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.
Operator
Characteristic
barcodeshow
Paints the specified bar code symbol
barcodebbox
Returns the coordinates for the bounding box
barcodewidth
Returns the x and y displacement of the currentpoint