Menu

#704 Can't print with SELPHY CP1200 on card size media

5.2-open
closed-fixed
None
5
2017-04-04
2017-04-03
No

I don't know if it is appropriate for me as reporter to set an owner on a new bug report but since it is (possibly) related to selphyneo, I figured I might as well select Solomon Peachy as he apparently worked on that backend.

Also, I don't know for sure if this is a Gutenprint bug or simply some problem with my Selphy printer.

The issue is with printing to any type of media in the "card" size. I have tried with single square labels in card format and also the cards with 8 x (?) little stickers. Whenever I try to print on those media, the Selphy says "Busy..." for a few seconds and then just goes back to the standby screen without printing anything. No errors in CUPS output, only "printing completed" or something to that effect.

Printing on the standard "postcard" sized media works flawlessly every time.

I tried to divert the data sent to the printer to a file instead, so that I could look at the output and see if the filters somehow messes up the output so the printer only sees garbage, but the file is just a binary blob of (to me) unknown format so it doesn't tell me anything. I'm attaching the output as "printout".

Like I said before, I don't know that this is a problem with selphyneo backend but since the printer has no problem with "normal" size media, I don't know what else it could be.

Tested on 5.2.12 and 5.2.11 (presumably with the old selphy backend), same results.

1 Attachments

Discussion

  • Solomon Peachy

    Solomon Peachy - 2017-04-03

    Based on the output you attached (thanks!) it looks like Gutenprint is generating something that's 668 * 670. Not sure why yet.

     
  • Solomon Peachy

    Solomon Peachy - 2017-04-03

    Great, found the problem. Had a dimension swapped in one table, but correct in another.

    grab this file:

    http://www.shaftnet.org/~pizza/cp1200-c.raw

    and print it using 'lpr -P name -o raw

    If that works, I'll commit the fix..

     
  • Martin Vollrathson

    YES!

    It printed a photo of a color chart.

    Great work, Solomon!

    On a side note, why are the sizes labeled so oddly? ("hagaki", "CP_L")

    Only "Card" makes any sense to me.

     
    • Solomon Peachy

      Solomon Peachy - 2017-04-04

      You shouldn't see anything other than 'postcard', 'CP_L', and 'Card' for the selphy printers. Unless there's some sort of translation going on..

      CP_L is the name that Canon uses.

       
  • Solomon Peachy

    Solomon Peachy - 2017-04-04
    • status: open --> closed-fixed
     
  • Solomon Peachy

    Solomon Peachy - 2017-04-04

    Fix will be in 5.2.13 -- or you can rebuild from git if you want..

     
  • Martin Vollrathson

    I patched print-olympus.c in the 5.2.12 sources and it works fine.

    About the media size names, should I open a new ticket? See the attached screenshot (Gnome 3) for which sizes I can choose from.

    Literally:
    "hagaki (postcard)"
    "CP_L 89x119mm"
    "Card 54x86 mm"

    I would have expected the first item to read "Postcard 100x148mm".

    Oddly, I can't find the exakt string "hagaki (postcard)" by grepping through the 5.2.12 sources so I have no idea where it comes from. LANG is en_US.utf8.

    I get the same "hagaki" on a different computer as well.

     
    • Solomon Peachy

      Solomon Peachy - 2017-04-04

      The fact that you see 'US Letter' in that dialog shows that the print sizes are not coming from the PPD (and therefore Gutenprint). Here are the actual sizes that Gutenprint reports for the CP1200 -- These are the only ones you should see in a print size list:

      Postcard 100x148mm
      CP_L 89x119mm
      Card 54x86mm

      What you're seeing may be coming from the application or GTK/QT; ie whatever is providing the print dialog. Perhaps it has an internal table of print sizes and it returns the closest match for the physical dimensions from the printer? You may want to file a bug against the relevant component..

       

Log in to post a comment.

MongoDB Logo MongoDB