Lets start simple first. Please run this and give us your results...

 Code:
If addprinterconnection("your printer")=0
  ? "Printer Added"
else
  ? "Printer Not Added"
  ? @serror
endif


Edited by Allen (2011-12-15 01:37 AM)