[Samba] UPDATE Where are the ADOBE PS Drivers?

Sean E. Millichamp sean at compu-aid.net
Wed Sep 8 23:11:16 GMT 2004

On Wed, 2004-09-08 at 14:42, Chris McKeever wrote:
> I had an old version 1.02 of the PSDRIVER - that turns out to have all
> the correct files needed - SO - I am thinking that V1.06 has been
> updated, and the files are no longer available.

I was just dealing with CUPS Drivers for Windows problems which resulted
in a post to the CUPS newsgroups and learning far more then I had wanted
to about all this.

Apparently the new recommended way of setting up printing according to
CUPS is to use the Windows 2000 Postscript driver from Microsoft (who,
in turn, apparently obtained it from Adobe).  Apparently, the NT 4
driver that the old CUPS driver for Windows were based on were too
buggy.  The V1.06 Adobe driver you referred to seems to have the new PS
driver files that are recommended (ps5ui.dll, pscript5.dll, pscript.hlp,
pscript.ntf).  However, don't think you can just install those manually,
you really need to use the cupsaddsmb program as it does other things
with the PPD.

So, the cupsaddsmb script in CUPS 1.1.21rc2 handles the files properly
for the new recommended way of doing things.  The files needed are
listed in the accompanying cupsaddsmb manpage.

If you want the new cupsaddsmb functionality you can either upgrade to
CUPS 1.1.21rc2 (if appropriate in your situation), or grab the
systemv/cupsaddsmb.c and man/cupsaddsmb.man files from the 1.1.21rc2
source tree and replace the ones in whatever version of CUPS you are
using (although I only tested with 1.1.17 so older versions might have
problems).  Then you only need one little patch to cupsaddsmb.c to get
it to compile properly:

--- cupsaddsmb-old.c        2004-08-23 14:36:50.000000000 -0400
+++ cupsaddsmb.c       2004-09-08 18:24:08.000000000 -0400
@@ -496,7 +496,7 @@
   * Get the PPD file...
-  if ((ppdfile = cupsGetPPD2(http, dest)) == NULL)
+  if ((ppdfile = cupsGetPPD(dest)) == NULL)
     fprintf(stderr, "cupsaddsmb: No PPD file for printer \"%s\" -
skipping!\n",             dest);

The cupsGetPPD2 call didn't exist until CUPS 1.1.21 so all older
versions will at least need that modification.  The substitution works
fine in my testing here. YMMV.  The new cupsaddsmb manpage describes the
newer drivers files this cupsaddsmb looks for.

Also, FWIW, I have opened a Bugzilla issue with Red Hat asking them to
consider updating their shipping cupsaddsmb:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040908/aeb02308/attachment.bin

More information about the samba mailing list