From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 30 Nov 2007 14:06:31 +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: <20071130130631.GA4274@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> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline In-Reply-To: <20071130123249.GB14203@nibiru.local> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 0f596d62-ead3-11e9-9d60-3106f5b1d025 "Probably" you need three files: 1. The printer job, for example the .ps file 2. The printing options (orientation, ...) 3. The printer options (Filters, drivers, ...), in the printer directory The printing options can be set with 'echo "A4,300ppp,protrait" > /printers/LaserJet-A/ctl' The printer options must be in a file, and then= you can print with something like 'cat myfile.ps > /printers/LaserJet-A/= data' Saludos. On Fri, 30 Nov 2007, Enrico Weigelt escribi=F3: > * Francisco J Ballesteros wrote: >=20 > Hi, >=20 > > Seem just too complex to me (the interface, I mean). > >=20 > > Wouldn't just a directory where files to be printed can be copied suf= fice? >=20 > No, I dont think so. > Only copying one file is not enough, otherwise you have no chance > for giving additional parameters like colorspace, orientation,=20 > resolution, etc, etc, etc. The application would have to handle all=20 > this by itself and would require more detailed information about the=20 > printer (which would tie the job to one specific printer). >=20 > And I dont think its too complex. Starting a job is still simple: > Just create a job dir, upload the content and write your parameters > to the appropriate files. >=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/