From: "Jason Carter \(PE - CSD\)" <jason () newcrest ! com ! au>
To: tru64-unix-managers
Subject: SUMMARY: lpd to epson printer
Date: Tue, 04 May 1999 03:02:25 +0000 [thread overview]
Message-ID: <96079042215451.tru64-unix-managers.marc@archive.invalid> (raw)
I never actually posted a question to the group but thought this info may be
handy to someone out there. I was trying to print to an epson LQ2070
connected to the network with an Axis printer server using LPD. It was not
paging correctly (we use preprinted forms) and the escape code the printer
manual specified didn't (ESC C n <--- where n is the page length in lines eg
vi would display ^[C51 ). All the other escape sequences worked fine.
To get the page length setting to work correctly, I had to send the escape
sequence in octal:
eg. /usr/bin/echo -n "\033C\063" >> "$PRINTFILE"
This equates to: \033 Escape code
C Epson page length code
\063 51 in octal (page length I required).
Hopefully you won't spend the hours I did trying to work out why it wasn't
working.
Jason Carter
Network Year 2000
Project Coordinator
Newcrest Mining Ltd
Ph: +61 8 9270 7009
Mb: 041 993 8578
reply other threads:[~1999-05-04 3:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox