Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Adding a Network Printer in Win98

Keywords:   Adding Network Printer Win98

Question:

I'm trying to figure out a way to automate adding a new Network Printer in Windows98. I've got it working with NT (using the pAddPrinter function) but I can't seem to get it to work with Win98. Is there a trick to automate this?

Answer:

Yes it is very tricky. You may have to send keystrokes to the printer install applet or something horrible like that.

You can also try to ShellExecute the printers inf file and use the "Install" keyword.


Article ID:   W14545
Filename:   Adding a Network Printer in Win98.txt