Microsoft KB Archive/117465

= Sending Printer Code with Separator Page =

Article ID: 117465

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft LAN Manager 2.2 Standard Edition
 * Microsoft LAN Manager 2.2a
 * Microsoft LAN Manager 2.2b

-



This article was previously published under Q117465



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):


 * 1) Turn on the numlock
 * 2) Hold down the ALT key
 * 3) On the numeric keyboard type 027.
 * 4) Release the ALT key

