A little clearity on using rundll32 printui.dll,PrintUIEntry...

On this page - https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20040216090320

In the following lines, I have a question as to what the -t and -g switches do I can't find any info. on these two anywhere.

start /wait rundll32 printui.dll,PrintUIEntry /dl /n "math231chp" /q
start /wait rundll32 printui.dll,PrintUIEntry /dl /n "math231chp-t" /q
start /wait rundll32 printui.dll,PrintUIEntry /dl /n "math231chp-g" /q

I get the first line when adding a printer but not knowing what the -t or -g switches do I can't understand having the last 2 lines in the batch file.

Anyone have any thoughts?

 Thanks.
RBennett
Ryan BennettAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
oBdAConnect With a Mentor Commented:
The -t and -g aren't switches; these lines delete the three local printers named "math231chp", "math231chp-t", and "math231chp-g".
For help with the "real" switches supported by the printui dll enter
rundll32 printui.dll,PrintUIEntry /?
0
 
Ryan BennettAuthor Commented:
I don't know why that never occered to me? I see it now plain as day! thanks for the help.
RBennett
0
All Courses

From novice to tech pro — start learning today.