Page 1 of 1

Print card from 0,50 prints nothing on page

Posted: Wed Dec 16, 2015 4:53 pm
by jalz
Hi Guys,

I have the following code below. Im trying to print a card, 50 pixels/points down from the top. So found the "print card from" command which I though would work. However it just prints a blank page. Any ideas what I could be doing wrong? The "print card" command prints everything out and I'm trying to avoid to top.

Thanks
Jalz

Code: Select all

   open printing
   repeat with x = 1 to the number of cards
 
  --This works, prints the whole card    
   print card

   -- This does not work.
   print this card from 0,50 to 575,600
   end repeat
   close printing

Re: Print card from 0,50 prints nothing on page

Posted: Wed Dec 16, 2015 6:52 pm
by dunbarx
Hi.

I bet nothing is wrong.

What happens if you "print card x" from...?

Craig Newman

Re: Print card from 0,50 prints nothing on page

Posted: Wed Dec 16, 2015 7:00 pm
by jalz
Hi Craig,

Tried that, it just prints a blank page. Yet I know there is content in that printable area. In fact my whole page has got a number of objects dispersed all around the page, so it should catch something.

Thanks
Jalz

Re: Print card from 0,50 prints nothing on page

Posted: Wed Dec 16, 2015 8:40 pm
by dunbarx
Hi.

You are saying that:

Code: Select all

repeat with y = 1 to the number of cds
print cd y --or print from here to there
end repeat
Prints nothing? But if you navigate to a card and print (from here to there), you always get something?

Craig

Re: Print card from 0,50 prints nothing on page

Posted: Thu Dec 17, 2015 12:10 am
by jalz
Hi Craig, I think its working now…. thanks, time to do more testing