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 \ In this example, the compressed PDF was 715KB, about one-fourth the size of the original. I find using the /ebook setting for the compression is a good compromise between file size and quality. ![]() 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). Here’s the extra step: where it says Optimize for at the bottom of the dialog box, select Minimum size (publishing online). In the Save as type menu, select PDF and enter your preferred file name. Click on the File button and then Save As. Next, enter: ps2pdf -dPDFSETTINGS=/ebook Lesson5.ps Here’s how to use it: Open the Word document you are going to convert to PDF. For example, this example file was 3.1MB as a PDF and ballooned to 29MB as a PS file! Have faith. This creates a file named Lesson5.ps, and if you look at its size, you might be alarmed. The first step is to convert it to a PostScript file by entering: pdf2ps -dLanguageLevel=3 Lesson5.pdf Follow the prompts to convert to PDF and save to your desired location. Click Create or Next depending on the file type. Select the file type you want to create a PDF from: single file, multiple files, scan, or other option. In this example, I'll show you how to shrink a file named Lesson5.pdf. How to create PDF files: Open Acrobat and choose Tools > Create PDF. 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. ![]() Simple Scan has two resolution settings, Images and Text, and saves files as PDFs. Free online course: RHEL Technical Overview.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |