Star Micronics Co., Ltd.
Star Line Mode Printer Driver – Windows 95 / 98 / Me
Copyright 2002
Version 3.11.0.0
13 / 21
Customize Control Code – Dialog Usage
All models support this dialog box. It can be opened by clicking on the Customize Control Codes button
contained on the Print Options property sheet.
Windows prints documents via the printer’s printer driver, and does so by breaking the printing process up
into 4 sections:
•
Document Top
o
Page Top
o
Page Bottom
•
Document Bottom
The options you configure determine the control codes the printer driver sends to the printer at each one of
these timing points. Via the Customize Control Codes form, you can instruct the driver to send any control
code sequence to the printer before and after each one of these timing points. This results is eight different
timing points, as shown on the Customize Control Codes form:
To use this form, simply enter the text and control codes you want sent to the printer during each timing
point.
The format for entering control codes is:
\xhh
Where hh is the two digit hex value to be sent to the printer.
You can also send plain text to the printer by simply typing it in. For example:
If you want your store address to be printed at the top of each document, before anything else, you would
enter the following into the Before Document Top field:
Store Name\x0aaddress\x0acity, state zip\x0aphone\x0a\x1b\x2d\x31www.store-url.com\x1b\x2d\x30\x0a
The printed result will be:
Store Name
address
city, state, zip
phone
www.store-url.com
Please note:
•
Only Star Line Mode commands can be used.
•
A maximum of 500 characters (following hex conversion) can be entered into each field.