Hi there!
I have problem with printing to a Netware NDPS-Printerqueue using lpr2ndps on
the netware side.
Somewhere I found that printing to ndps printers needs options
"send_data_first" and "bk", so both are always in the printcap entry.
When I print without lpr_bounce option in /etc/printcap, printing works fine
except that the input-filter (apsfilter from SuSE 7.2) is ignored. After
adding lpr_bounce options, I get the following result:
Status Information:
processing 'dfA177at18', size 1880, format 'l', IF filter
'PS_1200dpi-a4-auto-mono-1200'
IF filter 'PS_1200dpi-a4-auto-mono-1200' filter msg - 'ls: dfA177at18: no
such file or directory'
IF filter 'PS_1200dpi-a4-auto-mono-1200' filter msg -
'/var/lib/apsfilter/bin/PS_1200dpi-a4-auto-mono-1200: cfA177at18: no such
file or directory'
IF filter 'PS_1200dpi-a4-auto-mono-1200' filter finished
sending job 'alex@at18+177' to ndps@netwareserver
connecting to 'netwareserver', attempt 1
connected to 'netwareserver'
requesting printer ndps@netwareserver
sending data file '<NULL>' to ndps@netwareserver
job 'alex@at18+177' transfer to ndps@netwareserver failed
error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ack error 112'
sending str '^C16186 <NULL>' to ndps@netwareserver
The relevant printcap entry is:
#
test:\
:lp=ndps@netwareserver:\
:sd=/var/spool/lpd/test:\
:lf=/var/spool/lpd/test/log:\
:af=/var/spool/lpd/test/acct:\
:filter=/var/lib/apsfilter/bin/PS_1200dpi-a4-auto-mono-1200:\
:sh@:\
:bk:\
:send_data_first:\
:la@:mx#0:\
:lpr_bounce:
#
Some questions about this:
* Why does the filter not find control/datafiles? When turning on the debug
option for apsfilter, I found out that the filter had its PWD in the user's
home directory, where it obviously can't find spooling files ...
* What means <NULL> as data file?
The problem appeared after upgrading from SuSE 6.4 to 7.2, so I assume the
problem appeared anywhere between lprng-3.6.13 and 3.7.4
What's going wrong here and how can I fix it?
Thanks in advance
Alexander Puchmayr
--
---
Alexander Puchmayr
Institut f�r Theoretische Physik Altenbergerstr. 69, A-4040 Linz
Johannes-Kepler Universitaet Phone: ++43 732/2468-8633
A-4040 Linz, Austria Fax: ++43 732/2468-8585
E-Mail: [EMAIL PROTECTED]
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------