Subject: CAP lwsrv8 problems
To: None <port-mac68k@NetBSD.ORG>
From: Nicholas Riley <nriley@tiac.net>
List: port-mac68k
Date: 01/10/1997 00:20:37
I bought and installed a Sonic Systems EtherNet A1 on my SE/30 which has
worked ok so far, and thought it would be pretty simple getting lwsrv8 to
spool and print to my NEC Silentwriter 95, since lpd already will print
text documents to it (thanks to Bill Studenmund).  Unfortunately, not so
far...

All of the tests in the readmes etc. for CAP worked until I tried to print
to lwsrv8 from my Mac.  The printer shows up in the Chooser, and Print
seems to work, but the logfile gets this:

lwsrv8: Spooler starting for Dicer 95f (lwsrv8):LaserWriter@*
lwsrv8: Dicer 95f (lwsrv8):LaserWriter@* ready and waiting
lwsrv8: Starting print job for "Dicer 95f (lwsrv8)", Connection 0
lwsrv8: p_write error -1 on write to Connection 0
lwsrv8: Printing job: Untitled; user Nicholas Riley
lwsrv8: Invoking lpr as user <unknown> using execv: /usr/ucb/lpr -Psw -J
MacUser: Nicholas Riley -r /X11R6/lwsrv-tmp/lwsrv000125

The lpd logfile didn't show anything strange (well, except the time is wrong :)

Jan 10 13:14:47 roadrunner lpd[81]: restarted

The printer displays "Processing", "Waiting" and then times out. It seems
as if it's reading my username and the filename (Untitled) correctly from
the Mac, so something must be working, but maybe all of the data wasn't
received? What is a p_write error?

Here is my printcap:

#		@(#)printcap	5.3 (Berkeley) 6/30/90

lp|Silentwriter 95f:\
		:lp=/dev/tty01:\
		:sd=/var/spool/lpd/lp:\
		:lf=/var/log/lpd-errs:\
		:af=/var/log/lpd.acct:\
		:if=/usr/local/lib/psif:\
		:br#19200:mx#0:sf:rw:sh:sb:\
		:ms=opost,onlcr,cs8,-parenb:
sw|Silentwriter 95f(raw):\
		:lp=/dev/tty01:\
		:sd=/var/spool/lpd/sw:\
		:lf=/var/log/lpd-errs:\
		:af=/var/log/lpd.acct:\
		:br#19200:mx#0:sf:rw:sh:sb:\
		:ms=opost,onlcr,cs8,-parenb:

and my lwsrv.conf:

Library = /home/sabi/cap60/application/lwsrv/DB;

Options = (
		DontCollect;
		ProcsetDir /home/sabi/cap60/applications/lwsrv/procsets;
		FontFile /home/sabi/cap60/applications/lwsrv/LWIIfgFonts;
		LogFile /home/sabi/cap60/applications/lwsrv/lwsrv8.log;
);

"Dicer 95f (lwsrv8)" = (
		include "Silentwriter 95";
		printerqueue sw;
);

The papif documentation makes some reference to TranScript from Adobe which
is supposed to make it possible to spool to PS printers over serial lines.
I searched Adobe's website and could find no mention of it (probably is
pretty old...) Also read countless FAQs, searched altavista, dejanews.
There has to be someone who uses a PS printer serially! :)

Hoping someone on this list has an idea, as I'm out of them,

<sabi
 _____________________________________________________
|Nicholas Riley  |             nriley@cs.brandeis.edu |
|nriley@tiac.net | nriley@staff.feldberg.brandeis.edu |
|________________|_<http://www.tiac.net/users/nriley/>|