SUMMARY
Page 159 of the "Microsoft LAN Manager Administrator's Guide" describes
using an @H entry in a user-defined separator file to send printer
command sequences. The @H requires hexadecimal command sequences. You can
send printer commands as text using the @L field. Since most printer
manuals list their printer command sequences in text, the @L method is
easier to use.
Here are two examples of @L modifications to the sample separator file,
taken from the Administrator's Guide. They are in Hewlett-Packard Printer
Control Language(PCL), and will work with all LaserJet family printers.
EXAMPLE 1: SENDING A RESET (EscE)
@
@L027E NEW LINE. It is case sensitive.
@B@S@N@4
@I@4
@U@D
@E
EXAMPLE 2: CHANGE TO LANDSCAPE MODE (Esc&l0O)
@
@L027&l0O Ends in lowercase l, zero, and a capital O.
@B@S@N@4
@I@4
@U@D
@E
PCL commands are case sensitive. Refer to your printer's manual for other
printer commands. The 027 in the example is equal to the command ESC. All
HP printer commands will start with ESC.
To create the 027(ESC):
- Turn on the numlock
- Hold down the ALT key
- On the numeric keyboard type 027.
- Release the ALT key