I'm having trouble with this command:
ImgEdit1.PrintImage , , 2, , sPrinter, "", "\\networkedcomputer\" & sPrinter
I want to print my image to a networked printer or really just a printer that's been added in my printers list in windows. I have to give it a printer name depending on user input. If I place the sPrinter var in there is doesn't work. But if I just insert
ImgEdit1.PrintImage , , 2, , "printername", "", "\\networkedcomputer\printername"
it works fine. Something about sending the command a variable freaks it out. Any ideas?
Thanks.
