Sponsored Content
Operating Systems HP-UX Setting printer paper length using unix commands Post 302588880 by Kar1234 on Tuesday 10th of January 2012 06:18:18 AM
Old 01-10-2012
Bug A temporary workaround

The printer is not reading the Epson Codes which i passed . The settings which i gave through from my application (java ) is overriden by the configuration settings(remote printer driver) in server and when the request went to the printer , the windows driver settings overrides the settings which has been set in the server . found out that Printing happens only based on the windows driver settings.

I have an option in windows printer settings where i can choose settings either from driver or from printer DIP settings . So i have to mention that in the windows driver settings .

Its very unlucky that i couldn't provide a solution from shell script. Now i call print through my java application directly and since i used filestreams i was not getting any junk characters printed on the Dot matrix printer . So i went on configuring the printer settings as per my requirement and have adjusted the empty lines in my file so that the printer length matches the file length and i was able to print my file with the proper alignment.

This Epson site was pretty useful to me. Maybe someone in need can make use of the same
Thanks guys for the support you gave me.
I am just more interested to learn Unix programming.
 

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 11:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy