:: Home :: Our Services :: Online Marketing :: Resources :: Contact Us ::
PDF Creation Using Free Tools  
 

PDF Creation Using Free Tools

bullet

These are the instructions for configuring a PDF writer on Windows Vista using a few freely available tools (Ghostscript, RedMon and MakePDF). It took us a while to figure out how to make everything work, so to save you some time we have shared the instructions here.
 

bullet

These instructions will also work on Windows XP, but we have specifically focussed on providing something that will work on Windows Vista. There are several ways to do this on XP, but some of those methods don't work anymore on Vista.
 

bulletTo get started you will need to download these software packages:
 
bulletGhostscript
http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs860/gs860w32.exe
 
bulletRedMon
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/redmon17.zip
 
bulletMakePDF
http://www.lexacorp.com.pg/soft/makepdf25.zip

horizontal rule

bulletThe first step is to install Ghostscript. You can copy our examples exactly, or you can change the directory that you install the software in. We have used C:\Programs\gs as the installation directory. Click on "Install" to proceed once you have selected the directory.

horizontal rule

 
bulletThe next step after installing Ghostscript is to install RedMon. Once again, the directory that you choose is optional. In our installation we have used C:\Programs\redmon as the installation directory. Click on "Yes" to proceed.

 

bulletWhen installation is completed, you will see this message. Click on "OK" to close the dialog box.

horizontal rule

bulletNow you can install and configure MakePDF. We chose to place it in the C:\Programs\gs directory. As before, you can put this anywhere you choose. Just make a note of where because you will need to know that shortly.
 
bulletYou need to run MakePDF once manually so that it can create a configuration file which saves the location of Ghostscript. Simply navigate to where makepdf.exe is installed and double-click on it. You will see the following message, click on "Yes" to proceed.

 

bulletYou will be shown a window where you can locate the Ghostscript executable. If you are following our instructions exactly, then this will be C:\Programs\gs\gs8.60\bin\gswin32c.exe
 
bulletWhen you have located the Ghostscript executable, the MakePDF window will be displayed. At this point you don't need to do anything here, just click on the "Quit" button.
 

horizontal rule

bulletNow we can go ahead and start setting up a printer. From the Start button, click on Printers, then choose "Add a Printer" from the toolbar. In the Add Printer window, click on "Add a local printer".

 

bulletNow choose the "Create a new port" option, and from the drop-down list choose "Redirected Port".  (If you don't see this choice, then there has been a problem installing RedMon.)

 

bulletIn the "Add Redirected Port" window, accept the default value and click on OK.

 

bulletNow you will be asked to choose a printer driver. You can choose almost any printer which supports PostScript. We have found that the HP Color LaserJet 5/5M driver produces the best results. When you have selected the driver, click on Next.

 

bulletNow you will be asked to provide a printer name. You should choose a name that you can remember so that you can recognise it later when you want to print from an application. In our example, we have used, "Ghostscript PDF Writer".

 

bulletYou should choose the "Do not share this printer" option when you are asked about Printer Sharing.

 

bulletNow you have finished the steps to add your printer, but at this stage do not click on the "Print a test page" button, because there are still some steps to perform before your printer will work. So just click on the Finish button.

 

bulletThe next step is to configure the RedMon port. Right-click on the printer's name in the Printers window, and choose Properties. Now, click on the "Ports" tab, select the RPT1: port and click on the "Configure Port" button.

 

bulletIn the RPT1: Properties window you need to enter the information as shown below. Remember that if you have installed RedMon or MakePDF into a different directory, then you will need to adjust these instructions accordingly.
 
bulletIn the "Redirect this port to the program" field, type in the path to the redrun.exe program. (You can of course also click on the Browse button and navigate to the same program.)
 
bulletThe most important step is to enter the arguments for the MakePDF program into the "Arguments for this program are" field.
 
bulletThe format for this field is as follows.
 
bulletThe first part is obviously the fully qualified path for makepdf.exe.
 
bulletNext is %%1 which will be translated into the name of the input file by the operating system. (The input file is actually the PostScript formatted output produced by the printer driver.)
 
bulletThe second parameter is /V1.4, which tells MakePDF what version of PDF you want it to produce. You can also choose /V1.2 for compatibility with Acrobat 3 or /V1.3 for Acrobat Reader version 4 or higher. The /V1.4 option produces output that is compatible with Acrobat Reader version 5 or higher.
 
bulletThis is followed by /O which specifies the output filename. You can choose to place the file on your Desktop, where you can easily find it. The output file will always be given the same name, so you will need to rename it if you want to. In Windows Vista, the path to your Desktop is usually C:\Users\<your user name>\Desktop, so just substitute the correct information when you enter it. The filename is enclosed in quotation marks.
bulletSo we end up with the following text which is typed into that field:

C:\Programs\gs\MAKEPDF.EXE %%1 /V1.4 /O "C:\Users\user_name\Desktop\NewPDF.pdf"
bulletWhen you have set all of the options as shown below, click on the OK button to close the open dialog boxes.

bulletNext, right-click again on the printer name, and choose "Printing Preferences". Click on the "Advanced" button.

bulletIn the Advanced Options dialog box, scroll down until you can see the "PostScript Output Option". From the drop-down list choose "Optimize for Portability" and then click on OK to close all of the open dialog boxes.

horizontal rule

bulletNow you have completed all of the steps. You can make sure that everything is OK by right-clicking on the printer name, and choosing "Properties" and then "Print Test Page".

 

bulletAs mentioned previously, the output file will always have the same name. So you will still need to rename the file to something more appropriate, and copy or move it to another directory if you don't want to keep it on your desktop.
 
bulletHowever if you print a file, and the output file already exists, then MakePDF will prompt you whether you want to overwrite the old file. Due to the security features present in Vista, MakePDF cannot actually display the dialog box on your desktop. So Vista will prompt you with the following message:

 

bulletWhen you click on the "Show me the message" link your screen will blank out temporarily. You will be shown the MakePDF dialog box, where you can click on OK. Then you can click on the Vista dialog box to return to your normal desktop.

horizontal rule

 
ShareThis
 
© Copyright 2008 - JNI Solutions Pte Ltd - All Rights Reserved. - Privacy Policy