阅读:891回复:0
在CEPC下打印机设置问题
我建了一个CEPC平台,也就是在X86上跑WINCE操作系统,但是我打印文档时,系统提示找不到打印机或打印机不可用。打印机是惠普的jaserjet 1100A。
在FEATURE VIEW里,并行口驱动和打印机驱动都包含在PB里了。 在platform.reg文件里,并行口驱动已注册,如下: ; @CESYSGEN IF CE_MODULES_PARALLEL IF BSP_NOPARALLEL ! ; Parallel Port Driver [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Parallel] "DeviceArrayIndex"=dword:0 "Prefix"="LPT" "Dll"="Parallel.Dll" "Order"=dword:0 "IoBase"=dword:278 "IoLen"=dword:C "SysIntr"=dword:15 ; SYSINTR_FIRMWARE + irq (IRQ5 for LPT2, IRQ7 for LPT1) "DeviceType"=dword:0 "FriendlyName"=LOC_FRIENDLYNAME_PARALLEL "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00 ENDIF BSP_NOPARALLEL ! ; @CESYSGEN ENDIF CE_MODULES_PARALLEL 在platform.bib文件里,并行口驱动已包括,如下: ; @CESYSGEN IF CE_MODULES_PARALLEL IF BSP_NOPARALLEL ! ; Parallel Port Driver parallel.dll $(_FLATRELEASEDIR)\parallel.dll NK SH ENDIF ; @CESYSGEN ENDIF CE_MODULES_PARALLEL 在common.reg文件里,打印机驱动已注册,如下: ; @CESYSGEN IF CE_MODULES_PRNPORT ; Printer Port settings [HKEY_LOCAL_MACHINE\Printers\Ports] "Port1"="COM1: 9600" "Port2"="COM1: 57600" "Port3"="IRDA" "Port4"="NET0:" ; @CESYSGEN ENDIF ; @CESYSGEN IF CE_MODULES_PCL [HKEY_LOCAL_MACHINE\Printers] "DefaultPrinter"="PCL Laser" [HKEY_LOCAL_MACHINE\Printers\PCL Laser] "Driver"="pcl.dll" "High Quality"="300" "Draft Quality"="150" "Color"="Monochrome" "Version"=dword:0200 [HKEY_LOCAL_MACHINE\Printers\PCL Inkjet] "Driver"="pcl.dll" "High Quality"="600" "Draft Quality"="150" "Color"="Color" "Version"=dword:0100 ; @CESYSGEN ENDIF 在common.bib文件里,打印机驱动已包括,如下: ; @CESYSGEN IF CE_MODULES_PCL pcl.dll $(_FLATRELEASEDIR)\pcl.dll NK SH ; @CESYSGEN ENDIF |
|
|