Hey all.. new to the board, I just picked up Kixtart and I'm having a couple of simple (I imagine) problems.

First off,

I cannot seem to get my Kixtart (V4.02) to set a Default Printer.

Here are the lines I'm using..

If AddPrinterConnection ("\\hercules\4050") = 0
? "Added printer connection...."
sleep 1
If SetDefaultPrinter ("\\hercules\4050") = 0
? "Set default printer to HP LaserJet 4...."
sleep 1
Endif
Endif

I'm doing the sleeping just so I can read the added printer connection message, I never get the set default printer message and it doesn't seem to work either. All Win2K network.

Also, I can't find a simple way to delete all connections. Do I have to list every printer on my network in statements to delete them all? That would take quite a bit; I'm sure there must be a command for deleting everything.

Pre-Thanks to any help I get!