From owner-freebsd-questions Sun Nov 15 22:14:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23443 for freebsd-questions-outgoing; Sun, 15 Nov 1998 22:14:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ds9.dreamhaven.org (dt091n3e.san.rr.com [204.210.47.62]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA23436 for ; Sun, 15 Nov 1998 22:14:14 -0800 (PST) (envelope-from data@dreamhaven.net) Received: (qmail 6977 invoked by uid 1010); 16 Nov 1998 06:13:51 -0000 Date: Sun, 15 Nov 1998 22:13:51 -0800 (PST) From: Bryce Newall X-Sender: data@ds9.dreamhaven.org To: Aaron Parmelee cc: questions@FreeBSD.ORG Subject: Re: set up printing In-Reply-To: <3.0.5.32.19981115235501.008fe4c0@net66.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > 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