Is "\\printserver\printer" the printer name or the printer share?

You may want to enhance your error checking -
Code:

$pr_single_string = "\\printserver\printer"
If ADDPRINTERCONNECTION ($pr_single_string) = 0
; print
Else ? "Error="+@ERROR @SERROR
Endif



The @SERROR should show us what is going on.

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's