HyperWorks Desktop

*AddPrinter()

Adds a printer to the dialog list.

*AddPrinter()

Adds a printer to the dialog list.

Previous topic Next topic No expanding text in this topic  

*AddPrinter()

Adds a printer to the dialog list.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

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

*BeginDefaults().

Comments

"Command2" is an optional argument used for printing the current TextView window.

See also

 

*BeginDefaults()

*SetDefaultPrinterOrientation()

*SetDefaultPrintRange()

*SetDefaultPrintStyle()

*SetDefaultPSFile()

List of Preference Statements