Printer Commands Syntax

H

Hugh Munghus

Does anyone know SPECIFICALLY how hex codes are entered
into the "Printer Commands" window? I need to initialize
an Epson printer and change the form length to 6 1/2
inches (39 lines), and then reinitialize the printer after
the job is finished printing. The manual says "ESC @" to
initialize, and "ESC C" to "set page length in lines". It
doesn't say anything about how the number of lines/inches
is entered. Following the vague and incomplete advice of
the Help, I tried entering "<1B401B4327>"
or "<1B><40><1B><43><27>", but both are translated
as "<1B>@<1B>C'" which does not seem to either initialize
the printer or change the form length. The <1B> is
supposed to represent an ESC, the "40" an "@", the "43"
a "C", and the "27" the hex translation of "39" for 39
lines.
 
T

Tony Edgecombe

Hugh,

You can enter escape codes directly in the window by putting num lock on
then holding down the ALT key while you key in 27 on the numeric keypad. You
have to use decimal rather than hex.
 
G

Guest

It's the LQ-2080 ESC/P2. I mentioned in my post that I had seen the manual. All the Epson site has is this manual, which I've already seen. The problem with the manual is that it is GENERAL - it is not SPECIFIC. The difference between a general and a specific answer can be illustrated with this example. If I ask, "How do I get to the 'store' directory on my floppy drive?", the general response is "Get into DOS, change to the A: drive, and then change to the 'store' directory." The specific response would be, "Click START, PROGRAMS, ACCESSORIES, COMMAND PROMT, then type in "A:", hit ENTER, then type in "cd store", hit ENTER."
 
G

Guest

The printer is an Epson LQ-2080 ESC/P2. I not only need to know how to enter the codes in, but the specific string of codes needed to change the form length to 6 1/2 inches. The manuals do not give this specific information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top