Solved

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

Posted on 2004-09-06
2
987 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 85

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

734 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