*AddPrinter()
Adds a printer to the dialog list.
Syntax |
*AddPrinter("Name", "Command", "Command2") |
|
Arguments |
Names |
Description |
"Name" |
The name of the printer. |
|
"Command" |
Any legal UNIX print command. |
|
"Command2" |
A legal UNIX print command used to print a Text Edit window in Print Current Window mode. |
|
Example |
*BeginDefaults() *SetAutoSaveInterval(0) *SetDefaultPageLayout(1) *SetDefaultPSFile("data.ps") *AddPrinter("lj2", "lpr -Plj2") *SetDefaultPrinterOrientation(Landscape) *SetDefaultPrintStyle(Color) *SetDefaultPrintRange(Current) • • • |
|
Application |
MotionView, HyperView, HyperGraph, TextView, and MediaView. |
|
Context |
||
Comments |
"Command2" is an optional argument used for printing the current TextView window. |
|
See also |
|
|