Ghostscript Pdf Printer Driver

15.05.2020by

Locate folder where you have the printer driver setup program. Create a folder named GS next to the setup program. Locate a normal installation of Ghostscript installed by the Ghostscript setup program. Copy the contents of the FONTS, BIN and LIB folders to the created GS folder. Do not copy the folders, only the files in the folders. Each time you print to the Ghostscript PDF Printer, it creates a new PDF file in the designated target folder. Other PDF drivers pop a dialog asking you to name the PDF file, but Ghostscript PDF constructs the target filename for itself automatically. PDF Printer - Distributing Ghostscript - bioPDF.

  1. Ghostscript Parameters
  2. Ghostscript Pdf Printer Driver
  3. Ghostscript Print Pdf
  4. Ghostscript Pdf Printer
  5. Bullzip Ghostscript Lite Download
Active2 years, 3 months ago

I would like to make my own 'PDF printer' using Ghostscript.

How to set up Ghostscript PDF printer Step 1 - Download. Before proceeding with the installation, you will need to determine whether you are. Step 2 – Add Printer. To begin the installation, double click on the file after. Step 3 - Installation. Click on ‘Have Disk’ and either type or navigate. Ghostscript includes output drivers that can produce jpeg files from postscript or pdf images. These are the jpeg and jpeggray devices. Technically these produce Independent JPEG Group JFIF (JPEG File Interchange Format) files, the common sort found on the web. GhostScript is an interpreter for a language called PostScript which is a common format for larger laser printers. We will use a PostScript driver to create an interim file format then call GhostScript to create the PDF files. To call GhostScript we will use the Run Program action which requires Print Distributor version 3.1 or later. Aug 26, 2015. “Kool” Tip. GhostScript on Windows 10 PDF Generation for PowerBuilder Classic. Most PowerBuilder developers know that the DataWindow object class in PowerBuilder (PB) Classic utilizes the open source (GNU) version of the GhostScript (GS) software to convert PostScript printer output into an Adobe PDF (Portable Data Format) file. Jun 21, 2017  Ghostscript PDF printing. Bypass the printing driver and generate Postscript directly by software (From GDI to postscript, using maybe a custom device context like the Metafile device context exist) Create programmatically a new local port for each.

Most of solutions I find on the internet involve a 3rd party like Redmon to redirect the PS printer to the Gs executable.

Is there a way to do the same without a 3rd party (other than Gs) ?

Here is my 2 ideas:

  • Bypass the printing driver and generate Postscript directly by software (From GDI to postscript, using maybe a custom device context like the Metafile device context exist)

  • Create programmatically a new local port for each document to convert. Maybe using this technique : https://stackoverflow.com/a/1331777/99276

The first solution would be great, but can't find anything about it.

And I am efraid the second is not efficient at all (and detect when the document is fully printed can be tricky)

MiniScalopeMiniScalope
8381 gold badge10 silver badges18 bronze badges

1 Answer

Firstly; note that the Windows printing system has been redesigned in Windows Vista and beyond. While the old system still works in WIndows 7 and 8, I am unsure of exactly how usable it is in Windows 10. In Windows 10 everything goes via XPS, and I think (could be wrong) that PostScript is generated by going via XPS first.

Your first idea doesn't sound plausible to me. How can you have a printer (and allow your application to print to it) if you don't have a printer driver ? Even if you could do so, why would you create PostScript from GDI just to send it to Ghostscript and have it create PDF ? It would be far more reasonable to create PDF directly.

In the second case I don't see how adding a new local port would help you at all. Ports are simply where the output of the printer driver is directed. What a Port Monitor (RedMon is a Port Monitor) does is redirect the data stream sent to the port, and 'do something' with it. In the case of Ghostscript + RedMon the 'something' is create a PDF file.

I'm unclear why you don't want to use RedMon, given that you are apparently happy with using Ghostscript. However, if you really don't want to do that then write your own Port Monitor. The process is documented in the Windows Device Driver Development Kit and isn't especially hard. If you get stuck you can even look at the RedMon code as a guide. For example, see here

KenSKenS
24k2 gold badges25 silver badges33 bronze badges

Not the answer you're looking for? Browse other questions tagged windowspdfprintingghostscriptpostscript or ask your own question.

** “Kool” Tip **

Ghostscript Parameters

GhostScript on Windows 10

PDF Generation for PowerBuilder Classic

Most PowerBuilder developers know that the DataWindow object class in PowerBuilder (PB) Classic utilizes the open source (GNU) version of the GhostScript (GS) software to convert PostScript printer output into an Adobe PDF (Portable Data Format) file. The challenge this year for PB Developers moving into the MS-Windows version 10 domain, is that all drivers must be signed in order for the new O/S to accept the driver. Missing system files windows 10. This creates an issue for the GS installation as even the latest version 9.16 does not supply signed MS-Windows drivers.

Ghostscript Pdf Printer Driver

The good news though is that the PB Developer can get around this roadblock in the new O/S by following the procedure I used below to install GS v9.16. Without this technique, the GS install will not complete due to finding an unsigned driver. The install will in fact get stuck in a closed loop … select the .INF, get an unsigned driver message, click next, get an unsigned error and voila – your back at the select the .INF file part again in the MS-Windows 10 install printer wizard!

The following procedure is what I used to circumvent the unsigned GS driver issue in W10, as follows:

Ghostscript Print Pdf

Ghostscript Pdf Printer Driver

Ghostscript Pdf Printer

1) Hold down the SHIFT key while you click Restart.

2) Once your computer has rebooted, choose the Troubleshoot option.

Bullzip Ghostscript Lite Download

3) Then select the Advanced options.

4) You will now be prompted to restart your Computer again.
5) After restarting, you will need to press the F7 key!

Ghostscript pdf printer

6) Now your PC will reboot and you will be able to install unsigned drivers without any error messages!

The program is effortless to install and use. Drivermax pro serial keygen.

Now during the GhostScript installation, once you get to selecting the printer driver from the GS installation’s LIB folder, you should now see the MS-Windows security dialogue allowing the GS Driver to be installed even though its not signed!

Comments are closed.