![]() |
![]()
| ![]() |
![]()
NAMEdtprintinfo — the CDE Print Viewer SYNOPSISdtprintinfo [-p &<printer | > | -all | -populate | -help ] DESCRIPTIONThe Print Viewer program provides a graphical interface that displays the status of print queues and print jobs. Additional information about print queues or print jobs can be retrieved within the interface, individual print queue labels and icons can be customized, and individual print jobs can be canceled. Print jobs can be submitted by dragging files, text, or attachments from other CDE programs and dropping them on a print queue icon in a Print Viewer window. KEY SUPPORTED TASKS
NO OPTIONSWhen the Print Viewer is started without any options, it shows the LPDEST printer or the system default printer if LPDEST is not set. OPTIONS-p &<printer>Display information only for the specified &<printer>. -allDisplay information for all printers. -populateThe -populate option is available only for root. This option creates default printer actions for all printers in /usr/local/dt/etc/appconfig/types/LANG. If LANG is not defined, the actions are created in /usr/local/dt/etc/appconfig/types/C. The post-installation process uses the -populate feature to create default printer actions in /usr/local/dt/etc/appconfig/types/C. -helpDisplay command line option help. -session &<session_file>The Print Viewer creates a session file when you exit the desktop. When you start the desktop again, the Print Viewer uses the session file specified in the session_file parameter to restore the view settings, which printers are shown and which printers are opened. RESOURCESThe Print Viewer does not defined any application specific resources. ENVIRONMENTLPDESTThis environment variable determines which print queue to display when the Print Viewer is started without any options. XMICONSEARCHPATHThis environment variable determines which icon folders to search when customizing a printer's icon set. BROADCAST MESSAGESThe Print Viewer responds to ReloadActions messages and sends a ReloadActions message when you customize a printer's icon name or icon set. WARNING MESSAGES- Are you sure you want to cancel &<job>? - The Print Viewer displays a prompt before a print &<job> is canceled. EXIT STATUSThe following exit values are returned:
EXAMPLESdtprintinfoDisplay the status of the LPDEST printer or the system default printer. dtprintinfo -p lp0Display the status of the print queue called lp0. dtprintinfo -allDisplay the status of all print queues. RELATED INFORMATIONCDE Print Specific ActionsTwo print specific actions are created for each printer on the system. These actions are defined in &<printer>.dt files located in /usr/local/dt/etc/appconfig/types/$LANG. &<printer>_PrintThis action displays the status of the print queue specified by the &<printer> parameter. &<printer>_Print &<file>This action invokes the Print action for the &<file> on the printer specified by the &<printer> parameter. FILESdtprintinfoExecutable file. This file is located in /usr/local/dt/bin. DtprintinfoApplication defaults file. This file is located in /usr/local/dt/app-defaults/$LANG. print.dtCDE Print action definition file. This file is located in /usr/local/dt/appconfig/types/$LANG. &<printer>.dt (Global actions)The Print Viewer stores a &<printer>.dt action file for each printer on the system. These files are located in /usr/local/dt/etc/appconfig/types/$LANG. &<printer>.dt (customized actions)The Print Viewer stores a &<printer>.dt action file for each customized printer. These files are located in the $HOME/.dt/types. dtprintinfo.catMessage catalog. This file is located in /usr/local/dt/lib/nls/msg/$LANG. Printmgr.sdl, PM*.tif, PM*.pmHelp files. These files are located in /usr/local/dt/appconfig/help/$LANG and /usr/local/dt/appconfig/help/$LANG/graphics. SEE ALSOdtlp(1),dtprintinfoaction(5)
|