Sending Printer Code with Separator Page

ID: Q117465


The information in this article applies to:
  • Microsoft LAN Manager, versions 2.2, 2.2a, 2.2b


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



REFERENCES

"Microsoft LAN Manager Administrator's Guide," page 159.

Additional query words: 1.00 1.10 2.20 2.20a 2.20b

Keywords :
Version : :2.2,2.2a,2.2b
Platform :
Issue type :


Last Reviewed: November 9, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.