forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclose-printing.lcdoc
More file actions
54 lines (38 loc) · 1.36 KB
/
close-printing.lcdoc
File metadata and controls
54 lines (38 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Name: close printing
Type: command
Syntax: close printing
Summary:
Sends the current <print job> to the printer.
Introduced: 1.0
OS: mac, windows, linux, ios
Platforms: desktop, mobile
Security: printing
Example:
close printing
Example:
if tPrinting is "complete" then close printing
Example:
open printing
repeat with x = 1 to the number of cards
print card
end repeat
close printing
Description:
Use the <close printing> <command> to print <card(object)|cards> that
you've <selected> with the print card <command>.
If you use <print> after the <open printing> <command>, the
<card(object)|cards> you print are saved up to be printed as a single
batch. The <close printing> <command> prints out this batch of
<card(object)|cards>, enabling you to print multiple
<card(object)|cards> on a page.
If no <print> <card(keyword)> <command|commands> have been
<execute|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 box|dialog>, you don't need to issue a <close printing>
<command>.
References: print (command), close (command), open printing (command),
cancel printing (command), dialog box (glossary), print job (glossary),
command (glossary), execute (glossary), card (keyword), card (object),
selected (property)
Tags: printing