I recently got the -116 error "Bad Print Driver" from the PrintPanel function. I finally resolved the problem and thought it might be useful to others. The problem was that the printer I was trying to print to was using the fully qaulified domain name. When I switched to use WINS the problem went away. I was wondering if anyone knew why this happened. I have two ideas. The first is that using the full name created a long string which was too long for the CVI function. The second is that the string cannot have "." in it.
Thanks for any ideas.