#134 reduces PDF to half size of scan

v1.0_(example)
closed-fixed
nobody
None
5
2014-01-27
2012-04-30
Anonymous
No

Scanning a letter size document and saving to filename.PDF produces a viewable file in Foxit PDF viewer that is smaller than it should be/used to be. Adobe viewer enlarges the file to fill screen, but when combined with LibreOffice-generated PDF (an 8-1/2 x 11 US Letter document format) using PDF-Shuffler (alternatively, PDF-SAM produces the same results), the gscan2pdf PDF document is half the size of the LibreOffice generated document, making gscan2PDF document unreadable due to reduced size. Looking at gscan2PDF document in Adobe>File>Properties reveals the document size is indeed 4.24" x 5.49", or half the dimensions of letter size. Simple Scan and Image Scan both scan same document at appropriate size. After HOURS of experimentation, I can "enlarge" the gscan2pdf document to appropriate size by "Print to PDF" printer function and THEN merging the document with LibreOffice document in PDF Shuffler.

FWIW, this behavior seems to coincide with recently updated version to 1.0.4 and Sane.pm patch previously provided by you on this website. Perhaps a coincidence, but perhaps helpful in diagnosis? What has changed? How to fix?

Discussion

  • Jeffrey Ratcliffe

    Please start gscan2pdf with

    gscan2pdf --log=log

    scan, save to PDF and quit, and post the log file. Also post the output from

    pdfinfo file.pdf

    Please check the page size of the PDF without combining it.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-05-02

    Pursuant to your request, files are attached as "HalfSize PDF Log" and "HalfSize PDF Info", respectively. Both are gedit text files, but for some reason Nautilus thinks the PDF log is a CAD drawing file. It's not, it's text.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-05-02

    gscan2pdf log file output

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-05-02

    pdfinfo output

     
  • Jim Parks

    Jim Parks - 2013-04-10

    I don't have a fix, but I have what might be a workaround.

    I had the same problem, and it turned out that if I changed the resolution from 200 dpi to 400 dpi, a US letter-sized PDF would be created at the correct size.

    Good luck.

     
  • Jeffrey Ratcliffe

    I fixed a bug like this in v1.1.1. Please test v1.1.3 to see whether it is still present in the current version.

     
  • Jim Parks

    Jim Parks - 2013-04-11

    Hi, Jeffrey. Thanks for jumping in. It actually was v1.1.3 in my case, and I'm scanning in a document right this second and had to do it at 400 DPI to get the final PDF as 8.5" X 11".

     
  • Jeffrey Ratcliffe

    This works fine for me at 100, 200 and 400dpi. Please start gscan2pdf from the command line with the --log=log option, and scan/save as PDF twice, once scanning at 200dpi, and once at 400dpi, quit and post the log files and PDFs so that I can investigate.

     
  • Jim Parks

    Jim Parks - 2013-04-17

    Hi, Jeffrey,

    Just realized as I tested this that it only seems to happen when using the sheet feeder. Using the flatbed, everything works as expected.

    Here are the results as a .tgz file.

     
  • Jeffrey Ratcliffe

    • status: open --> closed-fixed
    • Group: --> v1.0_(example)
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks