Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Commands

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

open report printing

open report printing
open report printing with dialog
open report printing ¬
     with template text
where text is the name of a report template in the current stack.
The open report printing command begins the process of printing a stack (or part of a stack) as a report. It uses the current settings from the Print Report dialog box. You must use the close printing command to end a job begun with open report printing.

If you specify the with dialog option, HyperCard displays the Print Report dialog box and the user can choose new settings. If you specify the with template option, HyperCard prints the stack with the named report template.

HyperCard sets the function the result to Cancel if the user clicks Cancel in the dialog box, to no such report template if you specify a template that doesn’t exist, or to empty in all other cases.


Placeholders

text
An expression that evaluates to a text string.

A text expression can be a literal string surrounded by quotation marks or the value of a container.

For example:

"Hello"
"The sum is:" && 3
card field 1
line 1 of bg fld "Address"
the Message box
the selection
myVar -- a variable
See also: background, bkgnd, button, card, field, menu, menuItem, and stack

Related Topics

« open printing | HyperTalk Reference | play »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Commands

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

open report printing

open report printing
open report printing with dialog
open report printing ¬
     with template text
where text is the name of a report template in the current stack.
The open report printing command begins the process of printing a stack (or part of a stack) as a report. It uses the current settings from the Print Report dialog box. You must use the close printing command to end a job begun with open report printing.

If you specify the with dialog option, HyperCard displays the Print Report dialog box and the user can choose new settings. If you specify the with template option, HyperCard prints the stack with the named report template.

HyperCard sets the function the result to Cancel if the user clicks Cancel in the dialog box, to no such report template if you specify a template that doesn’t exist, or to empty in all other cases.


Placeholders

text
An expression that evaluates to a text string.

A text expression can be a literal string surrounded by quotation marks or the value of a container.

For example:

"Hello"
"The sum is:" && 3
card field 1
line 1 of bg fld "Address"
the Message box
the selection
myVar -- a variable
See also: background, bkgnd, button, card, field, menu, menuItem, and stack

Related Topics

« open printing | HyperTalk Reference | play »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View