How To Print 5 by 8 Index Cards

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

Post Reply
idenr
Posts: 4
Joined: Tue Apr 29, 2008 12:02 am

How To Print 5 by 8 Index Cards

Post by idenr » Tue Nov 22, 2016 6:38 pm

I'm having a lot of trouble getting my stack to print on 5" by 8" index cards (Mac OS). For starters, there seems to be a large margin of white space that it wants to print above and to the left of the card information. This white space can changed by changing the printmargins property and it will appear to print to PDF correctly but when it goes to the printer it will print the bottom portion of the card but not the top. It's like it is trying to print the top of the card but the top is winding up off the page print area. I am sort of at a loss as to what to try next. Can anyone shed some light on how to get a card to print at 5"x8"? If I feed the printer letter size paper I can get it to print the card with the margins that I have set in the printmargins property. But when I try to make it print on a piece of letter size paper that has been cut in half I get the aforementioned problems. How does this work?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: How To Print 5 by 8 Index Cards

Post by dunbarx » Tue Nov 22, 2016 7:17 pm

Hi.

Have you tried printing with either its "from" or "into" parameters?

Craig Newman

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: How To Print 5 by 8 Index Cards

Post by capellan » Wed Nov 23, 2016 1:40 am

Hi All,

Does the stack "Print Setup" (from MC IDE) works with LiveCode?
I am sure this stack could help to solve this.

Al

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: How To Print 5 by 8 Index Cards

Post by jacque » Wed Nov 23, 2016 5:25 pm

You'll need to set up the printer parameters. Are you using the "answer printer" command?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: How To Print 5 by 8 Index Cards

Post by capellan » Thu Nov 24, 2016 12:23 am

Check the stack attached to this message
extracted from MC IDE. :)
Page Setup LC Stack.zip

idenr
Posts: 4
Joined: Tue Apr 29, 2008 12:02 am

Re: How To Print 5 by 8 Index Cards

Post by idenr » Mon Dec 26, 2016 4:46 pm

Thank you all for the help. I found that by using the percentage reduction in the page setup dialog and by defining a custom page size I was able to print out almost the whole card (if I didn't reduce the size of the print it would be too big for the card even if in the print dialog I chose fit to page). Also helpful is the printmargins property which by default is one inch but can be reduced by set the printmargins top,left,bottom,right command in the message box.

Post Reply