From owner-freebsd-questions Mon Jun 18 9: 3:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 10B8A37B401 for ; Mon, 18 Jun 2001 09:03:20 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 32444 invoked by uid 100); 18 Jun 2001 16:03:19 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15150.9799.509874.903122@guru.mired.org> Date: Mon, 18 Jun 2001 11:03:19 -0500 GTo: outlawtx@bga.com Cc: questions@freebsd.org Subject: Re: are magicfilter and appsfilter for non-postscript printers? In-Reply-To: <19543647@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG outlawtx@bga.com types: > Are magicfilter and appsfilter for non-postscript printers? They aren't "for" any type of printer. They can be used with both postscript and non-postscript printers. What they both do is examine the document to guess what kind of file it is, and then arrange to run the appropriate tools on it to create a representation that the printer can print. This lets you print myfile.html as it would show in a browser with the command "lpr myfile.html" instead of the command html2ps myfile.html | gs -q -dSAFER -dNOPAUSE -r600 -sDEVICE=ljet4 -sOutputFile=- - | lpr apsfilter does this by translating everything to postscript, and then either sending that to the printer or using ghostscript to convert that to a bitmap to send to the printer. magicfilter is a little bit more general, using a script file that pairs what to examine with the conversions that need to be made. Since most Unix tools know how to generate postscript, this means it behaves just like apsfilter for most files. For those that the printer can handle directly, it will pass them to the printer where apsfilter would convert them to postscript or just fail. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message