Hi all,
I have a code which uses the shared printer to print a particular sheet . Initially the printer which was shared over network didn't have any password so it was easy. For added security the network credentials have been enabled and I have to enter a username and password for accessing the shared printer. How am I Supposed to enter the user name and password in the code.
My Printer name
Application.ActivePrinter = "\\Desktop-165t6df\THERMAL Receipt #1 on Ne09:"
Assume my username is "XXXXXX"
and password is "yyyyyy"
Thanks in advance
I have a code which uses the shared printer to print a particular sheet . Initially the printer which was shared over network didn't have any password so it was easy. For added security the network credentials have been enabled and I have to enter a username and password for accessing the shared printer. How am I Supposed to enter the user name and password in the code.
My Printer name
Application.ActivePrinter = "\\Desktop-165t6df\THERMAL Receipt #1 on Ne09:"
Assume my username is "XXXXXX"
and password is "yyyyyy"
Thanks in advance