Solved

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

Posted on 2004-09-06
2
984 Views
Last Modified: 2012-06-21
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
0
Comment
Question by:Ryan Bennett
2 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 125 total points
ID: 11987721
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
 

Author Comment

by:Ryan Bennett
ID: 11993832
I don't know why that never occered to me? I see it now plain as day! thanks for the help.
RBennett
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question