|
|
|||||||
Many of my users have the "Microsoft Document Imaging" printer set to their default when the log in. Though we have it no where in the script and we set all print connectoins to delete upon log in, it still shows up??? |
||||||||
|
|
|||||||
"Microsoft Document Imaging" is a local printer, so if there are no network printers, it defaults to a local one |
||||||||
|
|
|||||||
Well that is what is so concerning, because the other network printers are created just fine, but th default does not change. |
||||||||
|
|
|||||||
It is a matter of which came first. If originally there were no other printers, thn the default would be well.... default. Adding other printers after the fact won't automagically change the default, you have to do that. |
||||||||
|
|
|||||||
But the script is set to set a default printer. |
||||||||
|
|
|||||||
What script? How are we to comment on a script we know nothing about? |
||||||||
|
|
|||||||
Shawn does have the Amazing Kreskin telepathy helmet |
||||||||
|
|
|||||||
if ingroup("printGroup18") If ADDPRINTERCONNECTION ("\\print01\18_East") = 0 ? "Added printer connection...." endif If ADDPRINTERCONNECTION ("\\print01\18E_Copier") = 0 ? "Added printer connection...." endif If SetDefaultPrinter ("\\print01\18_East") = 0 ? "Set default printer to 18_East...." endif endif |
||||||||
|
|
|||||||
You have the syntax wrong, AddPrinterConnection and SetDefaultPrinter uses different syntax. SetDefaultPrinter uses the printer name and not the printer path name, see below. Quote: Quote: Thanks |
||||||||
|
|
|||||||
if ingroup("printGroup18") If ADDPRINTERCONNECTION("\\print01\18E_Copier") = 0 ? "Added printer connection...." $nul = SetDefaultPrinter("\\print01\18E_Copier") endif If ADDPRINTERCONNECTION("\\print01\18_East") = 0 ? "Added printer connection...." $nul = SetDefaultPrinter("\\print01\18_East") endif endif |
||||||||
|
|
|||||||
I am sure I have something wrong. |