Setting printer paper length using unix commands


 
Thread Tools Search this Thread
Operating Systems HP-UX Setting printer paper length using unix commands
# 22  
Old 12-27-2011
Oh my goodness, Jack i got a system error 66. Then used
Code:
net view \\computer name

to find the associated net resources but got an error message stating System error 53 has occured.

Will try to find some solution for that.

---------- Post updated at 09:05 PM ---------- Previous update was at 08:59 PM ----------

Thanks Jack, Now it is printing with different fonts applied (as per the windows printer configuration i guess).

So how to infer based on this change ?
# 23  
Old 12-27-2011
This User Gave Thanks to jgt For This Post:
# 24  
Old 12-27-2011
Thanks Jack,Will do an analysis and let everyone know about the status.....
# 25  
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question