YesNoJust BrowsingFeedback
Hewlett-Packard
WW
Search cposupport or Search All HP
Support Guide
Customer Care HOME

This Support Site

HP LaserJet Printers - How to Enter Escape Sequences in UNIX (R)

    ISSUE: Entering escape sequences in UNIX (R).

    SOLUTION: The procedure to enter PCL, HP-GL/2, and PJL commands in a UNIX environment is the same as for the DOS environment in every aspect, except for the escape character itself. The procedure for entering the escape character is detailed below.

          1. At any UNIX prompt, type: vi

          (this brings up the vi editor)

          2. While in vi, type: I

          (this enters into insert mode)

          3. Type: <ctrl>V

          (CONTROL V; this changes the keyboard to verbose mode) Press ESCAPE.

          Or, type: <ctrl>V <ctrl>[

          The escape character will appear as follows: '^['

          4. Enter the remaining part of the escape sequence.

NOTE: The escape character always shows up as '^['. If it does not, an incorrect character has been entered.

      Quitting a vi session

        · Quit vi saving changes before last write:

            :q

        · Quit vi without saving any changes since last write:

            :q!

UNIX (R) is a registered
trademark of the Open Group.

Copyright © Hewlett-Packard Co. 1996
This information is subject to change without notice and
is provided "as is" with no warranty.
Hewlett-Packard shall not be liable for any direct,
indirect, special, incidental or consequential damages
in connection with the use of this material.

 



HP Bottom Banner
Terms of UsePrivacy Statement