Date: Wed, 4 Feb 1998 17:15:39 -0500 (EST) From: Uncle Flatline <flatline@pchb1f.gallaudet.edu> To: Anthony Hill <ahill@blacksun.net.au> Cc: questions@FreeBSD.ORG Subject: Re: standard print setup. Message-ID: <Pine.BSF.3.96.980204171023.2255A-100000@pchb1f.gallaudet.edu> In-Reply-To: <Pine.BSF.3.95q.980205080444.6870A-100000@blacksun.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Feb 1998, Anthony Hill wrote: > I have having some probelms getting my basic print setup to work under > 2.2.1-Release. When I try to use lpr to print - I get a message like :- > > bash$ lptest 30 10 | lpr > lpr: connect: No such file or directory > jobs queued, but cannot start daemon. > bash$ Wow, I think I can answer this one! ;-) I was seeing the same error. Do you have more than one printer pointing to /var/spool/output/lpd (i.e. several printer defs with :sd=/var/spool/output/lpd:)? If yes: Don't. ;-) Make separate directories for each def. When I gave each of my printers a separate directory to live in, all was well (Originaly I had a separate directory for each physical device but not for each printer definition, and FreeBSD wasn't happy.) > ..and sure enough lpq shows the queued files. I can print by catting a > file to /dev/lpt0, so I know the printer is working ok. My printcap > looks like :- > > lp|hp|HP bubblejet 670C:\ > :sh:lp=/dev/lpt0:sd=/var/spool/output/lpd:\ > :lf=/usr/local/libexec/if-simple: > > > and if-simple looks like :- > > #!/bin/sh > # > # if-simple - Simple text input filter for lpd > # Installed in /usr/local/libexec/if-simple > # > # Simply copies stdin to stdout. Ignores all filter arguments. > > /bin/cat && printf "\f" && exit 0 > exit 2 > > and /var/spool/output/lpd looks like :- > > bash# ls /var/spool/output/lpd > .seq dfA008darkstar.blacksun.net.au > cfA008darkstar.blacksun.net.au > bash# > > .. so has anyone got an idea what the problem could be ? > > Thanks > > > Anthony Hill > > > > -------------------<80-column fixed-width text follows>------------------- -- Kevin Cole <Flatline> | E-mail: flatline@pchb1f.gallaudet.edu Gallaudet Research Institute | WWW: http://pchb1f.gallaudet.edu/ Hall Memorial Bldg S-419 | Voice: (202) 651-5135 Washington, D.C. 20002-3695 | FAX: (202) 651-5746
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980204171023.2255A-100000>