Printing in the thermal Receipt

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Printing in the thermal Receipt

Post by Klaus » 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.

lemodizon
Posts: 175
Joined: Thu Apr 05, 2018 3:33 pm

Re: Printing in the thermal Receipt

Post by lemodizon » Tue Oct 17, 2023 1:04 pm

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.

Hi richmond62.

I got it thank you. sorry I didn't tried to check in the dictionary.

thanks again 8)
Thank you & God Bless Everyone :wink:

Regards,
lemodizon

lemodizon
Posts: 175
Joined: Thu Apr 05, 2018 3:33 pm

Re: Printing in the thermal Receipt

Post by lemodizon » Tue Oct 17, 2023 1:06 pm

Hi richmond62 & Klaus,

Thanks for helping me out and guiding me to solved this. :wink:
Thank you & God Bless Everyone :wink:

Regards,
lemodizon

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Printing in the thermal Receipt

Post by richmond62 » Tue Oct 17, 2023 1:43 pm

The really funny thing is that after working with LC for 22 years I have NEVER printed anything from it, so today was the first time I have ever looked up anything to do with printing in the Dictionary.

It was both fun and a challenge to work out how to do what you wanted to do. :lol:

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Printing in the thermal Receipt

Post by richmond62 » Tue Oct 17, 2023 2:55 pm

Some of the information about printing is hard to understand:
-
Screen Shot 2023-10-17 at 4.53.20 pm.png
-
The revPrintReport command is equivalent to clicking "Print Report" in the .
:D

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Printing in the thermal Receipt

Post by Klaus » Tue Oct 17, 2023 3:28 pm

Please report this or it will never get fixed!

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4003
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Printing in the thermal Receipt

Post by bn » Tue Oct 17, 2023 9:01 pm

richmond62 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 .
:D
This is the entry for revPrintReport from LC 9.6.10 in plain text
revPrintReport
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.
Kind regards
Bernd

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Printing in the thermal Receipt

Post by richmond62 » Tue Oct 17, 2023 9:22 pm

And qhat is that supposed tae tell us?

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”