1837835 Members
2364 Online
110121 Solutions
New Discussion

Printing Questions

 
Robert S. White
Advisor

Printing Questions

There are a couple of things about HP-UX print services that have remained a mystery to me for years. Perhaps someone can shed some light.
1: On a system without jetadmin, jetdirect, etc. where is the printer name to destination information stored? Some printers have this information recorded in their lp/interface files. But some do not.
2: What is the purpose and what causes a file to end up in the /var/spool/lp/request/PDRequest directory on hosts that do not have HPDPS installed?

Computers are just external storage for my brain.
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Printing Questions

Hi Robert:

If I understand your question (1): If the device is not /dev/null (i.e. not a network/remote printer) then the output device is stored in /var/spool/lp/member/printer_xxx

Clay
If it ain't broke, I can fix that.
Robert S. White
Advisor

Re: Printing Questions

The printers in question are remote. The information is not stored in model files.
Computers are just external storage for my brain.
S.K. Chan
Honored Contributor

Re: Printing Questions

I can answer or at least give some clue on question 2)..

I think 2 reasons why PDRequest dir exist..
1) So that print jobs from any HPDPS printers are spooled to this directory.
2) To resolve the problem of too many statfs() errors being logged in /var/adm/lp/lpd.log.

hope this helps ..
Robert S. White
Advisor

Re: Printing Questions

The information is also not stored in member files nor any other files under /var/spool/lp
Computers are just external storage for my brain.
Sanjay_6
Honored Contributor

Re: Printing Questions

Hi Robert,

I think the Lp destination is stored in /etc/lp/member.

The lp interface file only contains the lp interface script about the way the spooler interacts with the printer. It varies from model to model.

Hope this helps.

Regards

Robert S. White
Advisor

Re: Printing Questions

The LAN does not have any HPDPS printers. None of the servers/workstations have HPDPS software installed. I am curious as to the second thought. Why would a file be transferred to the PDRequest directory rather than a message sent to the print log?
Computers are just external storage for my brain.