Sponsored Content
Operating Systems HP-UX Setting printer paper length using unix commands Post 302582980 by methyl on Monday 19th of December 2011 08:16:15 AM
Old 12-19-2011
This seems to be a 10-year-old printer for DOS and early Windows.
Epson LQ-680Pro, Documents & Manuals - Technical Support - Epson America, Inc.

Which HP computer?
Which HP-UX version?
How is this printer physicaly connected to the HP computer?
If it is actually connected to the network, how is this achieved and is there a HP Jet Direct Box?
If it is actually connected to a Windows server, please describe how that is configured and how the HP-UX server sends print.
How was the print queue installed in HP-UX? Was there any special printer driver software for HP-UX from Epson?


Code:
Addendum: That Escape sequence looks familiar (standard Epson one).
 (\x1B\x43\x21)         Is the same as ESC C 33   (set page length to 33 lines.

We have to work in Octal for the Escape Character and the Number in Shell.

If you don't have a special Epson print filter and you wish to send that escape sequence before your printout file called "fileName":
Code:
(
echo "\0033C\0041\c"
cat fileName
) | lp -d printername    ....etc

However of there is some other driver there it will override your settings. Really need to know everything about how this printer is configured. In practice you will probably end up sending a whole list of Escape Sequences to get this right.

Last edited by methyl; 12-19-2011 at 10:09 AM..
This User Gave Thanks to methyl For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

setting up a network printer

Hello people, I'm attempting to setup a printer connection to a printer running off the NT printer server, but with little success. I'm using the admintool, go to ADD printers...where it offers 'local' and 'access to printer'. I have chosen the 'access to printer' option as i'm attempting to... (1 Reply)
Discussion started by: colesy
1 Replies

2. UNIX for Dummies Questions & Answers

Setting a HP printer under Solaris 9

Hello. I am trying to make work HP printer Deskjet 692C. I have Solaris 9 x86. I tried to use admintool: I choosed 'HP-printer' and 'Postscript filter' options. When I want to print something, instead of the text, the printer prints many pages of some kind of code or whatever... ... (1 Reply)
Discussion started by: Peter123456789
1 Replies

3. AIX

Setting up Local printer AIX 5

Hi folks need some help here. We have a RS6000 running AIX. It is almost never used anymore, but we need to print off some data. I have a paralell printer conected to the parrallel port, but have no idea where to go from here. The printer was originall named named LP01. If the users telnetinto the... (2 Replies)
Discussion started by: prator
2 Replies

4. AIX

Setting up Printer

Hi All, This is katherine and I am kind of new to AIX and has got the following request to set up the printer. Can anybody guide me to fullfill the following request step by step. The request is as follows: "We have been asked to set up the following printer in Oracle: UNIX queue ... (1 Reply)
Discussion started by: katherine2008
1 Replies

5. Emergency UNIX and Linux Support

Change printer setting

I have Solaris-10 server and want to change default printer setting to Simplex (Instead of duplex, which is set currently). I am not able to see anything in conf file related to this setting. Please help. (1 Reply)
Discussion started by: solaris_1977
1 Replies

6. UNIX for Advanced & Expert Users

Printer setting in Solaris

I have Solaris-10 server and want to change default printer setting to Simplex (Instead of duplex, which is set currently). I am not able to see anything in conf file related to this setting. Please help (2 Replies)
Discussion started by: solaris_1977
2 Replies

7. UNIX for Dummies Questions & Answers

Setting Printer margins

Hi, I have Aix 6.1. Installed the Ricoh Unix print filter, to allow us to print to a Ricoh 5001. So I send text documents to the printer using the qprt command and set the print job finishing options using the Ricoh commands passed using -o options. Eg. qprt -Pfin200 -o collate=on -o text... (7 Replies)
Discussion started by: max5000
7 Replies

8. Shell Programming and Scripting

How to check if printer is out of paper using perl script ?

Hello, I need to chack if the printer is out of paper, and send message to operator. I need to do this from perl script. The printer have mechanism to check if it have paper. However, the cups does not report "printer out of paper" when I remove the paper, and try to print. Is there any... (1 Reply)
Discussion started by: +Yan
1 Replies

9. AIX

Setting up printer in AIX 6.1

Hi All, I have been trying to configure an HP laserjet printer on an AIX6.1 server through network as well as remote. This is the first time i am configuring a printer on AIX. I had been using smitty butwhile configuring, i am getting blank/stuck at "software to support the printer attachment... (10 Replies)
Discussion started by: Rockyc3400
10 Replies
ULPT(4) 						   BSD Kernel Interfaces Manual 						   ULPT(4)

NAME
ulpt -- USB printer support SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device ulpt Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): ulpt_load="YES" DESCRIPTION
The ulpt driver provides support for USB printers that follow the printer bi- or uni-directional protocol. The bits in the minor number select various features of the driver. Minor Bit Function 64 Do not initialize (reset) the device on the port. Some printers cannot handle the reset on open; in case of problems try the unlpt device. HARDWARE
The ulpt driver provides support for USB printers and parallel printer conversion cables, including the following: o ATen parallel printer adapter o Belkin F5U002 parallel printer adapter o Canon BJ F850, S600 o Canon LBP-1310, 350 o Entrega USB-to-parallel printer adapter o Hewlett-Packard HP Deskjet 3420 (P/N: C8947A #ABJ) o Oki Data MICROLINE ML660PS o Seiko Epson PM-900C, 880C, 820C, 730C FILES
/dev/ulpt? device with reset /dev/unlpt? device without reset SEE ALSO
lpt(4), usb(4) HISTORY
The ulpt driver appeared in NetBSD 1.4. This manual page was adopted from NetBSD by Tom Rhodes <trhodes@FreeBSD.org> in April 2002. BSD
November 22, 2006 BSD
All times are GMT -4. The time now is 05:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy