问:
PCL 6 printer doesn't work on WinCE 5.0!
April 24th, 2006 - 09:25 am ET by bunymn | Report spam
Hi,
We want to print on WinCE 5.0 with HP 1320 printer which has PCL version 6.
We previously tried HP 1020 and 1218 printers, and 1020 didn't print(because
it has no PCL support) and 1218 printed(it has PCL version 3).
But 1320 didn't print although it has PCL 6 support and it correctly sees
the USB Printer(when we connect USB it shows the ADD LPT1: message). My
questions are these: 1)What is the PCL version number of Windows CE pcl.dll?
2)Is it possible (in principle) to print on HP 1218 USB laserjet printer, I
mean does WinCE 5.0 support this printer?
答:
CE is PCL3, and probably not fully featured at that.
Dean Ramsier - eMVP
BSQUARE Corporation
自问:
Dear Team,
Sincerel regrets for re-posting. But some expert guidance may
definitely help me in identifying the issue.
This problem was discussed in archieves number of times but after
following the advices addressed them, still I cannot overcome it.
In Windows CE 6.0 CEPC image, I selected usb printer driver from the
catalog. Also added sysgen_printing and sysgen_pcl variables to
configuration environment.
On attaching HP Laser 1020 Laser Printer, I find it attached to LPT2
port. When I try to print from the Wordpad, the following devices
appear under available devices:
1. HP 1020 LaserJet
2. PCL InkJet
3. PCL Laser
Whatever device I select, and LPT under port number, the dialog of
"now printing the document" appears for few seconds and then
disappears. Nothing is really printed.
On debugging usb printer source code - usbprn.c and lpt.c, the
following points were observed:
1. USBDeviceAttach is returning TRUE
2. ParseUsbDescriptors and SetUsbInterface are success and device is
attached to LPT2.
The moment print command is issued pcl.dll gets loaded and immediately
unloaded as shown in the log below:
---------------------------------------------------------------------------------------------
Got 3 printers from registry
Printer 0 is HP LaserJet 1020
Printer 1 is PCL Inkjet
Printer 2 is PCL Laser
自答
Finally here is the solution.
HP 1200 Laserjet does not support PCL. It uses ACL which is not
provided in WinCE by default.
I managed to obtain HP Laserjet 1022 and made sure that it supports
PCL. On attaching it, I can print the test messages normally.
Regards.