Operating System - HP-UX
1833777 Members
2064 Online
110063 Solutions
New Discussion

printing using lp schedular

 
SOLVED
Go to solution
David_246
Trusted Contributor

printing using lp schedular

Hi,

We have used HPDPS for a long time, but I think it's time to switch to the lp() standard.

I created a printer :
lpadmin -put1430 -ormputp1430 -v/dev/null -mrmodel -ocmrcmodel -ob3 -orpLPDPRT1 -orc

This is a Laserjet4000. Unfortunetly I cannot get this printer to print euro symbols or let the printer print cols of 80 characters only.

I tried to modify the /etc/lp/interface/ut1430
Unfortunetly no effort. The current command it generates is :
/usr/sbin/rlp -Iut1430-5 -w80 /var/spool/lp/request/ut1430/dfA005nlunx1n2

I looked up al docs, but all of them where already removed :( Does anyone have any idea how to addapt the interface script in a way it can print the euro symbol and how to set the maximum characters per collum?

Regs David
@yourservice
4 REPLIES 4
Mark Grant
Honored Contributor
Solution

Re: printing using lp schedular

Ok, you need to find the ascii equivalent to the euro symbol on your printer. Having done this, use "tr" to translate the character that is actualy being printed to the ascii value your printer accepts as a euro sign. You do this in /var/spool/lp/interface/

However, you might find that "lp" is not so much the standard any more and that you will get a far better result if you change to cups (common unix printing system)

http://www.cups.org
Never preceed any demonstration with anything more predictive than "watch this"
David_246
Trusted Contributor

Re: printing using lp schedular

Hi Mark,

Thanks for your reply. I thought lp was the unix standard (it might be just Sun). Thanks for the link to caps, I heard of it, but never used it. If this is the HP standard that's fine. I'll look into it to implement caps on our HP systems.
Thanks for your help in it !

Regs David
@yourservice
Mark Grant
Honored Contributor

Re: printing using lp schedular

Don't get carried away with my enthusiasm David :) Although "cups" is becoming recognized throughout the unix world as the way to go, HP still don't provide it in their installations.

It's a bit like perl until recently. Everyone used it but HP didn't really want to provide it.

Having said that, printing was never so easy on unix as with "cups" :)
Never preceed any demonstration with anything more predictive than "watch this"
David_246
Trusted Contributor

Re: printing using lp schedular

Lets say that it will become my standard then :)

I know that HP is not that flexible, but any help with HPDPS and lp wasn't that much as well, so what's the difference :)

Regs David
@yourservice