Microsoft KB Archive/137775

= PUB: How to Print a Publication from a Command Line =

Article ID: 137775

Article Last Modified on 8/17/2005

-

APPLIES TO


 * Microsoft Publisher 3.0 Standard Edition

-



This article was previously published under Q137775



SUMMARY
In Microsoft Windows 95, you can issue a command at the MS-DOS prompt or Run dialog box to print a publication without viewing it in Microsoft Publisher.



MORE INFORMATION
To print a publication from a command line:  On the Start menu, click Run, or open an MS-DOS prompt. Type the following command and press ENTER, substituting the appropriate values for (the location of Mspub.exe), (the location of the file you want to print), and (the name of the file you want to print):

\mspub.exe /p \ .pub

Be sure to put long filenames in quotation marks. Here are three sample command lines:

c:\mspub\mspub.exe /p c:\document\report.pub

"c:\program files\microsoft publisher\mspub.exe" /p c:\test.pub

c:\mspub\mspub.exe /p "c:\my documents\july newsletter.pub"



You will see the Publisher Print dialog box. Make sure that the settings are the ones you want and click OK.

NOTE: If you type the name of a publication that does not exist, Publisher will display its File Open dialog box. If you cancel this, Publisher will print a blank page to your printer.

Additional query words: pub3 pub95 w_mspub mspub background pub97

Keywords: kbhowto kbprint kbusage KB137775

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.