> 
> hello everyone,
> 
> -I really need some help on how to print 2 cards onto
> 1 page of an A4 or letter size paper
> 
> -The 2 cards I have are with the rect of 0,0,640,460
> each.
> 
> -I've set the printmargin to 36,36,36,36 from within a
> script
> 
> -I've even set the margin to all sides 36,36,36,36
> (points) from the page setup menu item.
> 
> -I've tried open printing but the result was:
> 
> both cards got truncated at the right side (at least 1
> inch), and the bottom of the second cards got cut off
> by an inch or so.
> 
> i feel like i m running into something i don't have
> any ideas of, or obviously  there's something totally
> wrong that i did...Any help is greatly appreciated. 
> Thank you.
> 
> -RY
> 

Here is a script I use to print several cards at once one per page.  You
will want to modify it to suit your needs.  To print two cards per page you
will have to print two cards between the "open printing" and "close
printing".  You would also have to adjust the printScale to account for two
images per page instead of one.  Also take a look at and account for
"printGutters" for how much space to be kept between the images when you
calculate the printScale.  I think the key for you might be the calculation
and use of printScale.  The value for printScale will need to take into
account whether you are printing two across or two down the page.

  put cd field "Print List" of wd "test window" into list
  if list is not empty then
    answer printer
    if the result is not "Cancel" then
      # Try to use landscape.  It doesn't always work for me to use
printRotated.
      # I use the answer printer dialog to manually 
      # set the printer to landscape mode
      set printRotated to true  
      set printRowsFirst to true
      set printMargins to 36,36,36,36
      # landscape page width = 11 inches.  Use correct value for A4 paper.
      # subtract left and right margins.  
      put 11 - ((item 1 of printMargins + item 3 of printMargins)/72) into
targetWidth
      # Modify the next line to account for twice the width of your card
plus 
      # the printGutters value
      set the printScale to targetWidth/(the width of this wd/72)
      open printing
      repeat while list is not empty
        put line 1 of list into begzone
        go cd begzone
        print this card
        delete line 1 of list
      end repeat
      close printing
      put "Done printing"
    end if
    choose browse tool

Larry Huisingh

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to