Menu

#719 Canon MG5440 - do not print 4x6 format, but can print A4, with MG5400 driver

Will not fix
closed-invalid
5
2019-02-13
2019-02-08
Fedir
No

I have strange issue with Gutenprint and my Canon MG5440 .
I can print format A4, but when I want to print a photo 4x6 (or 6x4), it does not print anything.
I use Ubuntu 18.04 and tried Gutenprint 5.2.13 and 5.3.1.

In the error log there

...
[Job 136] PID 11034 (/usr/lib/cups/filter/gstoraster) stopped with status 1
...
[Job 136] printer-state-message="Filter failed"
[Job 136] printer-state-reasons=none

I have attached error_log, made with LogLevel=debug, look for [Job 136]

1 Attachments

Related

Bugs: #719

Discussion

  • Robert Krawitz

    Robert Krawitz - 2019-02-08
    • assigned_to: Gernot Hassenpflug
     
    • Gernot Hassenpflug

      On Fri, Feb 8, 2019 at 10:33 PM Robert Krawitz
      rlk@users.sourceforge.net wrote:

      assigned_to: Gernot Hassenpflug


      [bugs:#719] Canon MG5440 - do not print 4x6 format, but can print A4, with MG5400 driver

      Status: open
      Group: 5.2-open
      Labels: Canon mg5400 mg5440
      Created: Fri Feb 08, 2019 12:33 PM UTC by Fedir
      Last Updated: Fri Feb 08, 2019 12:33 PM UTC
      Owner: Gernot Hassenpflug
      Attachments:

      error_log3 (566.1 kB; application/octet-stream)

      I have strange issue with Gutenprint and my Canon MG5440 .
      I can print format A4, but when I want to print a photo 4x6 (or 6x4), it does not print anything.
      I use Ubuntu 18.04 and tried Gutenprint 5.2.13 and 5.3.1.

      Hello,
      Thanks for the bug report.

      In the error log there

      ...
      [Job 136] PID 11034 (/usr/lib/cups/filter/gstoraster) stopped with status 1
      ...
      [Job 136] printer-state-message="Filter failed"
      [Job 136] printer-state-reasons=none

      I have attached error_log, made with LogLevel=debug, look for [Job 136]

      I had a look, I am not sure what exactly is going wrong, but I see
      some mention of CD-related dimensions being set, and I do not see any
      resolution mode being found. It is unfortunate you are using
      gutenprint 5.2.13 and not the latest 5.2.14, I will get back to you on
      that.
      What I can try to do is create a 4x6 printjob on a virtual printer
      here, and see if when you send that file directly to the printer (with
      the -o raw option to lp or lpr) you can get a print. Also, I will try
      to compare what my debug logs look like.
      Please be patient for a day or two.
      Best regards,
      Gernot Hassenpflug

       

      Related

      Bugs: #719

      • Gernot Hassenpflug

        Hello,
        I printed successfully to a virtual MG5400 and attach the debug log
        for 4x6 on plain media.
        Also the test printjob for you so you can try to send it to the MG5400
        directly, bypassing gutenprint.
        Gunzip the printfile first, then send it to the printer queue, something like
        lpr -P <queuename> -o raw <filename></filename></queuename>

        Also, I tried to search for the error
        **** Unable to open the initial device, quitting.
        seen in the debug log you send.
        I found that it often appeared for network-connected printers. I see
        you are connecting via ipp on a LAN connection.
        Any chance you could try with a USB connection?
        Best regards,
        Gernot Hassenpflug

        On Sat, Feb 9, 2019 at 12:28 AM Gernot Hassenpflug
        gernot2270@users.sourceforge.net wrote:

        On Fri, Feb 8, 2019 at 10:33 PM Robert Krawitz
        rlk@users.sourceforge.net wrote:

        assigned_to: Gernot Hassenpflug


        [bugs:#719] Canon MG5440 - do not print 4x6 format, but can print A4, with MG5400 driver

        Status: open
        Group: 5.2-open
        Labels: Canon mg5400 mg5440
        Created: Fri Feb 08, 2019 12:33 PM UTC by Fedir
        Last Updated: Fri Feb 08, 2019 12:33 PM UTC
        Owner: Gernot Hassenpflug
        Attachments:

        error_log3 (566.1 kB; application/octet-stream)

        I have strange issue with Gutenprint and my Canon MG5440 .
        I can print format A4, but when I want to print a photo 4x6 (or 6x4), it does not print anything.
        I use Ubuntu 18.04 and tried Gutenprint 5.2.13 and 5.3.1.

        Hello,
        Thanks for the bug report.

        In the error log there

        ...
        [Job 136] PID 11034 (/usr/lib/cups/filter/gstoraster) stopped with status 1
        ...
        [Job 136] printer-state-message="Filter failed"
        [Job 136] printer-state-reasons=none

        I have attached error_log, made with LogLevel=debug, look for [Job 136]

        I had a look, I am not sure what exactly is going wrong, but I see
        some mention of CD-related dimensions being set, and I do not see any
        resolution mode being found. It is unfortunate you are using
        gutenprint 5.2.13 and not the latest 5.2.14, I will get back to you on
        that.
        What I can try to do is create a 4x6 printjob on a virtual printer
        here, and see if when you send that file directly to the printer (with
        the -o raw option to lp or lpr) you can get a print. Also, I will try
        to compare what my debug logs look like.
        Please be patient for a day or two.
        Best regards,
        Gernot Hassenpflug


        [bugs:#719] Canon MG5440 - do not print 4x6 format, but can print A4, with MG5400 driver

        Status: open
        Group: 5.2-open
        Labels: Canon mg5400 mg5440
        Created: Fri Feb 08, 2019 12:33 PM UTC by Fedir
        Last Updated: Fri Feb 08, 2019 01:33 PM UTC
        Owner: Gernot Hassenpflug
        Attachments:

        error_log3 (566.1 kB; application/octet-stream)

        I have strange issue with Gutenprint and my Canon MG5440 .
        I can print format A4, but when I want to print a photo 4x6 (or 6x4), it does not print anything.
        I use Ubuntu 18.04 and tried Gutenprint 5.2.13 and 5.3.1.

        In the error log there

        ...
        [Job 136] PID 11034 (/usr/lib/cups/filter/gstoraster) stopped with status 1
        ...
        [Job 136] printer-state-message="Filter failed"
        [Job 136] printer-state-reasons=none

        I have attached error_log, made with LogLevel=debug, look for [Job 136]


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gimp-print/bugs/719/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs: #719

  • Fedir

    Fedir - 2019-02-08

    Thank for your quick response.

    you are using gutenprint 5.2.13 and not the latest 5.2.14,

    Currently I use gutenprint_5.3.1, I have downloaded from https://launchpad.net/ubuntu/+source/gutenprint/5.3.1-7build1
    But result the same.

    Also the test printjob for you so you can try to send it to the MG5400 directly, bypassing gutenprint.

    I will try it soon, and will write a result. Thank you!

    you are connecting via ipp on a LAN connection.
    Any chance you could try with a USB connection?

    yeah, I also thought that could be a reason, but even with USB the problem remain.
    I will attach new log with USB, need some time.

     

    Last edit: Fedir 2019-02-08
  • Fedir

    Fedir - 2019-02-08

    So I have tried, I changed connection to USB.
    And:

    [Job 141] - "MG5400-4x6-auto.prn" result OK
    [Job 142] - A4 result OK
    [Job 143] - 4x6 result FAIL, does not print, the error the same

    Something with that "Unable to open the initial device, quitting", and "gstoraster".
    but which "device", I cannot understood.

    I have attached new log

     
    • Gernot Hassenpflug

      On Sat, Feb 9, 2019 at 4:59 AM Fedir fedik@users.sourceforge.net wrote:

      Hi Fedir,
      Thanks likewise for the rapid feedback.

      So I have tried, I changed connection to USB.
      And:

      [Job 141] - "MG5400-4x6-auto.prn" result OK
      [Job 142] - A4 result OK
      [Job 143] - 4x6 result FAIL, does not print, the error the same

      OK, so no problem specific to LAN.
      And my test job printed fine, so not a problem with 4x6 per se.

      I have not had time to look at your new log, but I would like to check
      further tests.
      My test print was on plain media, using automatic resolution, so it
      used default for plain media, just like A4.
      Can you try printing 4x6 on plain media to see if it works?
      It could be that the resolutions defined for other media are causing a problem.
      I can make a test print for that also later.

      Something with that "Unable to open the initial device, quitting", and "gstoraster".
      but which "device", I cannot understood.
      I have attached new log

      Till later,
      Gernot

      Attachments:

      error_log.zip (237.1 kB; application/zip)


      [bugs:#719] Canon MG5440 - do not print 4x6 format, but can print A4, with MG5400 driver

      Status: open
      Group: 5.2-open
      Labels: Canon mg5400 mg5440
      Created: Fri Feb 08, 2019 12:33 PM UTC by Fedir
      Last Updated: Fri Feb 08, 2019 04:16 PM UTC
      Owner: Gernot Hassenpflug
      Attachments:

      error_log3 (566.1 kB; application/octet-stream)

      I have strange issue with Gutenprint and my Canon MG5440 .
      I can print format A4, but when I want to print a photo 4x6 (or 6x4), it does not print anything.
      I use Ubuntu 18.04 and tried Gutenprint 5.2.13 and 5.3.1.

      In the error log there

      ...
      [Job 136] PID 11034 (/usr/lib/cups/filter/gstoraster) stopped with status 1
      ...
      [Job 136] printer-state-message="Filter failed"
      [Job 136] printer-state-reasons=none

      I have attached error_log, made with LogLevel=debug, look for [Job 136]


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gimp-print/bugs/719/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #719

  • Fedir

    Fedir - 2019-02-09

    I have fixed it! well, no :)

    Seem it a bug in Ghostscript 9.26, or some backward compability break in it.
    I have downgrade to Ghostscript 9.22 and everithing working again

    apt install ghostscript=9.22~dfsg+1-0ubuntu1 libgs9=9.22~dfsg+1-0ubuntu1 libgs9-common=9.22~dfsg+1-0ubuntu1
    

    I found related bug report for HP printer at Debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908205

     

    Last edit: Fedir 2019-02-09
  • Fedir

    Fedir - 2019-02-09

    I think would be good idea to post a bug reaport on Ghostscript, but I do not know how to reproduce it clearly, by use only Ghostscript.
    I suspect something with:

    [Job 143] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -sMediaClass=Cassette -sMediaType=PhotopaperMatte -r600x600 -dDEVICEWIDTHPOINTS=288 -dDEVICEHEIGHTPOINTS=432 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=6 -dcupsCompression=7 -dcupsRowFeed=2 -scupsPageSizeName=w288h432 -I/usr/share/cups/fonts -c \'<</.HWMargins[0.000000 0.000000 0.000000 0.000000] /Margins[0 0]>>setpagedevice\' -f -_
    
     
  • Robert Krawitz

    Robert Krawitz - 2019-02-09

    I suggest filing a bug against Ubuntu (on Launchpad) regarding this. It's possible that this is related to how Ubuntu builds Ghostscript, in which case the right place to start is with Ubuntu.

     
  • Fedir

    Fedir - 2019-02-10

    Something not that simple,
    I wanted to fill a bug, and so I have tried a raw command but with samplec.ps and Ghostscript 9.26 does not crashes

    gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sOutputFile=foo.bar -sDEVICE=cups -sMediaClass=Cassette -sMediaType=PhotopaperMatte -r600x600 -dDEVICEWIDTHPOINTS=288 -dDEVICEHEIGHTPOINTS=432 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=6 -dcupsCompression=7 -dcupsRowFeed=2 -scupsPageSizeName=w288h432 -I/usr/share/cups/fonts -c '<</.HWMargins[0.000000 0.000000 0.000000 0.000000] /Margins[0 0]>>setpagedevice' -f samplec.ps
    
     

    Last edit: Fedir 2019-02-10
  • Robert Krawitz

    Robert Krawitz - 2019-02-11

    Thank you.

    Ubuntu opened an upstream bug with Ghostscript: https://bugs.ghostscript.com/show_bug.cgi?id=700584

     
  • Robert Krawitz

    Robert Krawitz - 2019-02-11
    • labels: Canon, mg5400, mg5440 --> ghostscript, upstream
     
  • Robert Krawitz

    Robert Krawitz - 2019-02-11

    I will close this bug as Invalid when Ghostscript acknowledges the bug. "Invalid" doesn't mean that the bug was reported incorrectly (in fact, it was reported very well and enabled it to be tracked down quickly), it simply means that the bug does not lie within Gutenprint and we cannot do anything about it.

     
  • Fedir

    Fedir - 2019-02-11

    yes, no problem, I understand ;)

     
  • Robert Krawitz

    Robert Krawitz - 2019-02-13
    • status: open --> closed-invalid
    • Group: 5.2-open --> Will not fix
     
  • Robert Krawitz

    Robert Krawitz - 2019-02-13

    Upstream bug is accepted, so closing this.

     

Log in to post a comment.

MongoDB Logo MongoDB