Operating System - HP-UX
1833059 Members
2526 Online
110049 Solutions
New Discussion

Re: Getting an error when I try to print from elm

 
SOLVED
Go to solution
Virginia OToole
Occasional Contributor

Getting an error when I try to print from elm

Hi,

When I try to print an E-MAil through elm, I get an error message: " pr: can't open /tmp/print.5206"

"Printout failed with return code 1"

Is there some system setting that we are missing? or is there an easier way of printing an e-mail?

Thanks!
Ginny
8 REPLIES 8
Helen French
Honored Contributor
Solution

Re: Getting an error when I try to print from elm

S.K. Chan
Honored Contributor

Re: Getting an error when I try to print from elm

Within elm .. type o to go to option window. You should see ..
P)rint mail using : ..
Change that to
/usr/bin/cat %s | /usr/bin/lp

Also make sure you have your default printer defined.
Craig Rants
Honored Contributor

Re: Getting an error when I try to print from elm

Looks good Shiju, Ginny, also check the perms of the /tmp file if that does not do the trick.

C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Virginia OToole
Occasional Contributor

Re: Getting an error when I try to print from elm

Where do I set up the default printer?

Ginny
Helen French
Honored Contributor

Re: Getting an error when I try to print from elm

Hi,

For setting default printer,

# lpadmin -dprinter_name

see man lpadmin for more information

HTH,
Shiju
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: Getting an error when I try to print from elm

Set default printer .. (eg : laser1)

# lpadmin -dlaser1
Craig Rants
Honored Contributor

Re: Getting an error when I try to print from elm

You can also change it on a per user basis by adding LPDEST="printque" to the .profile of the user.

TGIF,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Virginia OToole
Occasional Contributor

Re: Getting an error when I try to print from elm

Thanks so much for all of your information!

You folks are so helpful! I really appreciate it!

Have a good weekend!
Ginny