On hand: lp_server 1.1.5
sun E250
solaris 8, 5.8 Generic_108528-06 sun4u
109896-04 SunOS 5.8: USB patch
109892-03 SunOS 5.8: ecpp patch
/kernel/drv/ecpp.conf unmodified
Lexmark E312 connected to the parallel port /dev/ecpp0
invocation A:
su lp -c \
"/usr/local/lib/filters/lp_server \
-w -n 9100 -d /dev/ecpp0 -r somehost &"
invocation B:
su lp -c \
"/usr/local/lib/filters/lp_server \
-w -n 9100 -d /dev/stdout -r somehost > /dev/ecpp0 &"
invocation C: (sparc has a Belkin USB card added)
su lp -c \
"/usr/local/lib/filters/lp_server \
-w -n 9100 -d /dev/usb/printer0 -r somehost &"
outcome:
(A) produces garbage on files of any substantial length,
which I suppose can be blamed on opening
/dev/ecpp0 O_NONBLOCK. There are buffer overruns.
(B) is OK, with or without the "-w".
(C) is OK, but the "-w" is _required_ here to prevent
troubles with the select() in lp_server.c
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------