Before any of that crap: the company purchased more than ten years of printer, printer manufacturer early does not support this type of after-sales, driver support 32 bit system, only now is a 64 - bit system, want to modify the INF install the driver to support 64 - bit systems,
The original INF is
Cturer section.
;
; This section lists all of the manufacturers
; That we will display in the Dialog box
;
(Manufacturer)
% ZYX - LPRINT %=ZYX - LPRINT, NT, NTia64, NTAMD64
;
; The Model Specifications Section
;
[ZYX - LPRINT]
Dev_model_1 dev_model_1 % %=lp680. GDP, % %
[ZYX - LPRINT NTia64]
Dev_model_1 dev_model_1 % %=lp680. GDP, % %
[ZYX - LPRINT NTAMD64]
Dev_model_1 dev_model_1 % %=lp680. GDP, % %
;
; Installer section (s) referenced above.
;
[lp680. GDP]
CopyFiles=@ lp680. DLL, @ lp680. GDP
DataSection=UNIDRV_DATA
DataFile=lp680. GDP
The Include=NTPRINT. J INF
Needs=UNIDRV. OEM
[DestinationDirs]
DefaultDestDir=66000
[SourceDisksNames x86]
1=% % disk1,,,
[SourceDisksNames NTia64]
1=% % disk1,,,
[SourceDisksNames NTAMD64]
1=% % disk1,,,
[SourceDisksFiles]
Lp680. DLL=1
Lp680. GDP=1
the revised
;
; Printer Installation File
;
; The List of supported printers, manufacturers
;
[Version]
Signature="$Windows NT $
"The Provider PTX=% %
ClassGUID={4 d36e979 - E325 ce - BFC1-08002-11 be10318}
Class=Printer
[ClassInstall32. NT]
AddReg=printer_class_addreg
[printer_class_addreg]
PrinterClassName HKR,,,, % %
HKR, Icon, and "4"
HKR Installer32, and "ntprint. DLL, ClassInstall32"
HKR NoDisplayClass, and 1
HKR EnumPropPages32, and "printui. DLL, PrinterPropPageProvider"
;
; Manufacturer section.
;
; This section lists all of the manufacturers
; That we will display in the Dialog box
;
(Manufacturer)
% LPRINT %=ZYX - LPRINT, NT, NTia64, NTAMD64
;
; The Model Specifications Section
;
[ZYX - LPRINT]
Dev_model_1 dev_model_1 % %=lp680. GDP, % %
[ZYX - LPRINT NTia64]
Dev_model_1 dev_model_1 % %=lp680. GDP, % %
[ZYX - LPRINT NTAMD64]
Dev_model_1 dev_model_1 % %=lp680. GDP, % %
;
; Installer section (s) referenced above.
;
[lp680. GDP]
CopyFiles=@ lp680. DLL, @ lp680. GDP
DataSection=UNIDRV_DATA
DataFile=lp680. GDP
The Include=NTPRINT. J INF
Needs=UNIDRV. OEM
[DestinationDirs]
DefaultDestDir=66000
[SourceDisksNames x86]
1=% % disk1,,,
[SourceDisksNames NTia64]
1=% % disk1,,,
[SourceDisksNames NTAMD64]
1=% % disk1,,,
[SourceDisksFiles]
Lp680. DLL=1
Lp680. GDP=1
(Strings)
PrinterClassName="Printers"
PTX="ZYX - LPRINT"
Dev_model_1="lp680"
Disk1="ZYX Printer Driver Setup Disk"
Modified the driver installation times wrong: the correct printer driver can't install, 0 x00000002
Please god help me solve the,,,, 55 swept over scolded by his boss for a week,,,