No printer...

P

Pedro Andreso

Hi,

I'm booting a HP T5700 with XP Embedded and MinLogon with CMD shell,
Terminal services client and CITRIX ICA Client 8.0 (custom component). I've
included the drivers for a HP LaserJet 1010 USB printer (custom component).
After FAB finish, in CMD shell I connect the USB cable on the terminal.
Setupapi.log is changed with this lines:

[2005/07/14 20:02:54 376.3 Driver Install]
#-019 Searching for hardware ID(s):
usb\vid_03f0&pid_0c17&rev_0100,usb\vid_03f0&pid_0c17
#-018 Searching for compatible ID(s):
usb\class_07&subclass_01&prot_03,usb\class_07&subclass_01,usb\class_07
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#I022 Found "USB\Class_07" in C:\WINDOWS\inf\usbprint.inf; Device: "USB
Printing Support"; Driver: "USB Printing Support"; Provider: "Microsoft";
Mfg: "Microsoft"; Section name: "USBPRINT_Inst".
#I023 Actual install section: [USBPRINT_Inst.NT]. Rank: 0x00002002.
Effective driver date: 07/01/2001.
#I022 Found "USB\Class_07&SubClass_01&Prot_03" in C:\WINDOWS\inf\dot4.inf;
Device: "DOT4 USB Printing Support"; Driver: "DOT4 USB Printing Support";
Provider: "Microsoft"; Mfg: "Microsoft"; Section name: "DOT4USB_Inst".
#I023 Actual install section: [DOT4USB_Inst.NT]. Rank: 0x00002000. Effective
driver date: 07/01/2001.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [DOT4USB_Inst] in
"c:\windows\inf\dot4.inf".
#I062 Class GUID of device changed to:
{48721B56-6795-11D2-B1A8-0080C72E74A2}.
#I060 Set selected driver.
#I058 Selected best compatible driver.

If I run TAP.EXE, I can see the "HP LaserJet 1010" in the USB Category
devices. On Terminal Services and ICA connections, I don't have any printer
mapped...


Pedro Andreso
 
W

Wolfgang

Hello Pedro,

As noone has answerde so far, I try to give some tips despite I don't know
the reason for your problem.
1.) It seems that Dot4USB.inf is ranked higher than usbprint.inf as the
first one lists a Protocol (Prot_03)
of the SubClass_01. First try for you: If you plug in this printer is a
USB-Port reserved for it's connection ?
(Goto Printers, Options, Ports. Can you link another driver to that port ?
(and does the printer than react?)
2.) It seems that the device driver is not installed. Did you copy the
inf-file in the Inf-directory ?
Does it match the printer ?
3.) Do you have a "AddNewHardwareWizard" in your image ?
(If you don't have it would be similar behaviour)
4.) Can you install the driver manually ? (And then link it to the USB-Port
and print)

Regards, Wolfgang
 
P

Pedro Andreso

Hi Wolfgang,

I've included the DOT4 USB Printing support, USB Printing Support and a
custom component for the HP LaserJet 1010 (made with the .inf files of the
printer drivers CD). Now I've noticed that the .if file of the printer
driver also includes a reference to the VID_03F0&PID_0E17 hardware ID.
Should I remove the Dot4 and USB printing support from my image, to force
the OS to use printer driver .inf?

I don't have any graphical shell in my image (my goal is to boot the
terminal and start a remote desktop connection only), so I don't have any
idea on how to change the printer's drivers or port throw CMD prompt...

I'm going to try removing the DOT4 and USB printing support...


Thanks,

Pedro Andreso
 
W

Wolfgang

Hi Pedro,

What I was wondering was that at your installation routine no better match
as Rank 0x2000 was found.
Hence it seems the installer did not found your inf with the matching vid &
pid for the printer.
See:
http://msdn.microsoft.com/library/d..._5f5ab2fb-a9a8-403f-a03b-372a16bb2223.xml.asp
(How Setup Selects Drivers)
If you see only the Setupapi.log may this link be helpfull:
http://support.microsoft.com/kb/243996/
(How to Enable Verbose Logging in Windows 2000 GUI-Mode Setup)
I'm going to try removing the DOT4 and USB printing support...

AFAIK USB printing support is used by most modern USB printers.
USB printing support is a class driver loaded for all USB printers (nearly
despite the guys how do everything on there own).
(A bid like the mass storage device support for USB memory sticks were you
don't need a special driver but can use one.)
It gives a kind of printer port like "LPT1" and routes all data from the
driver to the connected Printer with matching VID & PID.
I think it IS required for your printer also.
Take a look if you can find out if your inf-file is really recognized.

Wolfgang
 
P

Pedro Andreso

Hi again,

HP LaserJet 1010 .inf driver file contains the Device ID
"DOT4PRT\VID_03F0&PID_0C17&REV_0100". On setupapi.log I get a
"usb\vid_03f0&pid_0c17&rev_0100". I beleive that this is the problem... The
ID's doesn't match... I'm I right? If it is, is it safe to change the device
ID in the component that was created by Component Designer? I think that
there's no problem...

Best regards

Pedro Andreso
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top