Menu

#77 Printing Support

Git
open
nobody
print pdf (1)
5
2022-02-01
2013-09-15
Phixy
No

Hello,

I would like to have printing support in MComix to have an easy way to export documents to PDF.

I, always, scan papers (graphics or writings) in individually and then I conglomerate them into a Comic Book Archive, where I can easily reorder, edit or process them as I wish.

Currently, I gather scanned graphics to a Comic Book Archive.
I open it with E-Book Viewer of Calibre (PyQt document reader).
I export Comic Book Archives to PDF with available printing dialog.

There is an example code for printing support in $ pygtk-demo. See: Print Editor.

P.S. Before I knew that Calibre has an access to printing dialog, I needed to make a PDF document with scanned material, in addition to a Comic Book Archive, using Xsane which made PDF files times 4 larger than the one Qt Printing Dialog exports (Color Mode: Grayscale).

Discussion

  • Ark

    Ark - 2013-09-16

    img2pdf might be the tool you are looking for: https://github.com/josch/img2pdf

    However, I am not oddegrama so this post does not necessarily mean that there will be no printing support in MComix.

     
    • Phixy

      Phixy - 2013-09-19

      Thank you very much!

      This Python script is working well.

      Notes:

      • When I generate a PDF file using img2pdf, all the images, no matter what their width and height are displayed as they are.

      • When I generate a PDF file using Print dialog of GTK+, the wider images are rotated to fit the defined paper dimensions.

      • Unlike Print dialog of Qt, it seems that Print dialog of GTK+ does not have Grayscale (or Black & White) quality available, so I need a GIMP or ImageMagick script to do so.

      Thank you so so much!

       

      Last edit: Phixy 2013-09-19
  • Oddegamra

    Oddegamra - 2013-09-19

    So, you would mainly need such a feature for converting multiple images into PDF format? The tool that is linked above seems to do a pretty good job at it. Since MComix can call external tools now (also mainly thanks to Ark who posted above), it would probably be possible to use that in conjunction with one of the file/directory substitutions to call img2pdf on whatever archive is currently open in MComix.

     
    • Phixy

      Phixy - 2013-09-19

      No, not mainly, but also for office.

      I prefer to use CB7, CBT, CBZ instead of using PDF (inefficient) or TIFF (has graphics limitations) for scanned documents and papers, but, unfortunately, most of the humans are dummy Windows lUsers, like most of my family members, so you can't ask them to use a Comic Book reader to view the documents you convey them, they do have PDF readers, though.

      I want Printing support for the sake of printing, and, consequently, a PDF exporting support (a byproduct) will be available for *NIX and PDFCreator (Windows) users.

       

Log in to post a comment.

Auth0 Logo