[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#868360: cups-filters-core-drivers: driverless sets bizarre 600x2 resolution



On Fri, Jul 14, 2017 at 06:42:34PM -0300, Till Kamppeter wrote:
> It seems that the printer answers the wrong resolution (firmware bug). Under
> the printer's attributes I have found:
> 
> > DEBUG2: Attr: pwg-raster-document-resolution-supported
> > DEBUG2: Value: 600x2dpi

I have just updated the firmware to the latest version, thinking that
might be the problem.  The results are exactly the same as with the old
firmware.

> Please run the following command:
> 
> ipptool -tv ipp://copper.local:631/ipp/print get-printer-attributes.test >
> ipp-attrs.txt
> 
> and attach the file ipp-attrs.txt to your answer to this bug report. Thanks.

Attached.

> To be able to print for the time being, please edit your PPD file as
> follows:
> 
> Replace
> 
> ----------
> *DefaultResolution: 600x2dpi
> *OpenUI *cupsPrintQuality/Print Quality: PickOne
> *OrderDependency: 10 AnySetup *cupsPrintQuality
> *DefaultcupsPrintQuality: Normal
> *cupsPrintQuality Normal/Normal: "<</HWResolution[600 2]>>setpagedevice"
> *cupsPrintQuality High/High: "<</HWResolution[600 2]>>setpagedevice"
> *CloseUI: *cupsPrintQuality
> ----------
> 
> by
> 
> ----------
> *DefaultResolution: 600x600dpi
> *OpenUI *cupsPrintQuality/Print Quality: PickOne
> *OrderDependency: 10 AnySetup *cupsPrintQuality
> *DefaultcupsPrintQuality: Normal
> *cupsPrintQuality Normal/Normal: "<</HWResolution[600 600]>>setpagedevice"
> *cupsPrintQuality High/High: "<</HWResolution[2400 600]>>setpagedevice"
> *CloseUI: *cupsPrintQuality
> ----------
> 
> Do not forget to restart CUPS after editing or replacing your PPD file.
> 
> Please tell whether this change fixes your problem.

This does fix the problem.  Since this printer supports PCL, I can also
use the hpijs-pcl5c driver in the mean time.
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
"/usr/share/cups/ipptool/get-printer-attributes.test":
    Get-Printer-Attributes:
        attributes-charset (charset) = utf-8
        attributes-natural-language (naturalLanguage) = en
        printer-uri (uri) = ipp://copper.local:631/ipp/print
    Get printer attributes using Get-Printer-Attributes                  [PASS]
        RECEIVED: 4472 bytes in response
        status-code = successful-ok (successful-ok)
        attributes-charset (charset) = utf-8
        attributes-natural-language (naturalLanguage) = en
        copies-default (integer) = 1
        finishings-default (enum) = none
        media-default (keyword) = na_letter_8.5x11in
        media-col-default (collection) = {media-type=stationery media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=auto}
        orientation-requested-default (enum) = portrait
        output-bin-default (keyword) = face-down
        output-mode-default (keyword) = color
        print-quality-default (enum) = normal
        printer-resolution-default (resolution) = 600dpi
        sides-default (keyword) = one-sided
        print-color-mode-default (keyword) = color
        copies-supported (rangeOfInteger) = 1-1
        finishings-supported (enum) = none
        media-supported (1setOf keyword) = iso_a4_210x297mm,na_letter_8.5x11in,na_legal_8.5x14in,na_executive_7.25x10.5in,iso_a5_148x210mm,iso_a6_105x148mm,iso_b5_176x250mm,jis_b5_182x257mm,na_number-10_4.125x9.5in,iso_dl_110x220mm,iso_c5_162x229mm,na_monarch_3.875x7.5in,na_index-3x5_3x5in,om_folio_210x330mm,custom_min_76.2x127mm,custom_max_215.9x355.6mm
        media-col-supported (1setOf keyword) = media-type,media-size,media-top-margin,media-left-margin,media-right-margin,media-bottom-margin,media-source
        orientation-requested-supported (1setOf enum) = portrait,landscape
        output-bin-supported (keyword) = face-down
        output-mode-supported (1setOf keyword) = color,auto,monochrome
        print-quality-supported (1setOf enum) = normal,high
        printer-resolution-supported (1setOf resolution) = 600dpi,2400x600dpi
        sides-supported (1setOf keyword) = one-sided,two-sided-long-edge,two-sided-short-edge
        print-color-mode-supported (1setOf keyword) = auto,color,monochrome
        generated-natural-language-supported (1setOf naturalLanguage) = en,fr
        printer-uri-supported (uri) = ipp://copper.local./ipp/print
        uri-security-supported (keyword) = none
        uri-authentication-supported (keyword) = none
        printer-name (nameWithoutLanguage) = copper
        printer-location (textWithoutLanguage) = 
        printer-info (textWithoutLanguage) = Brother MFC-9340CDW
        printer-make-and-model (textWithoutLanguage) = Brother MFC-9340CDW
        printer-state (enum) = idle
        printer-state-reasons (keyword) = none
        ipp-versions-supported (1setOf keyword) = 1.0,1.1,2.0
        operations-supported (1setOf enum) = Print-Job,Validate-Job,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes
        multiple-document-jobs-supported (boolean) = false
        natural-language-configured (naturalLanguage) = en
        charset-configured (charset) = utf-8
        charset-supported (charset) = utf-8
        document-format-supported (1setOf mimeMediaType) = application/octet-stream,image/urf,image/pwg-raster
        document-format-default (mimeMediaType) = application/octet-stream
        printer-is-accepting-jobs (boolean) = true
        queued-job-count (integer) = 0
        pdl-override-supported (keyword) = attempted
        printer-up-time (integer) = 1388
        compression-supported (keyword) = none
        color-supported (boolean) = true
        job-creation-attributes-supported (1setOf keyword) = copies,finishings,ipp-attribute-fidelity,job-name,media,media-col,orientation-requested,output-bin,output-mode,print-quality,printer-resolution,requesting-user-name,sides,print-color-mode
        landscape-orientation-requested-preferred (enum) = 5
        marker-colors (1setOf nameWithoutLanguage) = #000000,#00FFFF,#FF00FF,#FFFF00
        marker-high-levels (1setOf integer) = 100,100,100,100
        marker-levels (1setOf integer) = 100,100,100,100
        marker-low-levels (1setOf integer) = 10,10,10,10
        marker-names (1setOf nameWithoutLanguage) = Black Toner Cartridge,Cyan Toner Cartridge,Magenta Toner Cartridge,Yellow Toner Cartridge
        marker-types (1setOf keyword) = toner,toner,toner,toner
        media-bottom-margin-supported (integer) = 432
        media-left-margin-supported (integer) = 432
        media-right-margin-supported (integer) = 432
        media-source-supported (1setOf keyword) = auto,manual,tray-1
        media-top-margin-supported (integer) = 432
        media-type-supported (1setOf keyword) = stationery,stationery-lightweight,stationery-heavyweight,stationery-cover,envelope,envelope-heavyweight,envelope-lightweight,stationery-recycled,labels,photographic-glossy,stationery-bond
        pages-per-minute (integer) = 23
        pages-per-minute-color (integer) = 23
        pdf-versions-supported (keyword) = none
        printer-device-id (textWithoutLanguage) = MFG:Brother;CMD:PJL,PCL,PCLXL,URF;MDL:MFC-9340CDW;CLS:PRINTER;CID:Brother Color Type4;URF:SRGB24,W8,CP1,IS1-4,MT1-3-4-5-8-11,OB10,PQ4-5,RS600,DM1;
        printer-icons (1setOf uri) = http://copper.local./ipp/printer-icons-128.png,http://copper.local./ipp/printer-icons-512.png
        printer-more-info (uri) = http://copper.local./net/net/airprint.html
        printer-uuid (uri) = urn:uuid:e3248000-80ce-11db-8000-30055cc49e29
        urf-supported (1setOf keyword) = SRGB24,W8,CP1,IS1-4,MT1-3-4-5-8-11,OB10,PQ4-5,RS600,DM1
        ipp-features-supported (keyword) = wfds-print-1.0
        pwg-raster-document-resolution-supported (resolution) = 600x2dpi
        pwg-raster-document-sheet-back-supported (keyword) = Rotated

Attachment: signature.asc
Description: PGP signature


Reply to: