1832595 Members
3097 Online
110043 Solutions
New Discussion

LP configuration problem

 
parolin franco
Advisor

LP configuration problem

Server with hpux11, I configured a printer whith lpadmin :
/usr/sbin/lpadmin -pstampa -v/dev/null -mrmodel -orc -ob3 -ocmrcmodel -osmrsmodel -ormstampa -orp pr5.

if i send a file with command:

lp -dstampa prova

the answer of system is :
lp: can't access file "/tmp/sp"
lp: request not accepted

the file tmp/sp is rwxrwxrwx.
Can I solve the problem ???
Many thanks

2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor

Re: LP configuration problem

Hi,

How about if you say "cat prova|lp -dstampa"?.
This way permissions will not come into picture. lp will need to have read permissions on the directory from where the file is being printed.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Massimo Bianchi
Honored Contributor

Re: LP configuration problem

Hi Franco,

how is the acceptance status of the printer ?

And why the lp is using the /tmp/sp ?
Did you changed the model ?

Another check: is this the only non working printer? how are permission of /tmp ?


HTH,
Massimo