S
sundar_SK
Guest
I am writing my first ever V4 printer driver application.When i tried to build the application,i got error message as below,
Error : 1025 No value for hw-id.
Error : 8561 PrintProcDLLName "MyV4PrintDriver_Render_Filter.dll" is not copied by (referenced in) any CopyFiles directive for DDInstall section "MYV4PRINTDRIVER_DATA_NT".
What should i do to resolve this error?
Here is the code of my INF file,
; Copyright (c) 2020 SATO
; INF file for the SATO WS208DT-LAN print driver
[Version]
Signature="$Windows NT$"
Class=Printer
ClassGuid={4D36E979-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=MyV4PrintDriver.cat
ClassVer=4.0
DriverVer=08/01/2019,1.0.0.0
[Manufacturer]
%ManufacturerName%=Standard,NTamd64
[Standard.NTamd64]
"V4_Printer_Driver_21Apr"=DriverInstall, {EE345D56-B825-4BD4-B2AC-B6F8F1D180DF}
"V4_Printer_Driver_21Apr"=DriverInstall, USBPRINT\En-VisionScripTalk_PE65B
"V4_Printer_Driver_21Apr"=DriverInstall, USBPRINT\En-VisionScripTalk_PE65B
DataSection = MyV4PrintDriver_Data_NT
[MyV4PrintDriver_Data_NT]
PrintProcessor="PrintProcessor.cpp , MyV4PrintDriver_Render_Filter.dll"
[DriverInstall]
CopyFiles=DriverFiles
[DriverInstall.Services]
AddService=,0x2
[DriverFiles]
MyV4PrintDriver.gpd
MyV4PrintDriver-manifest.ini
MyV4PrintDriverRenderFilter-PipelineConfig.xml
MyV4PrintDriver_Render_Filter.dll
[DestinationDirs]
DefaultDestDir = 66000
[SourceDisksNames.amd64]
1 = %DiskName%,,,""
[SourceDisksFiles]
MyV4PrintDriver.gpd=1
MyV4PrintDriver-manifest.ini=1
MyV4PrintDriverRenderFilter-PipelineConfig.xml=1
MyV4PrintDriver_Render_Filter.dll=1
[Strings]
ManufacturerName="SATO" ;TODO: Replace with your manufacturer name
DiskName="MyV4PrintDriver Installation Disk"
Continue reading...
Error : 1025 No value for hw-id.
Error : 8561 PrintProcDLLName "MyV4PrintDriver_Render_Filter.dll" is not copied by (referenced in) any CopyFiles directive for DDInstall section "MYV4PRINTDRIVER_DATA_NT".
What should i do to resolve this error?
Here is the code of my INF file,
; Copyright (c) 2020 SATO
; INF file for the SATO WS208DT-LAN print driver
[Version]
Signature="$Windows NT$"
Class=Printer
ClassGuid={4D36E979-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=MyV4PrintDriver.cat
ClassVer=4.0
DriverVer=08/01/2019,1.0.0.0
[Manufacturer]
%ManufacturerName%=Standard,NTamd64
[Standard.NTamd64]
"V4_Printer_Driver_21Apr"=DriverInstall, {EE345D56-B825-4BD4-B2AC-B6F8F1D180DF}
"V4_Printer_Driver_21Apr"=DriverInstall, USBPRINT\En-VisionScripTalk_PE65B
"V4_Printer_Driver_21Apr"=DriverInstall, USBPRINT\En-VisionScripTalk_PE65B
DataSection = MyV4PrintDriver_Data_NT
[MyV4PrintDriver_Data_NT]
PrintProcessor="PrintProcessor.cpp , MyV4PrintDriver_Render_Filter.dll"
[DriverInstall]
CopyFiles=DriverFiles
[DriverInstall.Services]
AddService=,0x2
[DriverFiles]
MyV4PrintDriver.gpd
MyV4PrintDriver-manifest.ini
MyV4PrintDriverRenderFilter-PipelineConfig.xml
MyV4PrintDriver_Render_Filter.dll
[DestinationDirs]
DefaultDestDir = 66000
[SourceDisksNames.amd64]
1 = %DiskName%,,,""
[SourceDisksFiles]
MyV4PrintDriver.gpd=1
MyV4PrintDriver-manifest.ini=1
MyV4PrintDriverRenderFilter-PipelineConfig.xml=1
MyV4PrintDriver_Render_Filter.dll=1
[Strings]
ManufacturerName="SATO" ;TODO: Replace with your manufacturer name
DiskName="MyV4PrintDriver Installation Disk"
Continue reading...