General discussion

Locked

Specify Default Printer ( Urgent )

By hussaimz ·
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.

14 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Specify Default Printer ( Urgent )

by steven_v_brown In reply to Specify Default Printer ( ...

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

Good Luck!
Steven V Brown

Collapse -

Specify Default Printer ( Urgent )

by hussaimz In reply to Specify Default Printer ( ...

The question was auto-closed by TechRepublic

Collapse -

Specify Default Printer ( Urgent )

by steven_v_brown In reply to Specify Default Printer ( ...

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

Good Luck!
Steven V Brown

Collapse -

Specify Default Printer ( Urgent )

by hussaimz In reply to Specify Default Printer ( ...

The question was auto-closed by TechRepublic

Collapse -

Specify Default Printer ( Urgent )

by rindi1 In reply to Specify Default Printer ( ...

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.

Collapse -

Specify Default Printer ( Urgent )

by hussaimz In reply to Specify Default Printer ( ...

The question was auto-closed by TechRepublic

Collapse -

Specify Default Printer ( Urgent )

by JOHN_WESTWORTH In reply to Specify Default Printer ( ...

You could use the Defptr.exe
to specify the default printer before you use the print command.

Collapse -

Specify Default Printer ( Urgent )

by hussaimz In reply to Specify Default Printer ( ...

The question was auto-closed by TechRepublic

Collapse -

Specify Default Printer ( Urgent )

by david In reply to Specify Default Printer ( ...
Collapse -

Specify Default Printer ( Urgent )

by hussaimz In reply to Specify Default Printer ( ...

The question was auto-closed by TechRepublic

Back to Windows Forum
14 total posts (Page 1 of 2)   01 | 02   Next

Operating Systems Forums