Date: Fri, 1 Mar 2013 16:14:34 +0100 From: Matthias Apitz <guru@unixarea.de> To: Mark Felder <feld@feld.me> Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD port for redirecting printer Message-ID: <20130301151434.GA2249@tiny.Sisis.de> In-Reply-To: <op.ws9qsvxt34t2sn@tech304.office.supranet.net> References: <alpine.BSF.2.00.1302261814330.27474@wojtek.tensor.gdynia.pl> <20130226180645.GA1161@tiny.Sisis.de> <alpine.BSF.2.00.1302261929020.27796@wojtek.tensor.gdynia.pl> <20130226183646.GA2351@tiny.Sisis.de> <20130227115646.GA1821@tiny.Sisis.de> <op.ws9palsz34t2sn@tech304.office.supranet.net> <20130301125152.GA1859@tiny.Sisis.de> <op.ws9qsvxt34t2sn@tech304.office.supranet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Friday, March 01, 2013 a las 08:37:40AM -0600, Mark Felder escribió: > On Fri, 01 Mar 2013 06:51:53 -0600, Matthias Apitz <guru@unixarea.de> > wrote: > > > I do not believe that this will work for UTF-8 coded data, but you might > > convince me (hopefully); > > If I simply do > > # lpr CUPS-UTF-8.txt > > I end up with an exact replica of the data within that file -- noise. hm, I would have expected wrong data arriving at the printer; > If I open CUPS-UTF-8.txt in gedit and print via lpr it works great. yes, but this is because gedit produces by its own Postscript code (using cairo) which then gets send to the lpr command: %!PS-Adobe-3.0 %%Creator: cairo 1.10.2 (http://cairographics.org) %%CreationDate: Fri Mar 1 16:06:50 2013 %%Pages: 5 %%BoundingBox: 0 0 596 842 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%DocumentMedia: A4 595 842 0 () () %%EndComments %%BeginProlog ... ok, at the moment only the CUPS filter do what we want directly from an UTF-8 test file (q.e.d.) matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130301151434.GA2249>