Tech Support > Microsoft Windows > Drivers > another GenPrint question
another GenPrint question
Posted by Zok on July 6th, 2005


hello everybody,

Ive looked through many of these groups and havent found an answer to
my question, although all the genprint questions sounds similar, and
for some reason Ashwin from microsoft knows the answers to em all .

i got DDK installed and managed to compile genprint and build the
genprint.dll

i read hundreds i think pages on msdn but still cant understand how the
inf file is relatd (how to create it and what data should be in it ?)
and how to actualy install the genprint processor
so i can use it in allready installed printer drivers.

if anyone can help me out here.

Thanks to everyone


p.s
my main target eventualy is to force every print job to be landscape.
Thanks.

Posted by Lucas Pleß on July 8th, 2005


Zok wrote:

It was i little bit hard for me to understand how it works, too.

Yes, i think the print processor is the right way to go.

Here is my oemprint.inf to install a language monitor. It works for me.
(Maybe Ashwin can throw an eye on it

[Version]
Signature="$Windows NT$"
Provider=%OEM%
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer
CatalogFile=OEMPRINT.cat
; Date & version of driver package
DriverVer=06/13/2005,00.00.00.05


; Manufacturer section.
;
[Manufacturer]
"heddier electronic"=heddier_electronic

; Model sections.
;
[heddier_electronic]
;"SynLock PScript Printer" = SLPRINT.PPD,
LPTENUM\heddier_electronic_psp,hed_pscript_printer
"SynLock PScript Printer" = SLPRINT.PPD

; Installer Sections
;
[SLPRINT.PPD]
CopyFiles=@SLPRINT.PPD,@slcmpp.dll,SL_LANGMON
DataSection=SYNLOCK_DATA
Include=NTPRINT.INF
Needs=PSCRIPT.OEM


; Data Sections
;
[SYNLOCK_DATA]
DriverFile=PSCRIPT5.DLL
ConfigFile=PS5UI.DLL
HelpFile=PSCRIPT.HLP
LanguageMonitor="SynLock Language Monitor,langmon.DLL"


; Copy Sections
;
[SL_LANGMON]
langmon.dll,,,0x00000020
slcmpp.dll,,,0x00000020


[DestinationDirs]
DefaultDestDir=66000
SL_LANGMON=66002


[SourceDisksNames.x86]
1 = %Disk1%,,,""

; Localizable Strings
;
[Strings]
OEM="heddier electronic GmbH"
PrinterClassName="Printers"
Disk1="OEM Driver Setup Disk 1"


--

Best regards


Lucas Pleß
heddier electronic GmbH


Similar Posts