Hi,
I'm having problem using a variable with set printer to name.
This does not work:
lcPrinterNom = GETPRINTER()
SET PRINTER TO NAME lcPrinterNom
It gives me error 1957 : error accessing printer spooler
But this work:
SET PRINTER TO NAME GETPRINTER()
And this work also:
SET PRINTER TO NAME "\\GCI3\HP DeskJet 540"
I would like to use a variable in order to take specific action if the user click "cancel" to the GETPRINTER() prompt.
Thanks
Diane Robitaille eng.