Mark, 

Thank you very much for the suggestions.

If I print to 8.5x11 paper, I can use the following code to print the postcard 
full page landscape mode.

on mouseUp
   set the printPaperOrientation to "landscape" 
   put 18 into myMargin
   put myMargin,myMargin,item 2 of the printPapersize - myMargin,item 1 of the 
printPapersize - 72 into myPrintRect
   print this card into myPrintRect
end mouseUp

If I am in the IDE and do a Print Card so that I can set the Tray to Tray 1 
which has the 4.5x6 inch postcards, when it prints, it puts the card into the 
bottom left quadrant of the postcard. If I change the tray to autoselect, and 
set the Page Setup to “postcard”, it prints centered on the bottom third of the 
postcard.

If I manually set the print area (notice Top is a negative number) it prints 
onto the postcards on tray 1. 

   print card from 10,10 to 413,287 into 0,-255,780,255

Setting a negative Top parameter seems to have done the trick. Weird. Thanks 
for the suggestions, it wasn’t the solution but it did get me thinking and 
experimenting in ways I didn’t do yesterday. 

Thanks,
Kee




On Aug 14, 2014, at 1:03 PM, Mark Schonewille 
<m.schonewi...@economy-x-talk.com> wrote:

> Hi Kee,
> 
> I'm in a hurry actually, so I don't have time to read everything carefully 
> right now, but I do something like this:
> 
> put 72 into myMargin
> put myMargin,myMargin,item 2 of the printPapersize - myMargin,item 1 of the 
> printPapersize - 72 into myPrintRect
> print this card into myPrintRect
> 
> This should be for landscape format. You can change the margin. Feel free to 
> send me an e-mail if this doesn't work for you.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Installer Maker for LiveCode:
> http://qery.us/468
> 
> Buy my new book "Programming LiveCode for the Real Beginner" 
> http://qery.us/3fi
> 
> LiveCode on Facebook:
> https://www.facebook.com/groups/runrev/
> 
> On 8/14/2014 21:11, kee nethery wrote:
>> I’m printing postcards onto individually cut postcards and they are a custom 
>> paper size (4.25 x 6 inches). The stack displays the postcard text in 
>> landscape mode but the postcards go into the printer in portrait orientation 
>> (smallest edge gets sucked into the printer). Normally I’d set landscape 
>> mode and fit to page size, make sure I’d selected the postcard size and 
>> print. Worked great only now it doesn’t. It seems that whatever code is 
>> printing is ignoring the landscape mode when printing to fit the paper size.
>> 
>> If I print without the “fit paper size” it will actually print landscape 
>> mode but it prints around 1/4th the normal size as if it has decided the 
>> postcard is actually the size of 8.5x11 paper and scales the image down 
>> accordingly.
>> 
>> I’ve tried making the stack larger to compensate and it just prints it 
>> larger but from the same starting point on the page so most of the text ends 
>> up off the edge of the postcard.
>> 
>> I’m using Mac OS X 10.9.4 and I’ve tried it with LiveCode 6.6.2 and Livecode 
>> 5.5.4
>> 
>> I did figure out a way to print through a bunch of trial and error but when 
>> I moved that recipe to another’s machine, it prints in the wrong place on 
>> the postcard.
>> 
>> Is there someone out there with printer foo who I can hire to fix this for 
>> me?
>> 
>> Kee Nethery
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to