rreHardcopyPrintPDF |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | rreHardcopyPrintPDF <pdfFile>, <jobName>, [<fromRect>]
|
Associations | rrehardcopy |
Summary | This handler presents the standard printing interface controller, offering to print the given PDF file with the specified job name.
|
Introduced | 8.0 |
OS | ios |
Platforms | mobile |
Example | command PrintDocument pFilePath
if rreHardcopyIsAvailable() then
rreHardcopyPrintPDF pFilePath, "Print Document", the rect of the target
switch the result
case "printing cancelled"
case ""
break
default
answer "There was a problem printing the document:" & return & the result
end switch
else
answer "Printing is not available on this device"
end if
end PrintDocument
|
Values | Name | Type | Description |
---|
return | | one of:
- empty - if there were no issues printing
- "printing not available"
- "file does not exist"
- "cannot print that file"
- "printing cancelled"
- "printing failed"
|
|
Description | This handler presents the standard printing interface controller, offering to print the given PDF file with the specified job name.
|
Tags | externals |