/build/static/layout/Breadcrumb_cap_w.png

Non-Class_07 USB Printer Install

Can anyone suggest how to approach installing a non-Class_07 USB Printer?

I am dealing with a USB printer which presents a non-standard interface; instead of a single BULK pipe, the printer presents two USB pipes, a BULK pipe and an INTERRUPT pipe. Because this does not meet the requirements for the Class_07 standard, the manufacturor correctly identifies it as Class_FF (vendor-specific). However...

The printer *can* be handled strictly through the BULK channel, behaving just as a Class_07 printer should. My principal has a USB printer mini-driver that I am to install, but because the hardware does not present as Class_07, the usual installation does not work... USBPRINT.SYS does not get loaded into the driver stack.

I have attempted two different approaches to this, either of which (I thought) should work. First, I have tried simply adding to the INCLUDE and NEEDS statements in my INF, thus:

[MyPrinter.GPD]
CopyFiles=@MyPrinter.dll,@MyPrinter.GPD
DataSection=UNIDRV_BIDI_DATA
DataFile=MyPrinter.GPD
Include=USBPRINT.INF, NTPRINT.INF
Needs=USBPRINT_Inst.NT, UNIDRV_BIDI.OEM

Since this didn't work I tried adding a Services section:

[MyPrinter.Services]
AddService = usbprint,0,usbprint_Service_Inst

[usbprint_Service_Inst]
DisplayName = "Microsoft USB PRINTER Class"
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\usbprint.sys
Include=USBPRINT.INF
Needs=USBPRINT_Inst.NT

In both cases the issue seems to be something to do with a "port", presumably the USB port. If I try to install via the "Add Printer" dialog, I am stymied because there is no USB port to choose. If I plug the hardware into the USB port I get a "New Hardware" dialog, but after providing the .INF, .DLL and .GPD files, the installation fails claiming that "The specified port is unknown". Since no port was specified, I am perplexed.

I am far from being an expert in installation; I am primarily an embedded software designer, who occasionally has to install the drivers I write. In the past I have had some success, but this problem has stalled me for days now. Any wizardly suggestions would be very much appreciated.

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ