printtool(1)
NAME
printtool - OpenWindows tool for printing files
SYNOPSIS
printtool [ −P printer ] [ −v ] [ −? ]
AVAILABILITY
This command is available with the OpenWindows environment. printtool uses the OPEN LOOK Graphical User Interface (GUI). For more information about the OPEN LOOK GUI, refer to the OpenWindows Version 3.1 User’s Guide, the OPEN LOOK Graphical User Interface Functional Specification, and the OPEN LOOK Graphical User Interface Style Guide.
DESCRIPTION
printtool is a user interface to the lp(1), cancel(1), and lpstat(1) operating system printing functions.
printtool is an OpenWindows based XView application that uses the lp(1) command to print files. By specifying a filename, printer name, number of copies to be printed and any user specified filters, the user can print files, get status on files printed and remove files from a printer queue.
OPTIONS
printtool accepts all the generic tool arguments described in xview(7). In addition, it can accept these options:
−P printer
Send output to the named printer.
−v Show the version number and the usage message of this release of the printtool program.
−? Show the version number and the usage message of this release of the printtool program.
USAGE
printtool is part of the OpenWindows user environment. For a description of the basic concepts of OpenWindows, see the OpenWindows Version 3.1 User’s Guide.
The user must specify a filename in the ‘File:’ text field, choose a printer from the printer options and specify the number of copies to print. Selecting ‘Print’ prints the file. You can drag and drop a file from filemgr(1) onto an open printtool drop target or icon, instead of typing a name in the ‘File:’ text field. You can get the status of the printer queue with ‘Status’. To remove a printing job, you can select a job in the status window and then select ‘Stop Printing -> Selected Printing Job’. To remove all entries choose ‘Stop Printing -> All Print Jobs’.
A filter can be invoked interactively by first selecting the "Custom Filter" option in the printtool window, then entering the name of the filter in the space provided. For instance, the entry:
mp -l
will pass the file through the mp(1) filter with the landscape option selected. This is the equivalent of executing the following command line:
cat $FILE | mp -l | lp
RESOURCES
On startup, printtool uses the following resources:
Resource: deskset.printtool.checkinterval
Values: Status check interval (numeric)
Description This is the number of seconds between status checks on the printer. The default value is 10 seconds.
SEE ALSO
accept(1M), cancel(1), enable(1), filemgr(1), lp(1), lpadmin(1M), lpfilter(1M), lpstat(1), lpsystem(1M), pr(1), troff(1), plot(1B),
"About Print Tool" in the Help Handbook available through the Help option on the Workspace menu.
DIAGNOSTICS
See lpstat(1) diagnostics.
BUGS
See lp(1), lpstat(1) bugs.
SunOS 5.1 — Last change: 22 January 1993