I have built LPRng and ifhp on an HP-UX 11i system. When I configure a queue like below, it prints fine if the job is postscript or pcl. If the job is a plain text file (/etc/profile), it has no carriage returns and runs off the rhs of the paper.

.common:
:sd=/var/spool/lpd/%P
:mx=0:mc=0
cc_testlan_1:tc=.common:lp=hp2100tn%9100

When I change the printcap to use ifhp like this, the job just hangs in the queue.

cc_testlan_1:tc=.common:lp=hp2100tn%9100
:filter=/opt/lprng/libexec/filters/ifhp
:ifhp=model=hp2100

The problem remains when I disable the ifhp status option. I've turned on debug=3, and used lpstat with verbose output and am not sure what to look for.

The strange part is that ifhp works good on it's own. The source code has a README.TESTING file that I followed. I can call ifhp directly with an input file and it will send output directly to the printer. LPRng works without ifhp. Together, they are broken.

When building LPRng, I noticed a curious option on the cc comand line:
cc -DDEVFD0=\"DEVFD0\" ...

Is DEVFD0 representing stdin? Is this my problem?

Will someone help me? What info do you need?

--
Danial M. Howard
IT Systems Programmer, Computing and Communications
Idaho State University, Pocatello, Idaho, USA


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]

If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to