#638 TRY Printing on Canon IP4700 on ubuntu

5.2-open
open
5
2012-01-01
2012-01-01
bonnand
No

I have compiled the pre release 5.2.8 pre1 on Ubuntu 10.04
It seem working well with the good combination of paper and graphic resolution.

But It doesn't work on CD.

Do you an Idea ?

Discussion

  • Hi, thanks for the bug report. Unfortunately, you don't state what combination of media types, sizes and modes you have tried. So here is a summary:-

    Currently, modes and media types are determined from the Windows driver printjob analysis. For the iP4700, the following is needed:

    1) media type options:
    - Printable Disc (Compatible)
    - Printable Disc (Other)

    2) mode options:
    - 600x600 DPI HIGH CD
    - 600x600 DPI CD

    3) size options:
    - probably CD5Inch

    I wil check on my system what a printjob looks like when output for a iP4700 virtual printer with the above settings, and compare with the Windows printjobs already recorded.

    Please let me know results of your testing of the above also.
    Regards,
    Gernot Hassenpflug

     
  • I tried following settings in CUPS:

    1) media: CD - 5 inch
    2) media type: Printable Disc (Compatible)
    3) media source: CD tray
    4) resolution: 600x600DPI HIGH CD

    I noticed that the media size argument is not properly passed to the ESC (P command for CDs (and also for FineArtA4 media sizes)---the default of 0x00 is used here. So I need to correct this if it turns out this is indeed the problem.

    Can you confirm that printing does not work to CD when you use the above settings (or the "600x600DIP CD" mode)?

    Regards,
    Gernot Hassenpflug

     
  • I have committed support for the CD and FineArt media codes in the ESC (P command.
    Could you please try a new checkout from CVS please and report the results of attempting the CD printing?

    Regards,
    Gernot Hassenpflug

     
  • bonnand
    bonnand
    2012-01-01

    Thank's for your job.
    Unfortunly i can't compile the CVS source. J have got this error.
    gcc -Disfinite=finite -O6 -o .libs/gutenprint print-image-gimp.o print.o print-gutenprint.o -pthread -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libfreetype.so -lfontconfig /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so /usr/lib/x86_64-linux-gnu/libgthread-2.0.so -lrt /usr/lib/x86_64-linux-gnu/libglib-2.0.so ../../src/gutenprintui2/.libs/libgutenprintui2.so -pthread -Wl,-rpath -Wl,/usrmake/lib
    /usr/bin/ld: print.o: undefined reference to symbol 'stp_init'

    Could you say me your modified files ? I perhaps try to compile on 5.2.8 pre1 !

    regards.
    JM

     
  • bonnand
    bonnand
    2012-01-01

    I have copied print-canon.c and .h from cvs directory to 5.2.8pre1 source. I have recompiled all,but the result seem same.
    When i print on CD nothing happen, no error pn log files.
    Thank' for you help.
    and Happy new year.
    JM

     
  • You need to reinstall the driver in CUPS. Can you check you did that? If you send me mail, I can send you a test printjob also, which you can send as a raw printjob to your printer to check if the current code creates a correct printjob.
    Regards,
    Gernot

     
  • I have committed code to support the ESC (r command variations for the Canon PIXMA iP4600, iP4700, iP4800 and iP4900 for CD media.

    The relevant files are:
    canon-printers.h
    print-canon.c

    You can copy these files to your source code that already compiles, and try again. Note you also need to restart CUPS after compilation and the make install command (as well as reinstalling the CUPS driver after that).
    Regards,
    Gernot Hassenpflug