Navigation:  thinBasic Modules > XPRINT >

XPRINT_Attach

Previous pageReturn to chapter overviewNext page

 

Description

 

Send a message to a dialog.

 

Syntax

 

XPRINT_Attach(PrinterName [, JobName] )

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

PrinterName

String

No

Name of the printer to attach.

There are 2 special PrinterName: "CHOOSE" and "DEFAULT". See Remarks.

JobName

String

Yes

Name of the spool job

 

Remarks

 

There are 2 special printer names: "CHOOSE" and "DEFAULT":

if "CHOOSE" is specified, the standard printer selection dialog box will be shown to let user to select preferred printer.
if "DEFAULT" is specified, the current default printer is selected.

 

Restrictions

 

See also

 

Examples