Print Document

Home Commercial Tools Free Downloads Contact


Did you ever need to automatically print some files / one or multiple copies / to the same or different printers from a scheduled script running on your Intel®/Windows®-based Server?

This utility helps you to do exactly that:

bulletThe file's name is supplied as the first command-line parameter.
 
bulletThe actual printing is done by the application that is associated with the file's type (e.g.: a .TXT file gets printed by NOTEPAD, .DOC - by WINWORD, .PDF by ACROREAD and so on) and can be changed trough the Tools>Folder Options menu, File Types tab in the Windows® Explorer if there are more than one application that can handle the given file type.
 
bulletThe printer name is supplied as the second, optional, command-line parameter.

Printer name would most of the time be in the form of: "\\SERVER_NAME\PRINTER_NAME" or just "PRINTER_NAME" for a local printer.

It complains if there is no such printer defined on the current machine for the current user.
I tested it with Windows® NT/2000. The printer parameter will not work with 95/98/ME, but it should still print to the default printer, if executed without the second parameter.

This approach will not work for Create!Print®-defined printers.

Usage:

PrintDoc.EXE <FILE_NAME> [<PRINTER>]


NOTE:
 - Parameters that contain spaces must be enclosed in ""
 - Version 2.0 accepts wildcards for the <FILE_NAME> parameter.
   (in v. 1.0 this could be achieved by using a form of standard "for" command.)

 

By downloading this software you are accepting this License.

Download (~65k): Print Document