On Wed, Feb 11, 2009 at 11:53 AM, Steve Ens <[email protected]> wrote:
>> We ended up hacking the HP LJ 4 driver that came with Windows XP
>> into a generic PCL driver that seems to work with most HP printers.
>> I can post if people like.
>
> That would be great...
I tried attaching to a message, but Lyris rejected it. So here we
go inline, two text files, one file per message, two messages. First
file is GenericPRINT.INF:
; INF installer for generic printer drivers
; Created by Bryce Caron with help from Ben Scott
; Created June 2008
[Version]
; information about the drivers this INF describes, including:
; - compatible operating systems/versions
; - type of driver we are installing to increase speed
Signature="$Windows NT$"
Class=Printer
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Provider=%Generic%
DriverVer=06/26/2008,1.0.0.0
[DestinationDirs]
; These have to be specified again in this INF, even though
NTPRINT.INF defines them too.
; Otherwise you get "Operation not completed" errors during INF install attempt.
; The DirIds are defined by Microsoft standards:
; 66000 = system32\spool\drivers\w32x86
; 66002 = system32
DefaultDestDir=66000
PJLMON.DLL=66002
[Strings]
; global localizable strings used throughout the file by references like %foo%
Generic="Generic"
[Manufacturer]
%Generic%=Generic
[Generic]
; this is a "Models" section (one per Manufacturer)
"Generic PCL5"=GenericPCL5.GPD
[GenericPCL5.GPD]
; this is a "DDInstall" section (one per model)
DriverVer=06/26/2008,1.0.0.0
[email protected]
DataFile=GenericPCL5.GPD
; pull in resources from Windows NTPRINT.INF
Include=NTPRINT.INF
DataSection=UNIDRV_BIDI_DATA
Needs=HPLJ4.GPD
; HPLJ4.GPD gets us:
; - the Unidrv core
; - TTFSUB.GPD (True Type Font substitution tables, needed by PCL engine)
; - PCL5ERES.DLL (needed for PCL5e vector grahphics (AKA HP-GL/2))
; - some other stuff we don't need, but is harmless
; We originally tried using
; Needs=UNIDRV_BIDI.OEM,TTFSUB.OEM,PCLXL.OEM
; PCLXL.OEM is supposed to copy the PCL5ERES.DLL (and other stuff)
; For unknown reasons, nothing in the PCLXL.OEM or PCLXL sections ever copied.
; Found some HP INFs which apparently had similar issues, as they used
the HPLJ4.GPD workaround.
; EOF GenericPRINT.INF
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~