KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q142900: How to Print a Document Unattended with System Agent

Article: Q142900
Product(s): Microsoft Windows 95.x Retail Product
Version(s): 95
Operating System(s): 
Keyword(s): win95
Last Modified: 18-DEC-2000

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows 95 
- Microsoft Plus! for Windows 95 
-------------------------------------------------------------------------------

SUMMARY
=======

This article describes how to use WordPad and System Agent to print a document
unattended.

MORE INFORMATION
================

To schedule an unattended print job using WordPad, follow these steps:

1. Double-click the System Agent icon on the taskbar to open System Agent.

2. On the Program menu, click Schedule A New Program.

3. In the Program box, type the path for WordPad. (By default, the path is
  "C:\Program Files\Accessories\Wordpad.exe.")

  NOTE: Make sure to enclose the path in quotation marks.

4. At the end of the path to WordPad, add a space and the following entry

  /P "<path>\<filename>"

  where <path> is the path for the file to be printed and <filename>
  is the name of the file to be printed.

  For example, to print a document named Test.doc in the Docs folder, the
  Program box should contain the following line:

  "C:\Program Files\Accessories\Wordpad.exe" /P "C:\Docs\Test.doc"

5. In the Run box, click Minimized.

6. Click When To Run, and then schedule the print job.

7. Click OK, and then close System Agent.

======================================================================
Keywords          : win95 
Technology        : kbWin95search kbGamesSearch kbPlusSearch kbZNotKeyword3 kbPlus95
Version           : 95

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.