Help Needed with printer Driver

Help Needed with printer Driver

Post by dave ogl » Sat, 04 Jan 1997 04:00:00

I am writing a program and need a way to determine, from the
program, what printers a given
printer driver supports. I can do this on other operating systems using
APIs, and want to find something like that on windows 95. what I am
looking for is a way to retrieve the list of printers supported from a
printer driver. I know the list exists in the drivers, given that I can
edit the file (like HPPCL5MS.DRV) and see a list of printers. Does
anyone know what the right way to do this is in 95 and/or NT? I know it
must be possible since I would guess that the print wizard uses some
command like this itself. any and all pointers will be appreciated.



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. content type of LWP::Simple get

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

4. Scanners as Fax Machines?

5. HELP: need to write printer device driver for Win3.1

6. Winsock dead?

7. Need Help Making Custom Printer Driver W311/WNT

8. viewing function source code

9. Help on writing printer drivers needed

10. I need help writing a printer driver!

11. Debugging NT printer Drivers. Help Needed.

12. NEED HELP! with printer driver

13. Need help: Win16 Printer Driver colors, rotation