Solved

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

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

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