Bug#518117: [No:003492] Bug#518117: Bug#518362: foomatic-filters: /usr/lib/cups/filter/foomatic-rip stopped with status 3!

2009-03-08 Thread Gabriel Kerneis
[CCing Brother's technical support]

On Thu, Mar 05, 2009 at 12:13:38PM -0600, Chris Lawrence wrote:
 One thing that might help: Gabriel and Thomas, can you send me the PPD
 files from /etc/cups/ppd/ for your printers?  I might be able to do
 some debugging of foomatic-rip manually even though I don't have the
 printers in question with the PPD file.

I did a lot of testing and here is what works and what doesn't:

* Using the Brother HL-2060 - CUPS+Gutenprint v5.2.3 driver works
  perfectly well! I tried it because it was selected by default when I
  reinstalled the printer.
* Using the Brother HL-2060 Foomatic/hl1250 (recommended) driver fails
  with a segfault of foomatic, as reported previously. Files related:
  hl1250.ppd and debug (from /var/log/cups/error_log).
* Using the propietary driver from Brother fails silently (no segfault,
  the task is reported to work and the printer seems to wake up but
  doesn't print anything). Files related: HL2070N-prop.ppd and
  debug-prop.

This applies to Debian Sid x86_64 updated this morning. I'll try on x86
in the next few days and let you know.

The following Ubuntu bug report seems related, by the way:
https://bugs.launchpad.net/ubuntu/+source/foomatic-filters/+bug/321164
It includes a patch that I didn't try.

Regards,
-- 
Gabriel Kerneis
*PPD-Adobe: 4.3
*%
*% For information on using this, and to obtain the required backend
*% script, consult http://www.openprinting.org/
*%
*% This file is published under the GNU General Public License
*%
*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with 
*% all programs and environments which use PPD files for dealing with
*% printer capability information. The printer must be configured with the
*% foomatic-rip backend filter script of Foomatic 3.0.0 or newer. This 
*% file and foomatic-rip work together to support PPD-controlled printer
*% driver option access with arbitrary free software printer drivers and
*% printing spoolers.
*%
*% To save this file on your disk, wait until the download has completed
*% (the animation of the browser logo must stop) and then use the
*% Save as... command in the File menu of your browser or in the 
*% pop-up manu when you click on this document with the right mouse button.
*% DO NOT cut and paste this file into an editor with your mouse. This can
*% introduce additional line breaks which lead to unexpected results.
*%
*% You may save this file as 'Brother-HL-2060-hl1250.ppd'
*%
*%
*FormatVersion: 4.3
*FileVersion:   1.1
*LanguageVersion: English 
*LanguageEncoding: ISOLatin1
*PCFileName:HL1250.PPD
*Manufacturer:  Brother
*Product:   (HL-2060)
*cupsVersion:   1.0
*cupsManualCopies: True
*cupsModelNumber:  2
*cupsFilter:application/vnd.cups-postscript 0 foomatic-rip
*%pprRIP:foomatic-rip other
*ModelName: Brother HL-2060
*ShortNickName: Brother HL-2060 hl1250
*NickName:  Brother HL-2060 Foomatic/hl1250 (recommended)
*PSVersion: (3010.000) 550
*PSVersion: (3010.000) 651
*PSVersion: (3010.000) 652
*PSVersion: (3010.000) 653
*PSVersion: (3010.000) 704
*PSVersion: (3010.000) 705
*PSVersion: (3010.000) 800
*LanguageLevel: 3
*ColorDevice:   False
*DefaultColorSpace: Gray
*FileSystem:False
*Throughput:1
*LandscapeOrientation: Plus90
*TTRasterizer:  Type42
*1284DeviceID: DRV:Dhl1250,R1,M0,TG;

*driverName hl1250/hl1250: 
*driverType G/GhostScript built-in: 
*driverUrl: http://www.amelek.gda.pl/gs-hl1250/;
*driverObsolete: False




*VariablePaperSize: False

*FoomaticIDs: Brother-HL-2060 hl1250
*FoomaticRIPCommandLine: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDE
VICE=hl1250%A%Z -sOutputFile=- -
*End

*OpenGroup: General/General

*OpenUI *PageSize/Page Size: PickOne
*OrderDependency: 100 AnySetup *PageSize
*DefaultPageSize: A4
*PageSize Letter/US Letter: /PageSize[612 792]/ImagingBBox 
nullsetpagedevice
*PageSize A4/A4: /PageSize[595 842]/ImagingBBox nullsetpagedevice
*PageSize 11x17/11x17: /PageSize[792 1224]/ImagingBBox nullsetpagedevice
*PageSize A3/A3: /PageSize[842 1191]/ImagingBBox nullsetpagedevice
*PageSize A5/A5: /PageSize[421 595]/ImagingBBox nullsetpagedevice
*PageSize B5/B5 (JIS): /PageSize[516 729]/ImagingBBox nullsetpagedevice
*PageSize Env10/Envelope #10: /PageSize[297 684]/ImagingBBox 
nullsetpagedevice
*PageSize EnvC5/Envelope C5: /PageSize[459 649]/ImagingBBox 
nullsetpagedevice
*PageSize EnvDL/Envelope DL: /PageSize[312 624]/ImagingBBox 
nullsetpagedevice
*PageSize EnvISOB5/Envelope B5: /PageSize[499 709]/ImagingBBox 
nullsetpagedevice
*PageSize EnvMonarch/Envelope Monarch: /PageSize[279 540]/ImagingBBox 
nullsetpagedevice
*PageSize Executive/Executive: /PageSize[522 756]/ImagingBBox 
nullsetpagedevice
*PageSize Legal/US Legal: /PageSize[612 1008]/ImagingBBox 
nullsetpagedevice
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*OrderDependency: 100 AnySetup *PageRegion
*DefaultPageRegion: A4
*PageRegion Letter/US Letter: /PageSize[612 792]/ImagingBBox 
nullsetpagedevice
*PageRegion 

Bug#518117: [No:003492] Bug#518117: Bug#518362: foomatic-filters: /usr/lib/cups/filter/foomatic-rip stopped with status 3!

2009-03-08 Thread Chris Lawrence
With the PPD file, I was able to track down the problem (at least with
the hl1250 driver); there were a couple of minor bugs in the
foomatic-rip code when sending JCL strings to the printer.  This is
fixed in -3, which will be uploaded to Debian in a few minutes.

I don't know what the problem is with Brother's PPD file; sorry.

On Sun, Mar 8, 2009 at 3:49 AM, Gabriel Kerneis kern...@pps.jussieu.fr wrote:
 [CCing Brother's technical support]

 On Thu, Mar 05, 2009 at 12:13:38PM -0600, Chris Lawrence wrote:
 One thing that might help: Gabriel and Thomas, can you send me the PPD
 files from /etc/cups/ppd/ for your printers?  I might be able to do
 some debugging of foomatic-rip manually even though I don't have the
 printers in question with the PPD file.

 I did a lot of testing and here is what works and what doesn't:

 * Using the Brother HL-2060 - CUPS+Gutenprint v5.2.3 driver works
  perfectly well! I tried it because it was selected by default when I
  reinstalled the printer.
 * Using the Brother HL-2060 Foomatic/hl1250 (recommended) driver fails
  with a segfault of foomatic, as reported previously. Files related:
  hl1250.ppd and debug (from /var/log/cups/error_log).
 * Using the propietary driver from Brother fails silently (no segfault,
  the task is reported to work and the printer seems to wake up but
  doesn't print anything). Files related: HL2070N-prop.ppd and
  debug-prop.

 This applies to Debian Sid x86_64 updated this morning. I'll try on x86
 in the next few days and let you know.

 The following Ubuntu bug report seems related, by the way:
 https://bugs.launchpad.net/ubuntu/+source/foomatic-filters/+bug/321164
 It includes a patch that I didn't try.

 Regards,
 --
 Gabriel Kerneis



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org