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 printing

open printing [with dialog]

The open printing command begins a print job. It uses the current settings from the Print Stack dialog box.

If you specify the with dialog option, HyperCard displays the Print Stack dialog box, and the user can choose new settings. HyperCard sets the result to Cancel if the user clicks Cancel; otherwise, it sets the result to empty.



You must use the close printing command to end a print job begun with open printing.


Examples

on printRange start,total
   -- print a range of cards from some start card
   push card  
   open printing  
   go to card start  
   print (total-start) + 1 cards  
   close printing  
   pop card  
end printRange

Related Topics

« open file | HyperTalk Reference | open report printing »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View