![]() There are other utility scripts besides ps2pdf, including pdf2ps, ps2epsi, pdf2dsc, ps2ascii, There are also a number of utility scripts for common to convert a PostScript document to PDF: ps2pdf file.ps dTextAlphaBits=4 -sOutputFile='paper-%00d.pgm' paper.ps To rasterize a whole document: gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pgmraw -r150 \ To render a figure in grayscale: gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pnggray -sOutputFile=figure.png figure.pdf To render the same image at 300 dpi: gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -r300 \ To convert a figure to an image file: gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -dGraphicsAlphaBits=4 \ You'll be prompted to press return between pages. To view a file: gs -dSAFER -dBATCH document.pdf ![]() The details of how these work are described below. Ghostscript on unix-like systems type: gs. The command line to invoke Ghostscript isĮssentially the same on all systems, although the name of the executable Please refer to the documentation for those applications for using Ghostscript in other contexts. Ghostscript is also used as a general engine inside other applications (for viewing files for example). This document describes how to use the command line Ghostscript client. Appendix: Running Ghostscript with third-partyįor other information, see the Ghostscript.Appendix: Paper sizes known to Ghostscript.Using Ghostscript with overprinting and spot colors.Changing the installed default paper size.They do not encode information that is specific to the application software, hardware, or operating system used to create or view the document. A PDF file can be any length, contain any number of fonts and images and is designed to enable the creation and transfer of printer-ready output.Įach PDF file encapsulates a complete description of a 2D document (and, with the advent of Acrobat 3D, embedded 3D documents) that includes the text, fonts, images and 2D vector graphics that compose the document. PDF is a file format developed by Adobe Systems for representing documents in a manner that is separate from the original operating system, application or hardware from where it was originally created. Microsoft Office binary file format specifications.The file basically contains a set of instructions that tell the printer what to print and provide the co-ordinates on the page of where an object or text should be printed. Now a legacy file format, most printers and programs continue to support this format, with the only pre-requisite being a printer utility that supports PostScript. Typically files are created by applications such as Adobe Acrobat or Quark Xpress. PostScript is actually a programming language as well as a file type. Although no longer as popular or common as it was historically, it is still an important file type. This file type revolutionised publishing allowing certain curved items to be printed that previously could only be printed on specialist CAD printers. Postscript addressed this by defining a language that allowed applications to instruct the printer how to display objects on the page. Prior to the development of PostScript, it was not possible to print images and text on the same page. ps extension is a file type used by the publishing industry.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |