How does one add a printer driver with their install program?

How does one add a printer driver with their install program?

Post by Zyx » Wed, 07 Aug 1996 04:00:00

        We have written a program that has the ability to be "printed" to from
other programs. (much like a fax program can be printed to from, for example,
a word processor)  We have written the necessary "printer" driver, and we use
the Wise installation system to install our program and the driver.  However,
we have only yet been able to make the Wise installer automatically add the
driver to Windows 3.1x.  We wrote an OEMSETUP.INF and put that in a
directory with the driver file so we can simply use the Windows95 "Add
Printer" feature in the Printer control panels to add that driver to
Windows95.  However, we have not been able to get the driver installed on NT.
        Is Wise capable of installing this driver to 95 and NT?  If not, is
there some sort of API that adds a printer driver to 95 and NT?  Just out of
curiosity, I tried installing Winfax Lite 4.0 on NT 3.51, and despite it's
being a 16bit program with a 16bit print-to driver, it installed fine and I
was able to print to it.
        Any help you can give is greatly appreciated.  Please email me if you
need any more info.  Thanks!



1. Need Help on installing a printer driver on the local computer using c++ program

I found that the AddPrinterDriver() can be used to install a Driver on the
local computer. But I don't know how to fill the DRIVER_INFO_2 structure.

I want to install a Generic / Text Only printer
How do I fill the pDriverPath, pDataFile, pConfigFile and cVersion elements
of DRIVER_INFO_2 structure?

2. Web Explorer 0.93 now Available

3. Installing a printer driver from a program??

4. GS_503_SRC.ZIP

5. Windows printer drivers vs. MS-DOS printer drivers

6. Josh Gibson

7. Trying to install a DOS program with MS Setup program

8. MH POP support under Solaris

9. Add a printer with "Generic / Text Only" driver programmatically?

10. Installing printer driver (Second try)

11. how to install printer driver

12. Installing a printer miniport driver

13. Installing Printer Drivers.