Hello
recently used livecode and I have a problem with printing.
I noticed that there is not a report editor, if I print a card, left margin and top margin does not correspond to 0.0 as I have set with the appropriate command but start at 50.50 or more
It would be useful to an editor of prints that could be used by the end user, such as Jasper Reports and other
Is there any example of how to print a report in Live Code, the ones I found could be used to my 5 year old daughter but an application to distribute the versatility of the prints is essential
Thanks for the tips
Mimmo
Report Builder
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 281
- Joined: Sat Jun 04, 2011 5:41 pm
- Location: Switzerland
Re: Report Builder
Hi Mimmo,info26 wrote:Hello
...
It would be useful to an editor of prints that could be used by the end user, such as Jasper Reports and other
...
get a look here : http://users.telenet.be/quartam/reports/index.html ... it's allow you to design report as you like and to get data directly from databases ...
Guglielmo
-
- VIP Livecode Opensource Backer
- Posts: 7235
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Report Builder
0,0 is the top left of the area the printer supports. Most printers can't print to the entire page and will leave 1/4" at the sides and half inch at the top. It is very rare to find a printer that will print less than 1/2" from the top. That 1/2" is the zero point of the top margin.info26 wrote:if I print a card, left margin and top margin does not correspond to 0.0 as I have set with the appropriate command but start at 50.50 or more
Also, if the objects on your card are inset from the edges, then the inset amount will also appear to be blank.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Report Builder
Hello
LiveCode but I am new to several years of experience with other tools and I know that the print area starts at about 1/2 cm from the edges and bottom even more, but in the case of the 0.0 Live code corresponds to 200.100 page
See the attachment
LiveCode but I am new to several years of experience with other tools and I know that the print area starts at about 1/2 cm from the edges and bottom even more, but in the case of the 0.0 Live code corresponds to 200.100 page
See the attachment
-
- VIP Livecode Opensource Backer
- Posts: 7235
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Report Builder
The attachment didn't work (you may not have enough posts yet to attach files.) Where on the card are the objects? For a true margin, you must move everything to the edges of the card. I.e., the topleft of the first object must be at 0,0. If you are using a menu group, that position will be under the menus.
Because this is not usually pleasing on screen, it is common to use a separate printing stack that has the fields at the far left and top edges.
You could also experiment with printing into a rectangle; that allows some control over margins without creating a separate printing stack. There are extensive commands and functions for printing, the dictionary lists them. The default "print this card" doesn't give much control.
Or take a look at Jan Schenkel's utility, it does the work for you.
Because this is not usually pleasing on screen, it is common to use a separate printing stack that has the fields at the far left and top edges.
You could also experiment with printing into a rectangle; that allows some control over margins without creating a separate printing stack. There are extensive commands and functions for printing, the dictionary lists them. The default "print this card" doesn't give much control.
Or take a look at Jan Schenkel's utility, it does the work for you.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com