home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
TEXT
/
TM12_TIP.ZIP
/
573.TXT
< prev
next >
Wrap
Text File
|
1991-12-18
|
3KB
|
68 lines
Q: How can I write a Printer Driver that will send my Laser Printer
the Setup and Rest commands it needs to print Envelopes?
A: [This is the Driver called 'LASER ENV' that is shipped with
V12.2]
Go to the Add User Defined Printer screen (F6,S,A keystrokes)
and add a new printer driver. Fill in the fields at the top with
the following information:
PRINTER ID: Laser ENV
DESCRIPTION: Envelopes on a HP Laser Compatible Printer
PRINTER TYPE: P or S
SETUP CONTROL: chr(27)+'&l1O'+chr(27)+'&l3H'
RESET CONTROL: chr(27)+'E'+chr(27)+'&l1H'
Since printer control codes are case sensitive, it is important
that the letter following the ampersand (the &) is a lower case
L. The next character is a number (either a 1 or a 3). The
character after the number must be an uppercase letter (either
an O or an H).
SETUP CONTROL, (What it does)
-----------------------------
The Setup Control sends the control commands in this field
to the printer each time this printer driver is selected.
The `chr(27)'is the command that tells your printer that the
next sequence of letters and numbers is going to be a printer
control command (in your printer manual it is shown as `ESC').
The '&l1O' places the printer in landscape mode (causing it
to print sideways).
The '&l3H' tells the printer to pull from the manual feed
tray and to wait until the manual feed button on the printer is
pressed. You may use different commands here depending on what
your printer is capable of. For instance, if your printer has
an envelop tray you could replace this command with '&l6H' which
would cause it to automatically pull envelopes from the envelope
tray. Please consult your printer manual to see what features
are available with your printer.
RESET CONTROL
-------------
These commands are given to the printer whenever you select
another printer driver (deselecting this one) or when you exit
TeleMagic.
The uppercase 'E' resets your printer back to it's power-on
defaults and the '&l1H' forces it back to portrait printing
(printing in the normal direction).
(End fo 573)
NEW 10-17-91 MLM
Indexed Under: E Envelopes, Envelopes with Printer Driver in V12
Envelopes, Laser ENV Printer Driver in V12
L LASER ENV Printer Driver in V12 P ì
Printer, Using Printer Driver "LASER ENV" in V12