Printer Commands
Using Graphics mode, you can individually turn on or off any dot on a ticket. In this manner,
you can create your own images, shapes or logos. A Graphic character is made up of one
byte of data. Graphic characters can be positioned like normal characters with row, column
commands. The first Graphics character will be printed at the row/column position selected.
Each succeeding Graphics character will be printed in the next dot column. Following
transmission of the graphics select command <G> or <G#>, the user is to send the printer
bytes of dot data for each column of data to be printed. Each byte will represent one
column of 8 dots (the MSB being the top dot) with the leftmost column being transmitted
first. A one will print as a black dot and a zero will be a blank dot. If the command <G> is
sent without a number, the bytes must be transmitted in multiples of seven. If the <G#>
command is used, then the number of bytes sent over is equal to #. In either case, the
graphics mode must be re-selected after each group of bytes is sent over. If not, the
Ghostwriter will be unable to distinguish the graphics bytes from command
Command Syntax:
<G>byte1,byte2,byte3,byte4,byte5,byte6,byte7 or <G#>byte1,byte2...byte#
5.14.10 ASCII GRAPHICS COMMAND -
This command uses ASCII characters instead of straight decimal representations of the
data. For example, a byte value of 3F hex would be sent as an ASCII byte of 3 (33H) and
an ASCII byte of F (46H). This command should only be used with computers that cannot
send non-ASCII characters to the printer as the number of bytes sent in ASCII graphics
mode is twice that sent in normal mode. (Please note that the # following the small g
command must be an even number equal to all the following bytes.)
Command Syntax:
<g#>ASCII high byte1,ASCII low byte1 ...
5.14.11 BAR CODE INTERPRETATION COMMAND - <BI>
This command will cause the bar code interpretation (human readable code) to be printed
underneath the bar code. The <BI> command is only active for the bar code immediately
following it. The interpretation is printed in font1 and is automatically adjusted depending on
the size of the bar code. The different bar code command sequences are listed under the
particular bar code supplement desired.
5.14.12 BAR CODE SELECT COMMAND - <AB#>string or <aB#>string
Old style - rotation commands have no effect on bar codes.
A= U (for upc and ean8)
A= E (for ean-13)
A= N (for three of nine)
A= F (for interleaved two of five)
A= C (for uss-codabar)
A= O (for code 128)
B= P (for picket-fence)
B= L (for ladder )
# and string vary as detailed below
5-50
byte#
238B Operator's Manual - 880053-0101
Chapter 5
sequences.
Need help?
Do you have a question about the 238B and is the answer not in the manual?
Questions and answers