Operating System - HP-UX
1832446 Members
3554 Online
110042 Solutions
New Discussion

Re: lp printing on Unix HP 11

 
Marcin_10
Occasional Advisor

lp printing on Unix HP 11

I am configuring new server Unix HP11.1 which is going to be my production server, Presently production server is HP10.20 I try to print all documents using same setting I have been using on HP10.20 which is
lp -dprintername -oc filename, my problem is HP11.1 server does not get any setting and prints only one settings, where can I set fonts size and type and line per page format.
Marcin
8 REPLIES 8
Victor BERRIDGE
Honored Contributor

Re: lp printing on Unix HP 11

Hi Marcin,
On HPUX11i -oc works also, so I wonder how are your printers declared, the case I know of options not taken into account is remote printers..., what type of printers and how are they configured?

All the best

Victor
Judy Traynor
Valued Contributor

Re: lp printing on Unix HP 11

Hp has a great tool (hpwebjet) which can assist you to easily set up your printers.

Sail With the Wind
John Dvorchak
Honored Contributor

Re: lp printing on Unix HP 11

Setting fonts, page size etc. is in the Interface file for the printer.

/var/spool/lp/interface/Your_printer_name

If it has wheels or a skirt, you can't afford it.
Victor BERRIDGE
Honored Contributor

Re: lp printing on Unix HP 11

Here is a link id you need what replaces HP jetadmin under 10.20 :
HP LD printer installer for HPUX11.X
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?pnameOID=18922&locale=en_US&taskId=135&prodTypeId=18972&prodSeriesId=27349

All the best
Victor
Rita C Workman
Honored Contributor

Re: lp printing on Unix HP 11

And just an FYI....

If you used the good old faithful Jetadmin on 10.2, like some of us die-hard character mode jetadmin folks. Well the character Jetadmin for 11 works just fine on 11i.


Rgrds,
Rita
Marcin_10
Occasional Advisor

Re: lp printing on Unix HP 11

Victor,
Thanks for response so quickly, It looks like this is a case of remote printers this was a only way I could configur this printer.

Do you know how to set printer?
Marcin
Hemanth Gurunath Basrur
Honored Contributor

Re: lp printing on Unix HP 11

Bill Hassell
Honored Contributor

Re: lp printing on Unix HP 11

HP-UX does not store anything about fonts, paper sizes, landscape/portrait, etc. It simply runs a printer script (all versions of HP-UX) so it sounds like someone has modified printer scripts in your 10.20 system. The problem is that there 3 VERY different ways to connect a printer in HP-UX. The first is local using something like a parallel or serial port. The second is usint JetDirect software which talks only to HP JetDirect cards installed in HP printers or JetDirect external boxes connected to any printer odel. The 3rd is remote where the printer is slaced off some other system.

Only local and JetDirect printers have printer scripts that control optional features like fonts, orientation, etc. Ofetn, these scripts are modified and never documented so as you move to another system, things don't work the same. The directory where these interface scripts are located is: /etc/lp/interface. Now it gets a little tricky: for local printers the script is right there and you can edit that file. But for JetDirect printers, the script in that directory is a generic network communication script which calls on the actual printing script in a subdirectory: model.orig

The good news is that you can simply copy these customized scripts to the new seerver and replace the ones installed by SAM or JetAdmin/HPPI/WebJetAdmin with the old ones from 10.20 and the same behavior will return.


Bill Hassell, sysadmin