Ghostscript Sdevice Options

From what I can tell, ttfont. To call an HP LaserJet printer setup on a Microsoft IIS from Linux, you can set Ghostscript as a filter to transform the PDF document into the format that the HP LaserJet can understand. Once this object is ready, it is used to start an engine. Adjust pdf quality with Ghostscript and Bash Sometimes pdf files are too big to attach them to an email. Ghostscript. Ghostscript User Manual Ghostscript 5 What is Ghostscript? Installing Ghostscript Building Ghostscript from C Source Ghostscript Primer Ghostscript Reference More Ghostscript Applications The Ghostscript manual may be freely copied and redistributed in printed or digital form if no payment is involved. My Canon imagePROGRAF 1000 cannot print with TurboPrint. problem with -sDEVICE=txtwrite. pdf \ -sDEVICE=pdfwrite \ -dPDFSETTINGS=/prepress \ editable. pdf) or read online for free. here is the log:. Is there anyway to run Ghostscript via Lisp. The other options above mean: -q tells gs not to display anything & saves it looking for X. Using Ghostscript to Convert PostScript to PDF. For example, using one of the example files distributed with Ghostscript, gs -sDEVICE=bbox golfer. As a developer, it bothers me when someone sends me a large pdf file compared to the number of pages. Ghostscript is configured in the [drivers] section of uf90d. 4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output. Net application with GhostScript. It can be used to tweak, convert, produce high quality Postscript and PDF files. Ephesoft uses Ghostscript to convert PDFs to single page TIF files to machine learn and test images. filename * Remove packages by pattern on debian and based systems >> sudo apt-get remove --purge `dpkg -l | awk '{print $2}' | grep gnome` && apt-get autoremove * Remove security limitations from PDF documents using ghostscript >> gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=OUTPUT. Now i can’t anymore find the 8. I am converting to tiff using -sDevice=tiffg4 with 200 resolution. How to scale the page content of PDF files (with open source commandline tools)? Posted on 2008-08-02 by matt | 25 Replies That is, how to change the margins of PDF files while keeping the physical page size the same. The version-specific ps2pdf scripts all invoke this one with. Embed Fonts in PostScript and PDF Description. pdf to file. The -sOutputFile specifies the output file name. So something is definitely wrong here. pdf Here Merged. After doing this, it. The first command, tiff2ps, converts the TIFFs into one long, large, PostScript file. -dNOPAUSE forces Ghostscript to process each page without pausing for user interaction. Here are some commonly useful driver options that apply to all raster drivers. gs -q -dNOPAUSE -sDEVICE=tiffg4 \ -sOutputFile=a_page%02d. You just add CID keyed fonts to it to display other languages such as Japanese, Chinese and Korean. The version-specific ps2pdf scripts all invoke this one with. 13, I get a solid black page regardless of what I send to the printer. It has extra capabilities, for example:. Previously, whenever I installed emacs on windows, I just needed to set the printer names and Hey Presto! it. pdf This reduced the image resolution to 150dpi, cutting my file size in half. To print to the tiff printer, simply choose the printer that you have created when printing. It defaults to -dNOPLATFONTS -sDEVICE=x11alpha gsSafer Determines whether ghostscript should be started with the -dSAFER command line option. pdf -c quit However I would Converting a PDF to Tiff for each page with Ghostscript? Share your knowledge at the LQ Wiki. pdf C:\TEMP\junk. I knew right off the bat that I’d probably need to use GhostScript, because GhostScript has a PCL driver built into it. The suggested workaround is to simply re-install Ghostscript, and ensure that "Generate CIDFMAP for fonts" option is checked. If you'd prefer multistrip -dMaxStripSize=8192 would be an option. -dSAFER -q -dNOPAUSE -dBATCH -sDEVICE=jpeg. 0 Ghostscript. Ghostscript goes with *nix, Adobe goes with Windows and Apple, Ghostscript doesnt like AmigaOS, Adobe doesnt like Ghostscript, and Adobe will always win. 13, I get a solid black page regardless of what I send to the printer. 09 it is no longer even compiled in by default. jpg with resolution 300. This is my second thread, which might be useful for those looking for the way to convert PDF file to images. pcl6 -sDEVICE=pdfwrite -sOutputFile=mypcl. Well, if you have converted the PDF into a series of images, you can query their Size properties to determine the final size of the image, create a new Bitmap object and then use the methods of the Graphics class to draw the different images appropriately into the final image. Example of a GS command: gs -q -sDEVICE=jpeg -dBATCH -dNOPAUSE -dFirstPage=1 -dLastPage=1-r. You are currently viewing LQ as a guest. Ghostscript is a free PostScript interpreter that can also create PDFs, much like Acrobat's Distiller. Documentation of the gs program : This document documents the generic Ghostscript options. Users running ghostscript directly will not be supported. Here is a tricky part: Finding out the exact command to do the conversion. The bug is not (in my opinion) in Ghostscript, its the use of non-standard extensions to the language. > Sam and others, Thanks for your response. AcroPlot Repro supports many of the command line switches when calling the AcroPlotRepro. /configure make make install. Docview pdf long load times and ghostscript window pop-up (Emacs on Windows) Emacs version : GNU Emacs 25. It is remembering settings it shouldn't and it disregards settings set explicit for this print job. Change option "-dSAFER" to "-dNOSAFER" (I'm unsure of what this does, but it worked. png colorcir. We keep online documentation for the development tree and many previous releases in the documentation archive. These links will only work if you are viewing the Ghostscript documentation from the source distribution and not this website. 4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output. 54: Unrecoverable error, exit code 1 Tell gs where to find the fonts using the -I option to add a search path. Sadly Adobe didn’t come up with Acrobat Professional for Linux platform, but luckily we have several options to do such job in a Linux box. ps {YourFile. 01 or newer "ps2write" should be used, otherwise "pswrite". OPTIONS ijsgutenprint accepts the following Ghostscript IJS options. What I want to do is convert a pdf file that has colorful fonts to one that all it's fonts' colors are black. exe or GSWinC. A collection of such formats ('output devices' in Ghostscript terminology) are described in this section. For example, if your file is named "mydoc. Perhaps a GUI terminal or printer is required as output, but then why does ghostscript permit stdout and file output options? Thanks, Sanford Stein. -dNoCancel Hides the progress dialog, which shows the percent of the document page already processed and also provides a cancel button. Click here to download Ghostscript. Linux printing using CUPS (Raspberry Pi) This provides details of how to add printing support using CUPS (Common Unix printing system). By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. 18) Fill in the following port options. It is more convenient to have these option in a separate file than to specify a very long command in the virtual printer options. Generic Ghostscript options that are particularly relevant for IJS are summarized below: -rnumber-rnumber1xnumber2 Sets the resolution, in dpi. 3 Ghostscript as Viewer for a WWW Browser World Wide Web browsers and many E-mail programs classify files according to MIME types (Multipurpose Internet Mail Extension). Which is the last setting I used when printing a picture from the Gimp. The first command, tiff2ps, converts the TIFFs into one long, large, PostScript file. PDF-Converter-Plus is a good software that can be used to convert PDF to Word and many other formats. ps This is a command line I would use with GSWin32. Text in a. Syntax: gs [ options ] [ files ] Options: Below are some important options of gs command. pdf which works great, I'm trying to save the pdf (which contains 1 page) as text by. For example, if you want to know the bounding box of a PostScript (or EPS) file, Ghostscript provides a special "device" that just prints out this information. Storage (both local and online) is relatively cheap. To specify "AbcXyz" as the initial output device, include the switch -sDEVICE=AbcXyz 9. here is the log:. Usage embedFonts(file, format, outfile = file, fontpaths = "", options = ""). -sDEVICE=pdfwrite-r300-dNOPAUSE Other options should be matching the picture I posted. pdf My intent is to take in large PDFs and do other work with the PNGs as they are built, cleaning them up after I'm done. com The name of the Ghostscript command line executable on MS Windows is gswin32c so use this instead of the plain 'gs' in the quickstart examples. Ghostscript Split Pdf. These links will only work if you are viewing the Ghostscript documentation from the source distribution and not this website. Gs pdf merge. Hello everyone, Could someone give me an advice how to convert pdf to tiff? free library or dll? I've found some answers on StackOverflow, however they all about not free product and most about Ghostscript. Ghostscript 9. xx in the colors produced and in the speed of conversion. To run GhostScript on PDF files automatically when you open them in BC's Picture Compare, create a new file format and specify GhostScript in the Conversion tab. pdf | The UNIX and Linux Forums. Synchronisation of threads is entirely up to the caller. There are various ways to merge pdf files (pdfsam) and ps files (using ghostscript). To specify "AbcXyz" as the initial output device, include the switch-sDEVICE=AbcXyz For example, for output to an Epson printer you might use the command gs -sDEVICE=epson myfile. However, this might be a case where the a2ping script was not yet adapted to changes that taken place in ghostscript-9. EXE directly in a Command Prompt Session (run CMD. OPTIONS @filename Causes Ghostscript to read filename and treat its contents the same as the command line. Welcome to LinuxQuestions. Hi, The ghostscript option -q is not responding from JAVA as it works in the command prompt. On Medium, smart voices and original ideas take center stage - with no ads in sight. I can easily create a postscript plot using a lisp routine but is there anyway to program that same lisp autodesk-fusion360-header-nav-label. ps The "-sDEVICE=" switch must precede the first mention of a file to print, and only the switch’s first use has any effect. But sometimes our pdf has grey background. xml: Corrected option ID. Ghostscript's built-in help message (gs -h) liststhe available output devices. The command line option '-sDEVICE=device' selects which output device Ghostscript should use. dll and gsdll64. No amount of option tweaking helped me out, and find/replace font operations using Callas pdfToolbox didn't work out for me. gs is stupid. Embed Fonts in PostScript and PDF Description. Which is the last setting I used when printing a picture from the Gimp. Using pdfmarkswith Ghostscript •What are pdfmarks? −Extension of PostScript code used to represent PDF features −PDF features are generated when the PostScript code is converted into PDF −They are written as simple text files gs-sDEVICE=pdfwrite-sOutputFile=processed. When the default PDF profile is used ( ps2pdf option -dPDFSETTINGS ) only one thing has to be changed in order for all fonts to be embedded. Ghostscript allows some PDF creation settings that can reduce the size of the PDF file. This is the command that worked for me. tif with the printout. OPTIONS: ----- Options for the stp driver are given in normal Ghostscript manner. Part 1: GhostScript. While I found out how to do this in principle with the color option to xy (e. The second, ps2pdf13 or ps2pdfwr (which are actually wrappers for the gs Ghostscript program), converts the PostScript file into a PDF file. These links will only work if you are viewing the Ghostscript documentation from the source distribution and not this website. Ghostscript Devices. pdf tells. A typical task is to flatten a PDF or to control the processing of images when converting from RGB to CMYK color space. I have tried printing from Gimp, Krita, and Photoprint. exe in order create a PDF from a PS file. The options in the command line may include any switches that may be used with Ghostscript's PostScript and PDF interpreter (see here for a complete list), although almost none of them are useful with ps2pdf. 특히 sdevice와 soutputfile은 반드시 고쳐야 한다. I get "Support code 4103" on the printer display every time I try to print an image. Although different graphical login screens offer different options, here are some you may encounter: 38 Session/Options —Look for a Session or Options button on the login screen. With the option -dPrinted=false the links are working again (from Ghostscript's manual):-dPrinted-dPrinted=false Determines whether the file should be displayed or printed using the "screen" or "printer" options for annotations and images. -sOutputFile=finished. If you don't give a device=, or if # you give the device as "ps", no translation will be done # (useful if the printer really is a PostScript device, or # if you want to send straight ASCII text to the printer) # # "gs_options" - Any extra options you need to give to GhostScript. ps -c quit Besides all ghostscrip options, program 'gsdjvu' recignizes specific options when using the 'djvumask' and 'djvusep' drivers. 日本語版Ghostscriptを利用したほうが無難です。 私は、オリジナルのGhostscriptでは、うまく日本語ファイルをJpeg化できませんでした。 日本語版Ghostscriptの情報はこちらから取得してください。 また、変換時下記の様なエラーが出力される場合は、. In this answer to 'GhostScript command line parameters to convert EPS to PDF'; it is stated that the default resolution for the pdfwrite device of Ghostscript is 720x720, which I initially found unbelievable! Is there a way to list the default options of a Ghostscript device?. How to Install Printer Driver Linux - Free download as PDF File (. Unfortunately, the gs development version has more serious bugs. We need more information before we can debug these reports. ps to the gs command line. Hi, PDFCreator 2. # See http://topquark. OPTIONS: ----- Options for the stp driver are given in normal Ghostscript manner. I'm going crazy trying to get postscript printing working. 52 version but only the default version installed with PDF Creator (9. Category: utility. ログインしていません。投稿を区別するために投稿者のニックネームをつけてください(ニックネームの一意性は保証され. ps in gv, it still uses the old bounding box (that is, not A4), which is no good since it will likely mess up the following steps. I'm using a Aiptek MyNote Premium tablet for writing my notes and minutes on this device, import them later and convert them to pdf. Well, if the PDF file contains the "/Rot 0" in the pages's dictionary, this will override the orientation setting from the command line. The options in the command line may include any switches that may be used with Ghostscript's PostScript and PDF interpreter (see here for a complete list), although almost none of them are useful with ps2pdf. 13, I get a solid black page regardless of what I send to the printer. pdf My intent is to take in large PDFs and do other work with the PNGs as they are built, cleaning them up after I'm done. Adobe Acrobat sets the standard for PDF creation, but it can be too expensive. Installation options. To run GhostScript on PDF files automatically when you open them in BC's Picture Compare, create a new file format and specify GhostScript in the Conversion tab. gs reads "files" in sequence and executes them as Ghostscript programs. 54: Unrecoverable error, exit code 1 Tell gs where to find the fonts using the -I option to add a search path. This release includes a move to an ICC-based color rendering workflow. exe -dNOCACHE -dNOPAUSE -sDEVICE=pswrite -dBATCH -sOutputFile=Output. Following are some basic examples of how to use Ghostscript for various tasks. au for more information. Your help would be > > appreciated. The command for the same would go like this: gswin32 -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=Merged. + + + +-dDisplayFormat=N (integer bit-field) +. Is there any way to make pcl6 create a PDF with a different page size, so that the page breaks occur every 66 lines? I tried running pcl6 with every GhostScript-style page size option I could find, including -sPAPERSIZE, -dDEVICEWIDTHPOINTS (etc), none of which had any effect. I am transforming the pdf file using : public void PdfToJpg(string ghostSc. However, it. A pop-up will ask for the printer to send the output to. I already convert to version 1. Since these files change from one Ghostscript version to another, sometimes substantially, and since they all include documentation for the various options, here we don't duplicate most of that documentation: we recommend strongly that you review the entire makefile specific for your operating system and compiler before building Ghostscript. I like PDFTIFF. ps The "-sDEVICE=" switch must precede the first mention of a file to print, and only the switch's first use. In particular, transparencies are difficult - sometimes the transparency will dis. Stata tech support suggested that this can be done by exporting the graph as a PostScript file and converting it to PNG format with a third-party utility like Ghostscript (www. I am using v9. exe Arguments for this program are: @c:\gs\pdfwrite. artofcode LLC re-releases each stable AFPL Ghostscript branch as GPL Ghostscript (under the GNU GPL license) when the next major stable AFPL release comes out, or after one calendar year, whichever comes first. de) and thus being able to be used as well under Windows XP as directly under DOS (real mode). It should be in a file named COPYING. With this option, the device link profile is added to the end of the link transform from source to destination. The command option is specified using -sDeviceLinkProfile=filename. Ghostscript may be built with multiple output devices. Consider also, if possible, whether you can get information about OSMESA since that seems also to be. 00 Last change: 14 September 2010 1 Ghostscript GS(1) For example, for output to an Epson printer you might use the command gs -sDEVICE=epson myfile. and yes I had it set on 17x22" borderless. xx in the colors produced and in the speed of conversion. Ghostscript Ghostscriptとは何をするソフトでしょうか?よくわからないので、どなたか、教えてください。多分、LaTeXの関係だと思うのですが・・・ 出版・印刷業界では古くから標準的な文書フォーマットとして、Adobe 社の開発. Its main purposes are the rasterization or rendering of such page description language files, for the display or printing of document pages, and the conversion between PostScript and PDF files. gs reads "files" in sequence and executes them as Ghostscript programs. Download a program called "GhostScript". Unfortunately for you, the thing you're trying to do will still not work. dev was included in FEATURE_DEVS when Ghostscript was built. The last ghostscript version is installed. Hello, My operating system is Windows 10. It may be specified in all other cases, with only a slight performance degradation. pdf -dBATCH 1. I'm trying to create a PDF with a custom page size. Apple LaserWriter Select 360 300 300 BW Ghostscript -sDEVICE=ljet2p Apple StyleWriter 2500 360 360 Color Ghostscript -sDEVICE=bitcmyk -r360x 360 -g3060x3960 Color printing mode Apple StyleWriter 2500 360 360 Color Postscript |/usr/sbin/lpstyl -t bi tcmyk -w 3060 -h 3960 Ghostscript output is piped to lpstyl, available from RPM sites Brother HJ. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. OK so I did something similar to your expereience. CVE-2017-8291. The 64-bit version of Ghostscript is not currently supported. See the documentation of PostScript files distributed with Ghostscript. Owing to disabilities, I can't use tablets or other touch devices, and I transfer pdfs to the Kindle to read them. It is for example possible to specify "-r360" to gs and print the output in 1440x720 dpi (see below for driver parameter). Conversion with Compression, older system. Ghostscript goes with *nix, Adobe goes with Windows and Apple, Ghostscript doesnt like AmigaOS, Adobe doesnt like Ghostscript, and Adobe will always win. 4, either using Ghostscript or Willus' k2pdfopt. A copy of this license is supposed to have been given to you along with Ghostscript so you can know your rights and responsibilities. 1 Draft Documents. pdf My intent is to take in large PDFs and do other work with the PNGs as they are built, cleaning them up after I'm done. here is the log:. # See http://topquark. ps is pswrite. We need more information before we can debug these reports. /configure make make install. For example, using one of the example files distributed with Ghostscript, gs -sDEVICE=bbox golfer. pdf - (Convert PDF to JPEG using Ghostscript Converting your PDF file to JPEG images. prof # Remove noise from mp3 using profile / usr / bin / sox input. sh on the terminal. Ghostscript sorted it: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1. Lastly profiling of the slow pages will point to the area of slowness. org, a friendly and active Linux Community. -d duplex Duplex code to send to printer [1]. Unlock the secret powers of Distiller and Ghostscript. The driver differs from the bjc600/bjc800 driver (first, it is not part of colour deskjets 'gdevcdj. The best command line collection on the internet, submit yours and save your favorites. The version-specific ps2pdf scripts all invoke this one with the addition of the respective compatibility level option. The Ghostscript options which are specific to the handling of PDF files are documented in this document. OPTIONS: ----- Options for the stp driver are given in normal Ghostscript manner. The -draft option removes bitmap (photographic) images from a file, so that it can be printed with less ink. Basic Ghostscript command. This software comes with NO WARRANTY: see the file PUBLIC for details. Diese Ghostscript-Konsole (und damit das Programm selbst) kann mit dem Befehl quit beendet werden oder wird von Anfang an über die Option -dBATCH übergangen. pdf Reduce PDF file size to 150 dpi images for reading on a ebook device: gs -dNOPAUSE-dQUIET -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile=output. This is the command that worked for me. pdf Extracting a non-continuous block of pages There is more flexibility in this method in that there are a number of options in how to specify the pages. I can easily create a postscript plot using a lisp routine but is there anyway to program that same lisp autodesk-fusion360-header-nav-label. If I want to translate the ps file into a png file so I could put it in a web page or email for example I do: ghostscript -sDEVICE=png16 -SOutputFile=color_circle_for_webpage. Optionally, the -boxes option can be added, filling the spaces left blank with a crossed box denoting where the image was. ps" findet sich im Anhang zu dieser Mail. The configuration specifies the path to Ghostscript and a set of driver names with Ghostscript -sDEVICE names, a multi-page flag, and a resolution. ” gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sPAPERSIZE=letter -g1680x2285 -sOutputFile=sample. Naming multiple input files in this manner causes gs to concatenate them, which in this case makes margins. ps file, and convert it to sample. I am using ghostscript to convert pdf to tiff. xml to instruct the Ghostscript program or library to use the jpeg device. GitHub Gist: instantly share code, notes, and snippets. This is the command that worked for me. Starting with GIMP 2. Ghostscript supports output to a variety of image file formats and is widely used for rasterizing postscript and pdf files. In this case we do not do the treatment of composite options and so the variable should never remain set from a previous. /configure make make install. pypdfocr_gs. exe in order create a PDF from a PS file. On MS-DOS, Ghostscript sends. In this answer to 'GhostScript command line parameters to convert EPS to PDF'; it is stated that the default resolution for the pdfwrite device of Ghostscript is 720x720, which I initially found unbelievable! Is there a way to list the default options of a Ghostscript device?. AFAIK Imagemagick "delegates" the conversion to Ghostscript when the input is. 09 it is no longer even compiled in by default. In particular, transparencies are difficult - sometimes the transparency will dis. I already convert to version 1. ps gs -sDEVICE=jpeg -sOutputFile=foo. For a detailed guide on how to use Ghostscript, you can view the official documentation online. ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1. When ghostscript processes a PDF file, it set the page size for each page from the PDF MediaBox. It can be any available. 01) exe process to con. And no, you cannot do it in "portions" (parts of single pages). Set the password to lock the file. Example: If you run the below command in command prompt then it's working fine, means if everything is ok then there is no need to print the out. pdf,ghostscript I'm using Ghostscript to convert PDF pages to PNG using the following on the command line: gs -dDOINTERPOLATE -sDEVICE=pnggray -r200x200 -o 'page%%d. Under "Use an existing port," click FILE in the dropdown list and then click Next. On Medium, smart voices and original ideas take center stage - with no ads in sight. To print to the tiff printer, simply choose the printer that you have created when printing. xx in the colors produced and in the speed of conversion. The fix seems relatively easy, to replace pswrite with ps2write or epswrite if version 1 conformance is required. A simple Ghostscript command to merge two PDFs in a single file is shown below: gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combine Ghostscript concatenate pdfs. This manual page describes the GNU version of pic, which is part of the groff document formatting system. I'm looking for a way in Ubuntu to reduce the size of a pdf (by reducing the quality of the images). Ghostscript normally opens the first one and directs output to it. This effects embedded pixel graphics (also adapts embedded color profiles) and is the main option for controlling the compression level, thereby the resulting. png' filename. OPTIONS @filename Causes Ghostscript to read filename and treat its contents the same as the command line. rsp for the filename, and choose All Files from the Save as type drop-down menu. Ghostscript is a set of packages written in C language that interprets the PDF file format and is able to convert Postscript files to PDF and vice versa. # Redistributable under the GNU General Public License. Install a current release of Ghostscript using the provided installer (currently GS902W32. What you can do: extract the text of a certain range of pages only. bat files please click here. Using data from the pool it will check the reg for the exe path, The ghostscript does not contain the value in the primary key, it within the sub key. exe in order create a PDF from a PS file. ps -dNOPAUSE -dBATCH -dSAFER ). exe が収録されています。 PostScript を PDF に変換する ps2pdf というプログラムは,Ghostscript (tlgs. Russell, Thanks for your help - the option %printer% option works well, except that I now can't get the papersize to set at A4. The gs (gswin32c, gswin32, gsos2) command invokes Ghostscript, an interpreter of Adobe Systems' PostScript(tm) and Portable Document Format (PDF) languages. For convenience a PostScript file is supplied for use as an initial input file. 1, and you must run Windows in 386 Enhanced or Standard (not Real) mode. See the description of that option for more information. Documentation. Using Ghostscript 9. Commercial reproduction is prohibited. gs is stupid. ghostscript. We keep online documentation for the development tree and many previous releases in the documentation archive. ps file, and only its first invocation has any effect. This is a general option telling Ghostscript what to name the output.