From owner-freebsd-questions Sat Apr 21 11:30: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from algonet.se (delenn.tninet.se [195.100.94.104]) by hub.freebsd.org (Postfix) with ESMTP id 9F76C37B422 for ; Sat, 21 Apr 2001 11:29:58 -0700 (PDT) (envelope-from gus@algonet.se) Received: from laptop (sdu35-236.ppp.algonet.se [195.163.236.35]) by delenn.tninet.se (BLUETAIL Mail Robustifier 2.2.2) with ESMTP id 258342.877796.987delenn-s2 for ; Sat, 21 Apr 2001 20:29:56 +0200 From: gus@algonet.se (Gustaf Tham) To: freebsd-questions@FreeBSD.org Subject: Re: Setting up printer in freeBSD 4.2 Date: Sat, 21 Apr 2001 18:29:38 GMT Message-ID: <3ae1d161.3469458@smtp.algonet.se> References: <3AE1967E.EA67FB55@iafrica.com> In-Reply-To: <3AE1967E.EA67FB55@iafrica.com> X-Mailer: Forte Free Agent 1.21/32.243 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Francois, I'm almost new to FreeBSD, but I think I can help you. If anyone more knowledgeable disagrees, please tell both of us. The lines in the kernel config that you need for a parallell printer are already there; just check that they are uncommented; ( I dont think I had to change anything in the kernel for this). device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer The simplest way to set up printing is probably to use apsfilter. You don't have to read the handbook, I think :-) 1. Install gs (ghostscript) from the ports collection 2. Install apsfilter 3. Run apsfilter's SETUP program in /usr/local/share/apsfilter (I think), select your printer, port, resolution etc; test printing. 4. I had to edit /etc/printcap, since the device lp was used twice. Comment out the one not belonging to apsfilter. 5. Check that /etc/rc.conf contains the line lpd_enable="YES" 5. Reboot. Now you can print most files by a simple lpr filename, without having to worry if they are plain text, PostScript, HTML etc. Good luck Gustaf Tham Sweden On 21 Apr 2001 16:17:27 +0200, ffkrz@iafrica.com (Francois Kritzinger) wrote: >I have read the freeBSD handbook, and followed their instructions. > >I have an HP deskjet 710C on freeBSD 4.2. > >I added the lines from the handbook into my kernel configuration file, >but I got an error: "config: syntax error on line xx" which was >obviously the line I added. >When freeBSD boots up it sees the printer and also the fact that is is >on ppbus0 and on lpt0. > >So in other words I don't know how to make my printer work... > >Any tips? > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > On 21 Apr 2001 16:17:27 +0200, in muc.lists.freebsd.questions you wrote: >I have read the freeBSD handbook, and followed their instructions. > >I have an HP deskjet 710C on freeBSD 4.2. > >I added the lines from the handbook into my kernel configuration file, >but I got an error: "config: syntax error on line xx" which was >obviously the line I added. >When freeBSD boots up it sees the printer and also the fact that is is >on ppbus0 and on lpt0. > >So in other words I don't know how to make my printer work... > >Any tips? > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message