Date: Sun, 15 Nov 1998 22:13:51 -0800 (PST) From: Bryce Newall <data@dreamhaven.net> To: Aaron Parmelee <trout@net66.com> Cc: questions@FreeBSD.ORG Subject: Re: set up printing Message-ID: <Pine.NEB.3.96.981115220553.15750m-100000@ds9.dreamhaven.org> In-Reply-To: <3.0.5.32.19981115235501.008fe4c0@net66.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Nov 1998, Aaron Parmelee wrote: > this is my printcap file: > > lp|local line printer:\ > :sh:\ > :lp=/dev/lpt0:sd=/var/spool/output/lpd There's a colon missing on the end of the last line, after "lpd". That could be part of the problem. Also, what ownership and permissions do you have on the /var/spool/output/lpd directory? > this is my rf.conf file (as it pertains to printing) > > lpd_enable="YES" > daemon_flags_enable="YES" I don't know what "daemon_flags_enable" does, but the line above it is correct. > this is line is my kernel: > > device lpt0 at isa? port? tty irq 7 vector lptintr That means it's finding the printer port. That's a good sign. > this is how i try to print something: > > prompt# lpd Are you running lpd each time you try to print? You only have to run it if it's not already running; in other words, if you made that change to your rc.conf file but didn't reboot, then you would have had to run lpd manually, but *only once*. If you did reboot, then lpd should be running automatically; you don't have to run it at all. > prompt# lpr .cshrc > prompt# lpq > <returns this:> no entries "no entries" indicates that lpd thinks the job was sent successfully. .cshrc is so small of a file that by the time you finish typing "lpq", the print job is already gone. However, since nothing is happening, I suspect the problem may be either the syntax error in your printcap above, or a permissions or ownership problem with the spool directory. > the following does nothing: > > prompt# lptest > /dev/lpt0 > > is there something i am missing? is something configured incorrectly?are What are the permissions on /dev/lpt0? lptest should work; I just tried it and it worked on mine (never knew about lptest before, actually :> ). ********************************************************************** * Bryce Newall * Email: data@dreamhaven.net * * WWW: http://home.dreamhaven.net/~data * * "Insanity takes its toll. Please have exact change." * ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.981115220553.15750m-100000>