>I'm a little late coming into this thread, but I discovered a bug with Foxpro that would cause this. If you are printing to a network printer and the PORT name contains spaces (ie.: Okidata ML 210), the you will get this message. You must ensure there are no spaces in the port name.
David,
I remember an article that the (network) printer name should not contain spaces. Are you referring to that ? Think I've tried without the spaces and still got the error. Still, the naming of the printers is beyond my control.
Think Nadya's solution worked as well (Alessio kind of confirmed it) set printer to name (PrinterName), print, set printer to default.
I've taken out the set printer to name(..) and have not had any single error 1958 since.
Gregory