Download 13 BARR/SPOOL Operation

Transcript
Tips for Making Table Entries
The Printer Control Data screen contains 10 entry lines that can hold
up to 20 control characters each. Follow the guidelines listed below for
entering control codes.
If you need to enter more printer control codes than will fit on this
screen, you can create files containing these codes instead of entering
them here. Use a program editor that supports entry of hexadecimal codes
to create the files, then use the Forms Overlay feature to send the codes
to the printer. Refer to section 4.7, Forms Overlay, for a detailed
description of this method.
Use the arrow keys to move around the screen.
If you make an error, you can use the ESC key to return the screen to
its original values.
When you press ENTER the new values are stored. The ESC key will
not clear stored values; you will need to type over any values you
want to replace.
Special Control Characters
In the Printer Control Data table, different types of control strings are
distinguished by special control characters. Applications for the various
control strings are described below.
Control string separator. Each control string must be terminated by
two sets of hexadecimal zeros (00 00). Strings do not have to start on
a new line. A string that begins on one line may wrap to the next line.
Control string sent before each file. A string that begins in the first
position of the table is sent to the printer at the start of every file. If
you do not want to use a global string, begin your table entries after
the first two pairs of zeros (00 00).
Control string sent after each file. A string that starts with FF is sent
to the printer at the end of every file. You may want to use a string
beginning with FF to reset the printer after each job, especially if the
printer is shared by the Barr PC and users on the network.
Control string used as a serial port input header. A string
beginning with FE is called a Serial Port Input Header and has a
82 BARR/SPOOL
4.8 Printer Control Data