Edward Mendelson | 21 Jan 16:09 2015

Download PCL (SFP) soft font to pcl6 interpreter?

There's probably a simple answer to this (and the answer is probably 
"No"), but I hope it's OK to ask anyway:

Using pcl6 to generate a PDF file, is there any way to download a PCL 
soft font to the interpreter together with the actual PCL print job so 
that the interpreter will use the soft font in the same way a physical 
printer would use a downloaded font? I understand that the font would 
need to be downloaded before each job, that it wouldn't be persistent.

I do know that I can *embed* a font in the PCL stream of a print job (I 
use that technique when printing from WordPerfect for DOS to pcl6), but 
I wonder if it's possible to achieve the same thing without embedding 
the font. I suppose I'm asking if there's already a command-line switch 
that would look something like

-download fontname.sfp

Thanks for any help, though my guess is that the answer will simply be, 
"Sorry, can't be done."

Edward Mendelson
Contributing Editor
PC Magazine/PCMag.com
Ken Sharp | 11 Jan 14:44 2015

Re: makefile for gs 9.15 under djgpp

At 13:50 11/01/2015 +0100, marinelluccia1 <at> tiscali.it wrote:

>i want to compile ghostscript 9.15 for DOS using ghostscript.
>I've not find in source package the makefile for djgpp.

We don't support djgpp (I'm not sure we ever did, though it was known to 
work back in version 7.05), which is why there is no specific makefile. 
That said, the makefiles already work with nmake, and you could presumably 
adapt the Linux makefiles, since they use GNU make and gcc.

>Someone have a valid makefile for djgpp?

I have to warn you that I'm doubtful that it is still possible to build 
Ghostscript for DOS. However we'll try, as time permits, to answer any 
questions you have and wish you the best of luck with your project.

You may find it easier to come and ask us questions at irc.freenode.net on 
the #ghostscript channel. There are usually several of us around during 
European business hours, but there are times when nobody is around.

Bradley C. Kuszmaul | 9 Jan 18:54 2015

howto use malloc instead of the internal memory allocator

Hi ghostscripters,

I'm benchmarking malloc(), and I'm asking you for help for benchmarking malloc() with ghostscript.

Historically, papers about new implementations of malloc have benchmarked ghostscript (along with many other experiments).  They have had some trouble measuring performance, since ghostscript uses its own allocator. For example Evans06 says (http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/jemalloc.pdf)

> gs overwhelmingly allocates either 240-byte objects or large objects, since it uses a custom allocator
> internally. As a result, this benchmark stresses performance of large object allocation.

I was wondering if there is any way to convince gs to simply call malloc() and free() for every object it wants, instead of using its internal allocator.  I've looked (briefly) at the code in gsmalloc.c and gsmemory.c, and it's not clear whether this is reasonable idea. The comments talk about garbage collection and object relocation, so maybe it's just infeasible to think of calling malloc() and free() on every object.  

So here are my questions:
 1) Is the internal allocator in ghostscript used primarily for performance, or for features such as garbage collection?
 2) Would it be possible to use malloc/free more heavily so that I can find out how much of a performance difference there is?  How would I do that?

Any help would be appreciated.
gs-devel mailing list
gs-devel <at> ghostscript.com
Damien Ramunno-Johnson | 21 Nov 02:08 2014

Download links down

I have been trying to download ghostscript but the download links are not working. Is there an alternative
location to download the software?

Thank You,
Edward Mendelson | 10 Nov 05:04 2014

Add ViewerPrefs PrintScaling=none to pdf created by pcl6?


I use a slightly modified pcl6.exe to create PDF output from WordPerfect 
for DOS, and I wonder if it's possible to "bake in" the setting that 
tells the viewer to print without scaling, specifically:

[ {Catalog} << /ViewerPreferences << /PrintScaling /None >> >> /PUT

I see from the source code of pcl6 that you don't support the 
ViewerPreferences, but I wonder if anyone can suggest a way to modify 
the code so that that setting could be added to the output.

I know I'm asking a lot, and will be grateful for any help.

Edward Mendelson
Contributing Editor
PC Magazine/PCMag.com
Mike Breeden | 3 Nov 14:59 2014

Merge multiple PDFs to PostScript with GhostScript / C#

Can anyone suggest how to merge multiple PDF files into a single PostScript file when using GhostScript with C#
At the command line, it is:
gswin32c.exe -dNOPAUSE -dBATCH -sDEVICE=ps2write -sOutputFile=outfile.ps Infile1.pdf Infile2.pdf
    params.Add(" -dNOPAUSE");
    params.Add("InFile1.PDF inFile2.PDF");
It is easy to convert multiple PDF files to a single PostScript file from the command line, but I need to do it in a program. I cannot get it to work.
I fig ure it would be something like:
    params.Add("InFile1.PDF inFile2.PDF"); 
as the last parameter, but no such luck

Any suggestions would be greatly appreciated. Thanks, Mike 

gs-devel mailing list
gs-devel <at> ghostscript.com
Chris Liddell | 22 Sep 18:13 2014

Ghostscript 9.15 and GhostPDL 9.15

The GPL Ghostscript 9.15 and GPL GhostPDL 9.15 releases are now available.

Get it here:


For a release summary see:


Thanks to everyone whose hard work made this release possible!


Artifex Software, Inc.
Ken Sharp | 9 Sep 15:24 2014

Re: WG: Ghost Script for Windows Server 2012R

At 13:12 09/09/2014 +0000, Heinrich Schiff - SKIDATA wrote:

>I am working as a Software Developer for SKIDATA AG and one of my tasks is 
>to install Ghost-Script on Windows 2012R2.
>The current Version 9.14 is not working without disabling the Driver 
>Signing Enforcement.

Ghostscript will install and run without driver signing on regular desktop 
versions of Windows, I can't comment on Server 2012.

The convenience printer (which is not part of Ghostscript) will not install 
without bypassing driver signing. Note that Artifex does not supply a 
printer *driver*, just a .inf file which contains the description of the 
required (standard Windows) files necessary to install a PostScript printer.

>Will there be a signed Version for Windows Server 2012R2?

No, there is no incentive for us to procure a certificate from Microsoft 
for free users.


             Ken Sharp
Heinrich Schiff - SKIDATA | 9 Sep 15:12 2014

WG: Ghost Script for Windows Server 2012R



Von: Heinrich Schiff - SKIDATA
Gesendet: Dienstag, 09. September 2014 15:05
An: 'gs-devel <at> ghostscript.com'
Betreff: Ghost Script for Windows Server 2012R


Dear Sirs and Madams,


I am working as a Software Developer for SKIDATA AG and one of my tasks is to install Ghost-Script on Windows 2012R2.

The current Version 9.14 is not working without disabling the Driver Signing Enforcement.


Will there be a signed Version for Windows Server 2012R2?


With best regards


Heinrich Schiff, BSc
Softwarehouse / Software Developer

Untersbergstrasse 52-54
A-5083 Grödig/Salzburg
[p] +43 6246 888-5360
[f] +43 6246 888-7
[e] heinrich.schiff <at> skidata.com
[w] www.skidata.com
[§] FN: 59669z; FB-Gericht: LG Salzburg; DVR-Nummer: 0343013

Diese elektronische Nachricht und allfällige beigefügte Anlagen können vertrauliche oder sonstige rechtlich geschützte Informationen enthalten. Solche Informationen sind ausschließlich für die Person bestimmt, an die diese Nachricht addressiert ist. Sollten Sie nicht der bestimmungsgemäße Empfänger dieser Nachricht sein, so benachrichten Sie bitte den Absender unverzüglich und beachten Sie, dass jegliche Offenlegung, Vervielfältigung, Verbreitung oder sonstige Nutzung dieser Nachricht und der beigefügten Anlagen unzulässig ist.

SKIDATA® ist ein eingetragenes Warenzeichen der SKIDATA AG in den U.S.A., der Europäischen Union und anderen Ländern.

This electronic message and its accompanying attachments (if any) may contain information that is confidential or otherwise legally privileged. Such information is intended solely for the individual or entity to whom it is addressed. If you are not the intended recipient of this message, please notify the sender immediately and be aware that any disclosure, copying, distribution, or use of this message or its accompanying attachments (if any) is prohibited.

SKIDATA® is a registered trademark of SKIDATA AG in the U.S.A., the European Union and other countries.

gs-devel mailing list
gs-devel <at> ghostscript.com
Belanger Gerard | 20 Aug 14:18 2014

Re: How can i suppres the un-sign printer driver pop up while creating the printer using "ghostpdf.inf" ?

Gerard Belanger, Senior Engineer 
Practical Automation 
45 Woodmont Rd, Milford, CT 06460 
203-882-5640 x125

-----Original Message-----
From: gs-devel-bounces <at> ghostscript.com [mailto:gs-devel-bounces <at> ghostscript.com] On Behalf Of gs-devel-request <at> ghostscript.com
Sent: Wednesday, August 20, 2014 8:00 AM
To: gs-devel <at> ghostscript.com
Subject: gs-devel Digest, Vol 45, Issue 4

Send gs-devel mailing list submissions to

You really want to sign the driver with your (IBM's) certificate. 

Unless your customer is knowledgeable on Windows Driver development and wants their own certificate
used.  I can only imagine that if they were reselling your work as their own. If you were to do the signing for
them with their certificate, they would have to give you their private key.

Gerry Belanger
Belanger Gerard | 19 Aug 14:11 2014

Re: How can i suppres the un-sign printer driver pop up while creating the printer using "ghostpdf.inf" ?


Why not sign the driver yourself?  We had a consultant do our drivers for us.  The hardest part was getting a
certificate from a certificate authority.  We had to prove we were a real company.  That should not be too
hard for IBM.  In fact, I'm surprised IBM does not have a certificate already.  

Once you have one, Microsoft has information on how to do it.  Or so I am told.

The first time the certificate is introduced to a PC, there is a benign popup.  Even that can be eliminated by
having Microsoft 'super-sign' the driver.  But that takes more work than you might want to do.

Hope this helps.

Gerry Belanger