Solved

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

Posted on 2008-06-17
4
13,743 Views
Last Modified: 2013-12-01
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
Comment
Question by:BetaPictoris
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:souseran
Comment Utility
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
 

Author Comment

by:BetaPictoris
Comment Utility
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
 
LVL 26

Assisted Solution

by:souseran
souseran earned 500 total points
Comment Utility
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
 

Accepted Solution

by:
BetaPictoris earned 0 total points
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Find out what hardware you have and get the most up to date drivers from the manufacturer! Automatically Get Your Drivers There is a number of great programs that will detect your hardware and find drivers for you automatically! Here is a link …
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now