Microsoft KB Archive/178752

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

Article ID: 178752

Article Last Modified on 11/10/1999

-

APPLIES TO


 * Microsoft Publisher 98 Standard Edition

-



This article was previously published under Q178752



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



MORE INFORMATION
To print a publication from a command line:  Click the Start button, and then click Run.

-or-

Click the Start button, point to Programs, and then click MS-DOS Prompt (Command Prompt in Windows NT 4.0). Type the following command, and then 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 office\mspub.exe" /p c:\test.pub

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



NOTE: If you type the name of a publication that does not exist, Publisher displays the Open dialog box. If you click Cancel, Publisher prints a blank page to your printer.

Additional query words: w_mspub mspub background pub98 mspub98 pub_98 publisher98 ms_pub98

Keywords: kbhowto KB178752

-

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

© Microsoft Corporation. All rights reserved.