
I think I'll stick with the two much shorter commands that are easier for me to remember. To learn about the parameters not included in the man page, refer to the Ghostscript online documentation. dNOPAUSE -dBATCH -dColorImageResolution=150 \īut, looking at the gs man page, I don't think there is any way I would have come up with this on my own. I also learned that I can use the gs command to accomplish everything in one go: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \
#Print pdf shrink size pdf
In this example, the compressed PDF was 715KB, about one-fourth the size of the original.

I did try to reduce the size by generating JPEGs with canvas.toDataURL image/jpeg, 0.8) and using the dataURL instead of the canvas. I find using the /ebook setting for the compression is a good compromise between file size and quality. The problem is that the resulting PDF files were relatively large (above 10MB, while around 1MB would be the acceptable maximum). If you want, you can specify another name for the new PDF with: ps2pdf -dPDFSETTINGS=/ebook -sOutputFile=Lesson5b.pdf Lesson5.ps This overwrites your previous Lesson5.pdf with a smaller file (a good reason for making a backup). Next, enter: ps2pdf -dPDFSETTINGS=/ebook Lesson5.ps For example, this example file was 3.1MB as a PDF and ballooned to 29MB as a PS file! Have faith. Click the Audit Space Usage button at the top of the dialog box. Choose File > Save As Other > Optimized PDF, or Go to Tools > Optimize PDF, and then click Advanced Optimization. This creates a file named Lesson5.ps, and if you look at its size, you might be alarmed. The results are reported both in bytes and as a percentage of the total file size. The first step is to convert it to a PostScript file by entering: pdf2ps -dLanguageLevel=3 Lesson5.pdf

#Print pdf shrink size how to
In this example, I'll show you how to shrink a file named Lesson5.pdf. Text will compress more than images, so if you can create your PDF from an electronic document format, rather than from the scan of a printed page, your file. How to shrink a PDFįirst, make a backup of the original PDF file with a different name (in case you make an error somewhere). So I pieced together the following by combining information from the man pages with various other bits of advice I found on the internet. The man pages for these commands are terse, and it was challenging to find good documentation for them and their settings. This solution shrinks the size of PDF files, making them easier to share via email. I found an answer to the latter problem using the commands pdf2ps and ps2pdf, which are part of the Ghostscript package. Unfortunately, the quality of the scans-the words, numbers, and graphics-is unsuitable using the Text setting, but the files are quite large-up to 5MB for just a few pages-using the Image setting. Now: All you have to do is click on the 'Save Changes' button and wait. We support the most common and widely spread ones. Then: Choose the aspect ratio for your PDF file.

Simple Scan has two resolution settings, Images and Text, and saves files as PDFs. First: Upload your file from your computer or a cloud or drag and drop it into the field above.
#Print pdf shrink size free
Free online course: RHEL Technical Overview.
