Done PRINT: Option to set default printer

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
Add an option to PRINT to set the default printer; I suggest /Z:
C:\>print /z:*laser*
Default printer set to "HP LaserJet 4050 Series PCL 5".


Since PRINT doesn't wait around for documents to finish printing — or to start printing, for that matter — changing the default printer should probably be handed before printing any documents specified on the command line. Changing the default after printing documents will require another PRINT /Z command, (much) later.
Similar threads
Thread starter Title Forum Replies Date
Charles Dye Done TCEDIT: Command-line option to print files Suggestions 2
vefatica Done Option to suppress blank lines in WMIQUERY Suggestions 1
M Done SFTP with a public key auth option Suggestions 2
R Option to add tcc to Bash profile Suggestions 1
vefatica INI option to disable everything GUI ... Suggestions 7
D Suggestion: VIEW option to open VIEW over tab window but not keep it there Suggestions 0
D Done Suggestion: Add VIEW option to open in same position as current window Suggestions 0
Fross Done Option to screen center msgbox Suggestions 2
P Done Have option not to pause TCMD console output when mouse is clicked elsewhere Suggestions 0
D Done BDEBUGGER: add cmdline option to set a breakpoint at a given line Suggestions 0
vefatica Done PAUSE: option to overwrite the prompt Suggestions 2
A Declined Enhance OPTION command functionality Suggestions 2
R Declined Install option: Add File Explorer Run As Adminstrator option Suggestions 14
Charles Dye Done REGDIR: Hex display option Suggestions 1
Charles Dye TCEDIT: Path search option Suggestions 1
Charles Dye Done @SNAPSHOT: Add option to capture the entire virtual screen Suggestions 0
Charles Dye TASKLIST: Option to mark WOW64 processes Suggestions 0
A Declined An installer option to control .btm association Suggestions 0
Oz Solomon Done Recycle/Reuse window option for TCMD Suggestions 6
Charles Dye Done Option to prevent recursion into System subdirectories Suggestions 0
R Declined Padding option(s): @Day, @Month, @Doy Suggestions 5
L Completing the UnQLite command's option set Suggestions 0
jaejunks Done Option for case-sensitive string comparison in IF command (for CMD compatibility) Suggestions 1
rps Declined ECHO -- Add spacing option Suggestions 2
rps Declined TPIPE first match & count option Suggestions 2
rps Done Pause /wait option addition Suggestions 1
vefatica Done TIMER ... a partially quiet option Suggestions 1
mfarah "Relative path" option for PDIR Suggestions 1
D Done Add VIEW option to open in same position as current window Suggestions 0
R Done Find in screen buffer - case sensitive 'option' Suggestions 2
rconn Add option to run programs Elevated from toolbar buttons Suggestions 0
G Declined Add option to turn on file name case sensitivity Suggestions 6
M Done A suggested PDir option... Suggestions 2
Charles Dye Done New TYPE option Suggestions 0
S Declined Add /W(ipe) option to several commands Suggestions 17
S Declined New command or new ACTIVATE option request Suggestions 5
B Done PDIR Field Separator Option Request Suggestions 3
W Done Add an option to control command line parsing Suggestions 7
yjchung Declined Unblocking option for MSGBOX? Suggestions 8
E Declined Add option to use SFN for ComSpec variable Suggestions 8
C Feature Request: Gain some elements of the XXCOPY feature set in COPY or a new "Mass-Copy" command Suggestions 0
R Save and load a command dialog set and name it Suggestions 3
R Done IDE copy (OR REMOVE) Set var name to Watch list by hotkey Suggestions 2
R Done For development or test purposes SET date and time INTERNAL variables Suggestions 3
J Done Set font in Take Command tabs in a .btm Suggestions 1
rconn Done Set permissions for FTP files Suggestions 0
R Done Just a Help addition - Set can indirectly set variables Suggestions 0
S Done Enhanced ALIAS, SET, ESET and FUNCTION commands Suggestions 0
T Done Help for SET to include @ExecStr[] hint Suggestions 1
S Done Command and help enhancement, esp. ALIAS, FUNCTION and SET Suggestions 2

Similar threads