Search found 170 matches

by lemodizon
Tue May 25, 2021 2:50 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

Re: How to print in livecode.

jacque wrote:
Mon May 24, 2021 6:12 pm
Perfect! Well done.
Hi Jacque,

Thanks for the help again. Stay safe.
by lemodizon
Mon May 24, 2021 12:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

Re: How to print in livecode.

Hello Everyone, Good day. I did my practice today on how to print in livecode. Thanks for all the information I appreciated. thanks and stay safe everyone. on mouseUp answer printer lock screen set the printmargins to "0,0,0,0" --L,T,R,B 36=.5", 72=1" set the textFont of fld "data" of card "RTemplat...
by lemodizon
Sat May 22, 2021 1:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

Re: How to print in livecode.

What I mean is if there is a widget or control object from the tool palette for report builder or a form. Well, there used to be, but it was removed from the IDE a long long time ago... https://imgur.com/EaEcbA5.png However, if you wanted to try it in the current IDE, you can copy the file from Lc ...
by lemodizon
Fri May 21, 2021 5:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

Re: How to print in livecode.

Since every print job is different, there are no universal templates. But for your example it can be simple if you only need plain text. Just set the print margins to a smaller number and use revPrintText like you did before. put fld "data" of cd "receiptCard" of stack "ReceiptTemplate" into Box1 s...
by lemodizon
Fri May 21, 2021 5:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

Re: How to print in livecode.

wish livecode will include a control object for report builder. Hi. Not sure what this means. I need to practice to create a template. Nor this. Do you mean a "form" that you can call on at any time? Craig Hi Craig, sorry for the confuse What I mean is if there is a widget or control object from th...
by lemodizon
Thu May 20, 2021 2:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

Re: How to print in livecode.

Hi. Should just take a little practice to get going. Basically you can print text, a card or a field. Check out the "print" command in the dictionary, especially the fact that you can print into any rect. Also read about setting the "printScale", which I have found useful. Check out the several "re...
by lemodizon
Thu May 20, 2021 2:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

Re: How to print in livecode.

The default print margins are 1 inch on all sides. It looks like you need to change that. See the printMargins property in the dictionary. Most printers will have an area where they can't print so see if you an find out what that is and include that in your calculations. Try starting with a quarter...
by lemodizon
Thu May 20, 2021 2:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

Re: How to print in livecode.

Klaus wrote:
Wed May 19, 2021 2:59 pm
Does it work with -> revprintfield?

Code: Select all

...
revPrintField the name of fld "data" of cd "receiptCard" of stack "ReceiptTemplate" 
...
Or maybe just:

Code: Select all

...
print cd "receiptCard" of stack "ReceiptTemplate" 
...
Hi Klaus,

I will try this. thanks again.
by lemodizon
Wed May 19, 2021 2:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to print in livecode.
Replies: 16
Views: 8504

How to print in livecode.

Hello everyone, This is my first time to print in livecode but I'm still confused and i don't know if i'm doing the right steps. hope you can help me. i bought a receipt printer(china made) and the paper size is (57mm x 30meters) i set the size of the my substack (receiptTemplate) into 192px . The r...
by lemodizon
Mon May 17, 2021 3:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Password Protect a SQLite DB. Is this possible in livecode?
Replies: 2
Views: 2102

Re: Password Protect a SQLite DB. Is this possible in livecode?

Hi Mikey,

Thanks for the information. how about on desktop/laptop is this applicable to set a password just like other database like msaccess i think you can set a password so that no one can access the database.
by lemodizon
Mon May 17, 2021 11:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Password Protect a SQLite DB. Is this possible in livecode?
Replies: 2
Views: 2102

Password Protect a SQLite DB. Is this possible in livecode?

Hello everyone,

Good day.

I want to try if Livecode can encrypt a certain/set a password on a database on SQLite i saw this code below from other programming language (C#) but i don't know if this will work on livecode.
by lemodizon
Thu Mar 18, 2021 2:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Webcam capture in livecode
Replies: 15
Views: 7387

Re: Webcam capture in livecode

Hi all I have put together a small lesson on using the cameraControl, as noted before it does require Indy or Business. Please let me know if the lesson is not clear or anything does not work as expected. https://lessons.livecode.com/m/4071/l/1380409-using-the-cameracontrol I have also added a bug ...
by lemodizon
Wed Mar 17, 2021 2:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Webcam capture in livecode
Replies: 15
Views: 7387

Re: Webcam capture in livecode

richmond62 wrote:
Tue Mar 16, 2021 4:24 pm
Dunno:

https://livecode.byu.edu/video/videoGrabber.php
Hi Richmond62,

Thanks for the link I will try it hope this will work in community version.
by lemodizon
Wed Mar 17, 2021 2:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Webcam capture in livecode
Replies: 15
Views: 7387

Re: Webcam capture in livecode

elanorb wrote:
Tue Mar 16, 2021 7:10 pm
Hi lemodizon,

If you are using Indy or Business have a look at the cameraControl entry in the Dictionary.

Kind regards

Elanor
Hi Elanor,

I'm using the community version is this working (cameraControl) in the community version? Thanks
by lemodizon
Tue Mar 16, 2021 1:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Webcam capture in livecode
Replies: 15
Views: 7387

Webcam capture in livecode

Hello everyone,

I want to try livecode to capture a image via my webcam and i'm using windows is this possible in livecode?.
webcamcapture.JPG
I tried this sample stack but it doesn't work using my webcam.
videotest.JPG

Go to advanced search