How do I specify the Default Printer using the print command in NT? will this be the same for 95 or there a different way of specifying it? It may be noted that the print command will be run directly from the DOS prompt and not from an application.
This conversation is currently closed to new comments.
When utilizing DOS systems I have had the most luck mapping print devices back to the "OLD" LPT(1-9) ports... If your terminals do not have a localy attached printer i recommend using the system default LPT1 otherwise review the example
'Map LPT- place in logon script or bat... 'net use lpt(1-9): \\ServerName\PrinterQ net use lpt5: \\SuperServer\IS_Dept_Prt
'@ DOS Prompt on client... print /d:LPT5 c:\autoexec.bat
When utilizing DOS systems I have had the most luck mapping print devices back to the "OLD" LPT(1-9) ports... If your terminals do not have a localy attached printer i recommend using the system default LPT1 otherwise review the example
'Map LPT- place in logon script or bat... 'net use lpt(1-9): \\ServerName\PrinterQ net use lpt5: \\SuperServer\IS_Dept_Prt
'@ DOS Prompt on client... print /d:LPT5 c:\autoexec.bat
From a DOS prompt you can print to printer the following way: copy "file name" > \\ServerName\PrinterShareName or dir > \\ServerName\PrinterShareName Like that you don't have to map any lpt ports and you'll get the printer you want. You won't have to set any default printer.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Specify Default Printer ( Urgent )