PDF Tools from Dirk Paehl
 
 
  
 
 

by Dirk Paehl Feedback

PDFWRITER english

THE REDMON/GHOSTSCRIPT/PDFWRITER SETUP HOWTO




1. Introduction

I decided I wanted to set up a PDF printer for Windows, and I had several components (Ghostscript, RedMon, PDFWRITER), but I had to figure out how to make them work together. To help others avoid the many pitfalls, I decided to write this HOWTO.


2. Needed files

Things you need:
Ghostscript:ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs814/gs814w32.exe or http://www.ghostscript.com

RedMon: http://pages.cs.wisc.edu/~ghost/redmon/index.htm (english)
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/redmon17de.zip (Deutsch)

Downlod PDFWRITER 1.012 (last version)

Dowload PDFWRITER 1.019 (USE GSDLL32.DLL)

and this PPD 1.0RC9

This complete as PDF

New in PPD. Better JPG PNG support. Install a new driver with the IMAGE.PPD too.
More Infos in my forum


Nice things to have:

Adobe Generic PostScript Drivers
http://download.adobe.com/pub/adobe/printerdrivers/win/1.x/winsteng.exe (english)
http://download.adobe.com/pub/adobe/printerdrivers/win/1.x/winstger.exe (german)

Adobe Acrobat Distiller 5
http://download.adobe.com/pub/adobe/printerdrivers/win/all/ppdfiles/adobe.zip

Or the PPD from rumborak (Original INFO)


Instead the Adobe Postscript driver use the Ghostscript PDF driver. You can found it in the GhostscriptLib folder. Instead install the Adobe driver, Choose new printer as Driver choose the driver from the Ghostscript/LIB folder.


3. Step-by-step walkthrough

First, you will need to install Ghostscript. Wherever you install it to, note it down for later, you're going to need it. For the walkthrough, I'm going to say you installed it to the default location, c:gs or in an other folder

Installing GhostScript

Once Ghostscript is installed, extract PDFWriter and RedMon. Again, you can extract them wherever you want if you remember.
run the setup.exe for RedMon to install the RedMon drivers.

Running RedMon's setup.exe

The next part is a bit complicated. Click Start->Settings->Printers, and right-click on an existing printer and click Properties. Click the Details tab, then the Add Port... button. Click the Local Port option, then select the new Redirected Port item in the list. Just accept the default name, in this case RPT1:. Click OK all the way out of the printer properties.

Screenshot of Add Port button

Screenshot of Add Port dialog

You now have two choices. You can either use a PostScript Printer that comes with Windows, or you can get the Adobe Generic PostScript Printer Driver and use that. I recommend the Adobe route, but if you don't want to download it, here is how to do it with just a Windows CD:

Windows Printer
Double-click Add Printer. Click Next twice, then select the Xerox XPrint 4920/4925 PostScript from the list. Any PostScript-compatible printer will work, but this is the one I recommend and the one I am using for the walkthrough. Click Next, then select Redirected Port from the list. Click Next again, and type in "PDF Writer" as the name (this is purely optional). Again, click Next, tell it not to print a test page, and click Finish. There are a couple things we need to do before we can print a test page.



The Redirected Port in the list

Adobe Printer
Download the Generic PostScript Driver and the Acrobat 5 Distiller files. Using your favorite zip program, extract the distiller files to c:windowstemp. Then run the Generic PostScript Driver installation. Click Next twice, then select Redirected Port from the list. Click Next again. If you extracted adobe.zip to c:windowstemp, you should see Acrobat Distiller on the list. If not, don't panic. The zip file has a directory in it, so it probably extracted to c:windowstempadobe. In this case, click the browse button, double-click the Adobe folder, and click OK. Now that you have Acrobat Distiller selected, click Next. If you want, you can change the name to "PDF Writer". Choose not to print a test page (it isn't all set up yet), and click Install. Tell it you don't want to configure your printer now, click next, then click Finish.

Acrobat Distiller in the list

Right-click on your newly-made printer, and click Properties. Click the Details tab, and then Spool Settings. Select "Disable bi-directional support for this printer" and click OK.

The Spool Settings dialog box

Click Details again, only this time click the button labeled Port Settings... This is probably the most complicated part of the setup. One note: if you didn't put RedMon and/or PDFWriter in c:pstools, replace c:pstools with whatever directory you put them in. In the top box, type c:pstoolsredrun.exe. The arguments box is a little more complicated. You need to type:
C:pstoolspdfwriter.exe %1
The only other thing you need to change in this dialog is the drop-down box next to the word "Run:". Select Hidden to avoid having to briefly see a DOS box come up every time you print to your new PDF Writer.

A properly configured Port Settings dialog box

You should have it working now. To test out your new PDF Writer, click the General tab and click the "Print Test Page" button. After a little bit, a new file should appear on your desktop called NewPDF.pdf containing a printer test page. Congratulations on your new (free) way to make PDF files from any application that can print!

The resulting Test Page PDF file
Click for a larger version of this image


4. Final words and related links.

I really hope this helps. I know it is very useful to me if I want to share a complex Word document with Windows/Linux/Mac/etc. people who may or may not have Microsoft Word. The Acrobat Reader is available for all platforms. You can get it at Adobe's web page.

PDFWRITER is (c) by Dirk Paehl.

GhostScript and it's attending viewer, GSView, as well as RedMon, can be found at http://www.cs.wisc.edu/~ghost/.



 
 
Dirk Paehl    PDF TOOLS