Solved

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

Posted on 2004-09-06
2
974 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 83

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now