These sample includes DLL's and instruction to deploy an USB printer on NetDCUX and PicoMODX.
Drivers in the previous thread are for WCE500 and lower.
Attached update for usbprn.dll (and pcl.dll which is not always part of the image) for WCE600 (ARM based).
Hello I tried the first driver on a netdcu 8 with an zebra 2844 label printer. He supports pcl 3 standard but i allways get the Message "Error installing USB driver USBPRN"
usbprn.dll and pcl.dll are in \\ffsdisk
i also tried 2-3 other printer but i get the same error.
Hope somebody solve the same problem...
a) did your try to ease registry and reinstall the driver?
b) after "printer installation", registry save and reboot does the printer work if you ignore the error message?
Is it possible that a printer works with a NetDCU6 but not with NetDCU8 ?
I.e. are the drivers functionally identical ?
drivers functionally should be identical.
Have you details about the occuring problems?
I use the drivers above to connect a HP Deskjet 5150 (also with a fresh re-install)...then I want to use C++ functions CreateDC/StartDoc/StartPage etc. to generate reports.
On NetDCU6 this works fine, but on NetDCU8 StartDoc fails with GetLastError=6 (invalid handle).
Our kernel versions as extracted with SPI_GETPLATFORMVERSION are 1.17 (DCU6) and 1.28 (DCU8)
Are the handle for DC is ok?Code
- #define PRINTER_PORT _T("LPT1:")
- #define PRINTER_DEV _T("pcl.dll")
- #define PRINTER_DOC _T("MyDocument")
- HDC Init()
- DEVMODE dm;
- dm.dmSpecVersion = 0;
- dm.dmDriverVersion = 0;
- dm.dmSize = sizeof(DEVMODE);
- dm.dmPaperSize = DMPAPER_A4;
- dm.dmColor = DMCOLOR_MONOCHROME;
- return CreateDC(PRINTER_DEV,NULL,PRINTER_PORT,&dm);// Ok?
Yes, the handle looks good...also the printer is listed at the registry (HKLM/printers) as it is on DCU6.
Updated prn-files tested under WCE6 on PicoMOD3.