Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 14152
  • Last Modified:

How to install Adobe Postscript driver with custom PPD file in Windows Vista

In versions of Windows prior to Vista, I can install the Adobe Postscript printer driver. It's called WINSTENG.EXE, and it can be downloaded from the Adobe website: http://www.adobe.com/support/downloads/detail.jsp?ftpID=1500
During the installation process, I have the opportunity to specify a PPD file, which in my case, has been customized.

When I try to install under Windows Vista however, I get a mysterious error window with no text. The title of the window is "Severe" (see attached screen shot). When I click "Ok", I get the message "Setup is not complete. If you quit the Setup program now, the program will not be installed". The version of the installer I'm using is 1.0.6, which was written long before Vista came along. The Adobe website claims that a Vista compatible driver is available, but I can't find it anywhere.

Does anyone know how to install a postscript printer with custom PPD under Windows Vista? I don't necessarily need to use the Adobe Postscript driver, but I do need some kind of postscript printer driver that uses my customized PPD file.

I'm running Windows Vista Business Edition on an Intel Core2 Duo machine with 2gb of RAM.

severe.jpg
0
BetaPictoris
Asked:
BetaPictoris
  • 2
  • 2
2 Solutions
 
souseranCommented:
The Adobe® PostScript® Driver for Office/Windows Vista was announced in May 2007. See this article for more information:

Adobe Launches PostScript Driver for Windows Vista

http://www.adobe.com/aboutadobe/pressroom/pressreleases/pdfs/200705/051407PrintDriver.pdf

Not sure which OEM partners offer this driver bundled with their products.
0
 
BetaPictorisAuthor Commented:
I wonder if it would be possible to download a recent OEM driver from say, Hewlett Packard and modify it to use a different PPD? Furthermore, since I don't need an "Adobe" driver per se, is there a way to create an INF file that references my PPD so I can install it with the Add Printers wizard?
0
 
souseranCommented:
Not sure. Sounds like it should work. You probably could use this one as a starting point:

HP Color LaserJet CP3505 PostScript Driver for Microsoft Windows 2000, Microsoft Windows Server 2003, Microsoft Windows Vista, Microsoft Windows XP

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&swItem=lj-50960-3&jumpid=reg_R1002_USEN

Once you've extracted the files, a search through the C:\HP_CLJ_CP3505_xxxx folder should provide additional information.

0
 
BetaPictorisAuthor Commented:
I managed to get it to work by hacking code and DLLs from an Océ postscript driver. In order to make it work, I needed the following files:
- The modified PPD (In my case I had two files: ADPDF7.PPD & General2.PPD)
- ps5ui.dll
- pscript.hlp
- pscript.ntf
- pscript5.dll
Then, I had to modify the INF file that came with the Océ driver so that it referenced my PPDs. See code sample below:

; OEMSETUP.INF
;
; INF file for OEM DLL Customization samples
;
; Copyright 1999 Microsoft Corporation
;
 
[Version]
Signature="$Windows NT$"
Class=Printer
Provider=%MS%
;
; Manufacturer section.
;
; This section lists all of the manufacturers 
; that we will display in the Dialog box
;
[Manufacturer]
"Generic"
 
;
; Model sections. 
; 
; Each section here corresponds with an entry listed in the
; [Manufacturer] section, above. The models will be displayed in the order
; that they appear in the INF file.
;
 
[Generic]
"General II" = General2.PPD
"Adobe PDF 7.0" = ADPDF7.PPD
 
;
; Installer Sections
;
; These sections control file installation, and reference all files that
; need to be copied. The section name will be assumed to be the driver
; file, unless there is an explicit DriverFile section listed.
;
 
[General2.PPD]
CopyFiles=@General2.PPD,PSCRIPT
DataSection=PSCRIPT_DATA
DataFile=General2.PPD
 
[ADPDF7.PPD]
CopyFiles=@ADPDF7.PPD,PSCRIPT
DataSection=PSCRIPT_DATA
DataFile=ADPDF7.PPD
 
 
; Copy Sections
;
; Lists of files that are actually copied. These sections are referenced
; from the installer sections, above. Only create a section if it contains
; two or more files (if we only copy a single file, identify it in the
; installer section, using the @filename notation) or if it's a color
; profile (since the DestinationDirs can only handle sections, and not
; individual files).
;
 
; May need to modify this [PSCRIPT4] and [UNIDRV4] sections to comply
; with the actual released names of the of the NT 5 core drivers back ported to NT 4.
 
[PSCRIPT]
PSCRIPT5.DLL
PS5UI.DLL
PSCRIPT.NTF
PSCRIPT.HLP
 
;
; Data Sections
;
 
; These sections contain data that is shared between devices.
;
 
; May need to modify this [PSCRIPT4_DATA] and [UNIDRV4_DATA] sections to comply
; with the actual released names of the of the NT 5 core drivers back ported to NT 4.
 
;  May need to alter the source locations for the pscript4 and Unidrv4 files
;  to indicate where to install them from.
 
[SourceDisksNames]
1="PostScript Driver",,1
 
[SourceDisksFiles]
PSCRIPT5.DLL=1
PS5UI.DLL=1
PSCRIPT.NTF=1
PSCRIPT.HLP=1
 
;
; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
; (depending on which environment drivers are getting installed)
;
;Data sections
 
[PSCRIPT_DATA]
DriverFile=PSCRIPT5.DLL
ConfigFile=PS5UI.DLL
HelpFile=PSCRIPT.HLP
 
[DestinationDirs]
DefaultDestDir=66000
HelpFiles=10

Open in new window

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now