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-toprint.ps cp acme-toprint.ps /printer/myprinter/spool/ Is an idea. On Fri, 30 Nov 2007, Enrico Weigelt escribió: > * Rodolfo Garc?a wrote: > > "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' > > Thats not an good idea, since here you set the parameters for the whole > printer, not just for a single job. > > > cu > -- > --------------------------------------------------------------------- > Enrico Weigelt == 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/ > --------------------------------------------------------------------- -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/