From owner-freebsd-questions Tue May 1 10:54:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ettnet.se (mail.ettnet.se [212.109.4.7]) by hub.freebsd.org (Postfix) with SMTP id 15D5A37B422 for ; Tue, 1 May 2001 10:54:39 -0700 (PDT) (envelope-from tw@ettnet.se) Received: (qmail 41334 invoked from network); 1 May 2001 17:54:35 -0000 Received: from unknown (HELO ppp-212-109-5-43) (212.109.5.43) by mail.ettnet.se with SMTP; 1 May 2001 17:54:35 -0000 From: Thomas Widlundh Reply-To: tw@ettnet.se To: Odhiambo Washington Subject: Re: apsfilter vs. magicfilter Date: Tue, 1 May 2001 20:10:28 +0200 X-Mailer: KMail [version 1.0.17] Content-Type: text/plain References: <20010501121609.C77880@everest.wananchi.com> Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <01050120504102.00636@tw.oden.se> Content-Transfer-Encoding: 8bit X-KMail-Mark: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How did you configure magicfilter? I need to test it. > > About the interrupt driven and polled modes for the printer, > > # Parallel port > device ppc0 at isa? irq 7 > ^^^^^^^^^^^^^ Hi, 2nd first. Thanks for all info about this. I changed the port from "interrupt-driven port" to "polled standard mode" with the command: # lptcontrol -p and now /var/messages show: "day time /kernel: lpt0: switched to polled standard mode". You can have a look at "man lptcontrol". 1st: I installed apsfilter 5.4.2 from the CD with /stand/sysinstall. I don't remember now wich CD - it was, the first or the second. apsfilter itself installed a bunch of other programs like i.e. gs (ghostview), upon wich it has dependancies. Then apsfilter appeared in: /usr/local/apsfilter/ (docs in /usr/local/share/doc/apsfilter/), and there is a file called SETUP start it with ./SETUP and a setup program starts. Here You'll have to fill in some info to apsfilter by taking character after character with (and figure after figure in the same way). Mark Your info with the space and and You will be back to the main window to do with the nest character, and so on. Then, finally, You choose C and apsfilter finish up the config and make a new printcap. In the printcap, the old lp is left, so You will get an error. Edit printcap and comment out the lines with lp with #:es. This lp is the original one. Further down in printcap You can see 2 new printers apsfilter set up. You are done. Now You can print a text with "lpr xxxx.txt" or a picture with "lpr xxx.gif" or "lpr xxx.jpg" or ps-files or dvi-files and so on. The setup You do as su of course. Using lpr as a user is fine. Switching the mode of the printer port was nessecary to me, cause I have a HP printer (LJ4L). Before the switching, the printer was incredibly slow, but after it printed instantly. I followed the handbook (/usr/share/doc/handbook/ - lynx printing.html and checked if the port and the printer etc worked. I set up an own spooler according to the instructions. This I had to change later in the apsfilter setup as apsfilter assumed my spooler to be the origin lpd-dir and not the new one I had created. This was easy though while configging the ./SETUP. It seems that lpt0 is in interrupted mode genericly. Regards, Thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message