I have an HP 2100 printer (postcript is supported). But when I
print, only text files seem to get thru the filter. Both types
of files return status JSUCC but if you look at the filter output
it says that 0 pages where printed for the postcript file (which
is true since nothing comes out of the printer).

Here is a capture of what happens when I print /etc/printcap

[root@fs1 incoming]# lpr -V /etc/printcap
LPRng-3.7.4, Copyright 1988-2000 Patrick Powell, <[EMAIL PROTECTED]>
sending job 'root@fs1+216' to lp@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer lp@localhost
sending control file 'cfA216fs1.austin.marlabs.com' to lp@localhost
completed sending 'cfA216fs1.austin.marlabs.com' to lp@localhost
sending data file 'dfA216fs1.austin.marlabs.com' to lp@localhost
completed sending 'dfA216fs1.austin.marlabs.com' to lp@localhost
done job 'root@fs1+216' transfer to lp@localhost


[root@fs1 incoming]# a2ps /etc/printcap
[/etc/printcap (plain): 1 page on 1 sheet]
request id is root@fs1+223
[Total: 1 page on 1 sheet] sent to the default printer


[root@fs1 incoming]# lpq -ll
Printer: lp@fs1
 Queue: no printable jobs in queue
 Status: finished 'root@fs1+223', status 'JSUCC' at 12:18:38.086
 Status: subserver pid 4225 exit status 'JSUCC' at 12:18:38.087
 Status: [EMAIL PROTECTED]: job 'cfA223fs1.austin.marlabs.com'
printed at 12:18:38.098
 Status: job 'cfA223fs1.austin.marlabs.com' removed at 12:18:38.110
 Filter_status: data sent at 12:18:38.083
 Filter_status: sent job file at 12:18:38.083
 Filter_status: pagecounter 0, pages 0 at 12:18:38.085
 Filter_status: done at 12:18:38.085


My /etc/printcap file looks like this:

[root@fs1 incoming]# cat /etc/printcap
# /etc/printcap
lp:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/lp:\
        :mx#0:\
        :sh:\
        :if=/usr/libexec/filters/ifhp:


Any ideas?

Thanks,

Alberto

-----------------------------------------------------------------------------
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