Hi!
I'm using LiveCode to create report from MySQL everything work fine, except that I don't understand how can i print via "layout" like explain in the user guide <8.10.1 Printing a complex layout> page 287-288. I have a main stack name "Main", I've create an other new main stack name "Layout" with the 4 rectangles "header, body, footer1 and footer2", now i want to import into the header the logo and date... How can i manage it ??? do i have to create other stack or card ?? i try adding a new card with name "header graphics" with the logo but i have an error on code <set the defaultStack to stack "header graphics"> ?
can you help me please ???
Ben
Printing
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Printing
Here is an example.
The idea is to separate the stack where you get your data, and the stack where you print those data.
mainstack of the example : you type your data into fields
substack : a script paste those datas into the proper fields, with the layout (with other texts, images whatever) you want, and print the card
The idea is to separate the stack where you get your data, and the stack where you print those data.
mainstack of the example : you type your data into fields
substack : a script paste those datas into the proper fields, with the layout (with other texts, images whatever) you want, and print the card
- Attachments
-
- PRINT_EXAMPLE.zip
- (16.65 KiB) Downloaded 195 times