On 2006-11-28 @ 18:08:42 (week 48) Lubos Vrbka wrote: > > >we tested this. whatever we choose, printer still prints duplex, > >long-edge flip. as a default, this is fine, but when you need something > >special (like short edge, 2 pages per paper), it is not possible. > > > >it seems that the settings on the printer/cups server cannot be > >changed/overriden by anyone else than cups administrator on the server, > >or by hand on the printer directly... > actually - 2 pages per paper work fine now, however it is not possible > to change > > 1) duplex -> disable duplex > 2) long-edge -> short edge
Why don't you just create multiple printers in CUPs using the same PPD as a starting point? That's what I did. That way your users only have to select the aptly named printer they wish to use in the dialog, without having to know all the intricasies of which side to tumble and things like that. Copy the appropriate PPDs to the CUPS repository and then do the following: # ls -l /usr/share/ppd total 64 drwxr-xr-x 7 root root 168 2006-08-16 13:49 cups-included/ lrwxrwxrwx 1 root root 13 2006-08-16 13:49 cups-transitional-dir -> ../cups/model/ -rw-r--r-- 1 root root 39756 2006-08-16 14:12 HP_LaserJet_2200.ppd # lpinfo -m | grep 'HP LaserJet 2200' HP_LaserJet_2200.ppd HP LaserJet 2200 # lpinfo -v network socket network beh network http network ipp network lpd direct parallel:/dev/lp0 file cups-pdf:/ lpadmin -p HPLJ2200 -E -v parallel:/dev/lp0 -m HP_LaserJet_2200.ppd lpoptions -p HPLJ2200 -l lpadmin -p HPLJ2200 -o media=A4 -o resolution=1200x1200dpi -o HPOption_Duplexer=True -o Duplex=DuplexNoTumble lpoptions -p HPLJ2200 -o job-sheets=none -o sides=two-sided-long-edge lpoptions -p HPLJ2200 -l lpstat -p -d lp -d HPLJ2200 /usr/share/cups/data/testprint.ps lpadmin -p HPLJ2200-2up -o media=A4 -o resolution=1200x1200dpi -o HPOption_Duplexer=True -o Duplex=DuplexNoTumble lpoptions -p HPLJ2200-2up -o job-sheets=none -o sides=two-sided-long-edge -o number-up=2 lpoptions -p HPLJ2200-2up -l Of course you could also edit the PPDs directly, but I prefer not to do that. HTH Grx HdV -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

