Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Dec 15, 2017 5:19 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Printing on a Canvas
PostPosted: Sat Feb 16, 2013 2:37 am 
Offline

Joined: Tue Aug 29, 2006 4:04 am
Posts: 513
Location: Indonesia
Hi..

I'm using Alex's Listbox printer to print a listbox.
Everything works fine if the rows is less than 20. Because I'm also do printing the label too using a canvas, like what alex's did in the listbox printer sample.

if I want to print more than 100 rows, it will be printed on more than a paper.
My goals is I want to add my signature on the last page. How to determine it.?
some sample would be great help.


thanks

Regards,
Rivo


Top
 Profile  
Reply with quote  
 Post subject: Re: Printing on a Canvas
PostPosted: Sat Feb 16, 2013 2:52 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
total pages = ceil(total_labels / max_labels_per_page)

when you run out of labels to print you must be on the last page.... if there is enough room left put your signature, otherwise eject page and put signature on next page.

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
 Post subject: Re: Printing on a Canvas
PostPosted: Mon Feb 18, 2013 1:03 am 
Offline

Joined: Tue Aug 29, 2006 4:04 am
Posts: 513
Location: Indonesia
Hi DaveS,

Actually what I did is printing the content of a listbox and the label is needed to be printed as a header and footer.
I want to avoid the footer is printed on every page. just print it on the last page only.

thanks

Regards,
Rivo


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group