Active5 months ago
Hp probook 4410s drivers for windows 7. I want to create a virtual printer driver for Windows. How and where can I start properly? The WDK has some printing drivers examples that do not seems a good introductory. MSDN also doesn't seems to be very helpful for a novice.
- Creating a Postscript Printer in Windows 2000/XP 3 of 7 6/10/2006 12:19 PM This tells windows that this printer will 'print' to a file rather than a real printer.
- If your printer isn't listed, click Windows Update, and then wait while Windows checks for additional drivers. If none are available and you have the installation CD, click Have Disk, and then browse to the folder where the printer driver is located.
- How To Connect A USB 2.0 Printer To A USB 3.0 Port On Windows 10. How To Connect A USB 2.0 Printer To A USB 3.0 Port On Windows 10. Install the printer driver and.
Creating a Driver Package.; 2 minutes to read Contributors. In this article Driver projects and packages. A driver project is the Microsoft Visual Studio project which produces a driver binary (such as a.sys file), and potentially the driver's INF file. How to add a generic printer in Windows 10 Dave Farquhar Windows November 25, 2015 July 15, 2017 Click Generic, Click Next, Control Panel, dot matrix printer, drivers, hp, IBM, IP, IP address, laserjet, printer, tcp, UNC, Windows 10.
There are a lot of virtual printers for Windows out there (mostly they generate PDFs), I wonder if someone could tell my how can I do the same?
Any links to the elaborating documentations are appreciated in advance.
Thanks.
amirfg14311 gold badge44 silver badges1717 bronze badges
TerminusTerminus70922 gold badges88 silver badges2121 bronze badges
6 Answers
When I did it (which about 12 years ago) I started with the postscript driver sample, replaced all the postscript-specific stuff (in my case, to write to a bitmap instead of generating postscript commands).
Creating A Windows Printer Drivers Hp
I also wrote a custom print monitor (the driver writes to the spooler, which write to a monitor): my monitor wrote to a file instead of e.g. to the parallel port.
However, printer driver architecture and/or the set of sample drivers may have changed since then.
ChrisWChrisW46.7k1010 gold badges8989 silver badges190190 bronze badges
You can look to the 'minidriver' development in the from Microsoft (Microsoft MDT), that might help depending on your exact needs. If the port you need to deal with (ie: you are going to take the data from an existing printer driver and want to process) you could look to the source code for RedMon. It doesn't support Vista/Win7 but might point you in the right direction.
Douglas AndersonDouglas Anderson3,49677 gold badges3434 silver badges4444 bronze badges
This book maybe help you Developing Drivers with the Windows® Driver Foundation
A list of my links Hp probook 4520s drivers for windows 7 32 bit.
Entity3,6121616 gold badges6363 silver badges111111 bronze badges
pedrofernandespedrofernandes7,60999 gold badges3030 silver badges4242 bronze badges
One of the drivers you mention is open-source (GPL), maybe you could explore its source or adapt it: http://www.pdfforge.org/products/pdfcreator/download
JCCyCJCCyC6,6771111 gold badges3535 silver badges7171 bronze badges
Someone else already mentioned PDFCreator. Here's a more specific link to their code that's creating the printer, port and monitor. Despite being in VB, I can follow it as someone more used to C++, so I guess you can too. modPrinter.bas does the leg work. modMain.bas, from about line 28 onwards, calls into modPrinter.bas.
Jon BrightJon Bright
11.1k33 gold badges2727 silver badges4545 bronze badges
Create a Print Port Monitor, associate that port with a printer, and you'll get the data the printer driver sends to the port.
working example of how is it done in Cpp and java can be found here:http://www.mms-computing.co.uk/uk/co/mmscomputing/device/printmonitor/index.php
user235724