From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 30 Nov 2007 17:56:19 +0100 From: Rodolfo =?unknown-8bit?Q?Garc=EDa?= To: weigelt@metux.de, Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Ideas for an printer filesystem Message-ID: <20071130165619.GA3573@darkside> References: <8ccc8ba40709070144y42f8c81andeb54dde4588f968@mail.gmail.com> <8607d45190b8811e23dc5426d1fbf657@quanstro.net> <8ccc8ba40709070317t600021b9jbe3715561964383e@mail.gmail.com> <20071130033720.GA2817@nibiru.local> <8ccc8ba40711300142w1ef7f32crf0371b06dd733aff@mail.gmail.com> <20071130123249.GB14203@nibiru.local> <20071130130631.GA4274@darkside> <20071130133825.GC14203@nibiru.local> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline In-Reply-To: <20071130133825.GC14203@nibiru.local> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 0f737c8e-ead3-11e9-9d60-3106f5b1d025 Then you can split the process, First, create the final ps-like-file, ready to print. Something like print to file. Like mpage in Linux. Second, copy the ps-like-file to the printer. Example: file2print -portrait -2pagesperpage -bpp300 -input acme.ps -output acme-t= oprint.ps cp acme-toprint.ps /printer/myprinter/spool/ Is an idea. On Fri, 30 Nov 2007, Enrico Weigelt escribi=F3: > * Rodolfo Garc?a wrote: > > "Probably" you need three files: > >=20 > > 1. The printer job, for example the .ps file > > 2. The printing options (orientation, ...) > > 3. The printer options (Filters, drivers, ...), in the printer direct= ory > >=20 > > The printing options can be set with 'echo "A4,300ppp,protrait" > > > /printers/LaserJet-A/ctl' The printer options must be in a file,=20 > > and then you can print with something like 'cat myfile.ps > /printers= /LaserJet-A/data' >=20 > Thats not an good idea, since here you set the parameters for the whole > printer, not just for a single job.=20 >=20 >=20 > cu > --=20 > --------------------------------------------------------------------- > Enrico Weigelt =3D=3D metux IT service - http://www.metux.de/ > --------------------------------------------------------------------- > Please visit the OpenSource QM Taskforce: > http://wiki.metux.de/public/OpenSource_QM_Taskforce > Patches / Fixes for a lot dozens of packages in dozens of versions: > http://patches.metux.de/ > --------------------------------------------------------------------- --=20 ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/