Hello,
I have a problem with larger files and printing with LPR with ifhp through
smbprint.
If I print the file directly using the smbclient command the file prints
correctly.
You can see below it prints 26% then stops, I have to kill the smbprint
process to get the queue working again.
It's like any printout over 4 pages makes the lpr, ifhp, smbprint puke.
Below is my system specs:
LPRng-3.74
ifhp-3.4.7
# printcap entry
#
hpbill:\
:lpd_bounce
:force_localhost
:sh:mx#0
:sd=/var/spool/lpd/hpbill
:lp=|/usr/local/samba/smbprint
:filter=/usr/libexec/filters/ifhp -Tmodel=hp4,status@
#
#
#section of smbprint
#
# NOTE You may wish to add the line `echo translate' if you want automatic
# CR/LF translation when printing.
if [ $TRANS -eq 1 ]; then
echo translate
fi
echo "print -"
cat
) | /usr/local/samba/bin/smbclient "\\\\$server\\$service" -U linux -N -P
1>&2
#
# lpq -P hpbill
#
Printer: hpbill@rivergod
Queue: 1 printable job
Server: pid 1931 active
Unspooler: pid 1932 active
Status: processing 'dfA930rivergod.lakeengineering.com', size 116683,
format 'f
', IF filter 'ifhp' at 22:11:57.879
Filter_status: 26 percent done at 22:11:58.031
Rank Owner/ID Class Job Files Size
Time
1 root@rivergod+930 A 930 /tmp/out 116683
22:11:57
Thanks,
Lach
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------