Re: Printing in the thermal Receipt
Posted: Tue Oct 17, 2023 12:28 pm
Yes, it does not explain the technical background of the strange syntax, just to use it this way.
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
richmond62 wrote: Tue Oct 17, 2023 11:51 am Screen Shot 2023-10-17 at 1.47.54 pm.png
-
The purpose of that field is to sort out the font formatting.
READ the script in the button.
The revPrintReport command is equivalent to clicking "Print Report" in the .
This is the entry for revPrintReport from LC 9.6.10 in plain textrichmond62 wrote: Tue Oct 17, 2023 2:55 pm Some of the information about printing is hard to understand:
The revPrintReport command is equivalent to clicking "Print Report" in the .![]()
Kind regardsrevPrintReport
Type
command
Syntax
revPrintReport
Summary
Prints a report from the report viewers on the current card.
Introduced
2.0
OS
mac, windows, linux
Platforms
desktop
Examples
revPrintReport
Related
command: print, revPrintField, revPrintText
glossary: report viewer, current card, command, Report Builder, error, standalone application, Standalone Application Settings, LiveCode custom library
library: Printing library
Description
Use the revPrintReport command to print a report that you have set up in the Report Builder.
Note: The Report Builder stack is no-longer supported but can still be used by manually launching the tool.
When you use the Report Builder to create a set of report settings, the settings are stored with the card. The revPrintReport command uses the settings specified in the Report Builder for the current card to print the report. If you have never used the Report Builder with the current card (and therefore there are no report settings to use), the revPrintReport command causes a script error.
The revPrintReport command is equivalent to clicking "Print Report" in the Report Builder.
Important: The revPrintReport command is part of the Printing library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Printing" library checkbox is checked.