Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Need guidence A NewBee...

NtDev_GeekNtDev_Geek Member - All Emails Posts: 111
Hi All,

I have a ticketing printer when gets connected on windows, in device manager i can see it appears in other devices section.after reading list i came to know that i need to write a inf file along with mentioning the Vid/Pid.i did that and Usbprint.sys and dll loaded for this device why?? since i didn't mention in inf for any binary to load.please shed light on this.
Since i am new to device driver on windows. want u guys guidence.
1.for this printer whether i need to write a printer driver.???
2.a usb printer driver which sample will be my starting point??
3. Need only a usb printer class filter driver for my printer device.??
sorry for my bad english.
Hoping a positive response.thanks in advance.

./Nt

Comments

  • Slava_ImameevSlava_Imameev Member Posts: 480
    PnP Manager installed the most suitable driver for an interface reported by your printer, in your case this was a USB class ID set to 0x7 which means a USB general printer.

    Answers to your questions
    1. Generally no. Usbprint will handle everything if the printer conforms to USB printer class specification.
    2. I believe you need a user mode printer driver. Printer drivers are divided on the kernel mode and user mode part. The user mode driver is a dll loaded in the printing process.
    3. Usbprint works perfectly with all devices conforming to USB printer class specification. You need filter only if printer has some additional functionality.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA