close printing

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
close printing
Summary

Sends the current print job to the printer.

Introduced1.0
OSmac, windows, linux, ios
Platformsdesktop, mobile
Example
close printing
if tPrinting is "complete" then close printing
open printing
repeat with x = 1 to the number of cards
   print card
end repeat
close printing
RelatedKeyword: card
Property: selected
Command: print, close, open printing, cancel printing
Object: card
Glossary: dialog box, print job, command, execute
Securityprinting
Description

Use the close printing command to print cards that you've selected with the print card command.

If you use print after the open printing command, the cards you print are saved up to be printed as a single batch. The close printing command prints out this batch of cards, enabling you to print multiple cards on a page.

If no print card commands have been executed since the open printing command, the close printing command prints a blank page. If you used the form of the open printing command, and the user canceled the dialog, you don't need to issue a close printing command.

Tagsprinting