Bug#627542: foo2zjs: Duplex printing option gone
tag 627542 + patch thanks On Wed, 2011-05-25 at 11:38 +0200, Didier Raboud wrote: Hunting your bug is not easy as upstream doesn't have a public VCS (so we have to work on big patches and make wild guesses). Furthermore, Debian has seen no version between 20090908 and 20110210, so we don't have much data. But… I tried a simple patch (attached), that only re-introduces the Duplex option in the PPD. a package built with this package is available there: http://azrael.raboud.homelinux.org/~didier/Debian/packages/foo2zjs/627542/foo2zjs_20110210dfsg-2+OdyX0~627542~attempt0_amd64.deb Could you try it and report back if it does work as expected ? I have now (finally!) tried that patch and it does work. Thanks very much for working out how to re-enable the option. FYI, I had to modify the printer's PPD to get CUPS to recognise the new option, even though the update mechanism appeared to be triggered: # dpkg -i foo2zjs_20110811dfsg*.deb (Reading database ... 223472 files and directories currently installed.) Preparing to replace foo2zjs 20110811dfsg-1 (using foo2zjs_20110811dfsg-1sam1_amd64.deb) ... Unpacking replacement foo2zjs ... Setting up foo2zjs (20110811dfsg-1sam1) ... Processing triggers for man-db ... Processing triggers for cups ... Reloading systemd Starting cups (via systemctl): cups.service. Updating PPD files for foo2zjs ... PPD for printer laser updated Processing triggers for gnome-menus ... Processing triggers for desktop-file-utils ... When I did so I found that there were two entries in the list of PPDs for my printer. Digging into this a little further: $ /usr/lib/cups/driver/foo2zjs list | grep CLP-300 foo2zjs:0/ppd/foo2zjs/Samsung-CLP-300.ppd en Samsung Samsung CLP-300 Foomatic/foo2qpdl (recommended) DRV:Dfoo2qpdl,R1,M0,TF; foo2zjs:1/ppd/foo2zjs/Samsung-CLP-300.ppd en Samsung Samsung CLP-300 Foomatic/foo2qpdl (recommended) MFG:Samsung;MDL:CLP-300; $ diff -u (/usr/lib/cups/driver/foo2zjs cat foo2zjs:0/ppd/foo2zjs/Samsung-CLP-300.ppd) (/usr/lib/cups/driver/foo2zjs cat foo2zjs:1/ppd/foo2zjs/Samsung-CLP-300.ppd); echo $? 0 i.e., both are identical. Note that from the upstream changelog, the Duplex option has been removed from some CLP printers in favour of a tool to simulate it (gnome-manual-duplex): 2010-06-15 * foo2qpdl foomatic-db and PPD files: fix Duplex for clp-6100, clp-610, clp-620. Manual Duplex is no longer supported. Use Gnome-Manual-Duplex instead. Please delete and recreate the Samsung CLP-6?? printers. So it might be possible that your bug is actually a desired evolution from upstream. Ugh, I was afraid of this. Upstream seems to make some... weird decisions. But for now your patch works. On Wed, 2011-05-25 at 22:51 +0200, Till Kamppeter wrote: Sam, does your printer have a duplex unit? Or was the duplex option in the PPD files only for activating a manual duplex function? My printer's the Samsung CLP-300 which does not have a duplex unit. So the option just pauses printing until I put the paper back in and press the printer's Stop button. In the latter case the manual duplex function in the driver was replaced by a GUI tool (gnome-manual-duplex) which helps the user to get through the steps and to turn over the printer pages correctly. gnome-manual-duplex is not packaged yet. It needs to be investigated how well it works, whether it supports only local printing or also printing through the network, does not have any security issues, ... and if all is OK it should be packaged. Re-introducing manual duplex by a patch to the PPD file perhaps will not work as the code for manual duplex can be removed from the driver. For now the code has not been removed, but I'm going to check out gnome-manual-duplex in case it is removed some day. -- Sam Morris https://robots.org.uk/ 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 signature.asc Description: This is a digitally signed message part
Bug#627542: foo2zjs: Duplex printing option gone
Le samedi, 21 mai 2011 21.59:58, Sam Morris a écrit : Package: foo2zjs Version: 20110210dfsg-2 Severity: normal In version 20090908dfsg-5.1 of the package there was an option to print on both sides of the paper to the Samsung CLP-300. In the current version, this option has gone. Hi Sam, and thanks for your bugreport, Hunting your bug is not easy as upstream doesn't have a public VCS (so we have to work on big patches and make wild guesses). Furthermore, Debian has seen no version between 20090908 and 20110210, so we don't have much data. But… I tried a simple patch (attached), that only re-introduces the Duplex option in the PPD. a package built with this package is available there: http://azrael.raboud.homelinux.org/~didier/Debian/packages/foo2zjs/627542/foo2zjs_20110210dfsg-2+OdyX0~627542~attempt0_amd64.deb Could you try it and report back if it does work as expected ? Note that from the upstream changelog, the Duplex option has been removed from some CLP printers in favour of a tool to simulate it (gnome-manual-duplex): 2010-06-15 * foo2qpdl foomatic-db and PPD files: fix Duplex for clp-6100, clp-610, clp-620. Manual Duplex is no longer supported. Use Gnome-Manual-Duplex instead. Please delete and recreate the Samsung CLP-6?? printers. So it might be possible that your bug is actually a desired evolution from upstream. Cheers, -- OdyX Description: Re-introduce the Duplex option to CLP-300. Author: Didier Raboud o...@debian.org Bugs-Debian: #627542 Last-Update: 2011-05-25 --- a/PPD/Samsung-CLP-300.ppd +++ b/PPD/Samsung-CLP-300.ppd @@ -250,6 +250,18 @@ *FoomaticRIPOptionSetting MediaType=transparency: -m11 *CloseUI: *MediaType +*OpenUI *Duplex/Duplex Printing: PickOne +*FoomaticRIPOption Duplex: enum CmdLine A +*OrderDependency: 210 AnySetup *Duplex +*DefaultDuplex: None +*Duplex DuplexNoTumble/Long Edge (Standard): %% FoomaticRIPOptionSetting: Duplex=DuplexNoTumble +*FoomaticRIPOptionSetting Duplex=DuplexNoTumble: -d4 +*Duplex DuplexTumble/Short Edge (Flip): %% FoomaticRIPOptionSetting: Duplex=DuplexTumble +*FoomaticRIPOptionSetting Duplex=DuplexTumble: -d5 +*Duplex None/Off: %% FoomaticRIPOptionSetting: Duplex=None +*FoomaticRIPOptionSetting Duplex=None: -d1 +*CloseUI: *Duplex + *OpenUI *Copies/Copies: PickOne *FoomaticRIPOption Copies: int CmdLine A *FoomaticRIPOptionPrototype Copies: -n%s signature.asc Description: This is a digitally signed message part.
Bug#627542: foo2zjs: Duplex printing option gone
Sam, does your printer have a duplex unit? Or was the duplex option in the PPD files only for activating a manual duplex function? In the latter case the manual duplex function in the driver was replaced by a GUI tool (gnome-manual-duplex) which helps the user to get through the steps and to turn over the printer pages correctly. gnome-manual-duplex is not packaged yet. It needs to be investigated how well it works, whether it supports only local printing or also printing through the network, does not have any security issues, ... and if all is OK it should be packaged. Re-introducing manual duplex by a patch to the PPD file perhaps will not work as the code for manual duplex can be removed from the driver. Till -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#627542: foo2zjs: Duplex printing option gone
Package: foo2zjs Version: 20110210dfsg-2 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In version 20090908dfsg-5.1 of the package there was an option to print on both sides of the paper to the Samsung CLP-300. In the current version, this option has gone. - -- System Information: Debian Release: wheezy/sid APT prefers stable-updates APT policy: (550, 'stable-updates'), (550, 'stable'), (540, 'testing'), (530, 'unstable'), (520, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages foo2zjs depends on: ii cups 1.4.4-7Common UNIX Printing System(tm) - ii cups-client 1.4.4-7Common UNIX Printing System(tm) - ii dc1.06.95-2 The GNU dc arbitrary precision rev ii foomatic-filters 4.0.5-6OpenPrinting printer support - fil ii libc6 2.13-4 Embedded GNU C Library: Shared lib ii libcups2 1.4.4-7Common UNIX Printing System(tm) - Versions of packages foo2zjs recommends: pn foomatic-db-enginenone (no description available) ii unzip 6.0-4 De-archiver for .zip files ii wget 1.12-2.1 retrieves files from the web Versions of packages foo2zjs suggests: pn hannah-foo2zjsnone (no description available) ii psutils 1.17-27A collection of PostScript documen pn tix none (no description available) di tk8.4 8.4.19-4 Tk toolkit for Tcl and X11, v8.4 - - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk3YGboACgkQshl/216gEHhOQwCgmow99O1oWc3/ufkQ26cFk5tw Q6kAoJdfc0wK99z/wcs/sNeix/t2fQGa =J2qh -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org