Date: Tue, 1 May 2001 20:10:28 +0200 From: Thomas Widlundh <tw@ettnet.se> To: Odhiambo Washington <wash@wananchi.com> Cc: freebsd-questions@freebsd.org <freebsd-questions@FreeBSD.ORG> Subject: Re: apsfilter vs. magicfilter Message-ID: <01050120504102.00636@tw.oden.se> References: <20010501121609.C77880@everest.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <enter> (and figure after figure in the same way). Mark Your info with the space and <enter> and You will be back to the main window to do with the nest character, and so on. Then, finally, You choose C <enter> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01050120504102.00636>