windowprint from oversize cards !?

Kresten Bjerg Kresten.Bjerg at psy.ku.dk
Fri Nov 11 10:17:01 EST 2005


I have been working sucessfully with a stack 3x3 screens wide. Have also organized users option for printing selected windows on the card, using a .70 printScale and printrotated.  It has been a lot of experimentation to reach working  coordinates for the windows, --but the 3 rightmost windows seems impossible to print in this way. (although they are nicely included when I print the whole card  at more reduced scale). Have I hit some undescribed bug ? - or can anyone point to another way of solving the problem.
I quoute the present handler:

on printwindow
  global phenowindow
  set the cursor to watch
  set the printmargins to 20,20,5,5
  set the printScale to .70
  set the printRotated to true
  if phenowindow is mainwindow then
    Print this Card from 1,20 to 1020,763
  end if
  if phenowindow is oikoswindow then
    Print this card from 730,0 to 2046,732
  end if
  if phenowindow is bodywindow then
    Print this card from 0,550 to 1009,1560
  end if
  if phenowindow is glyphwindow then
    print this card from 720,550 to 2060 ,1560
  end if
  if phenowindow is familywindow then
    print this card from 0,1100 to 1009,2320
  end if
  if phenowindow is environswindow then
    print this card from 750,1115 to 2040,2320
  end if
-----------------   it is only the following, which dont work:

  if phenowindow is gardenwindow then
    Print this card from 1756,30 to 2200,632
  end if
  if phenowindow is homewindow then
    print this card from 1756,550 to 2200,1560
  end if
  if phenowindow is workplacewindow then
    print this card from 1756,1115 to 2200,2320
  end if
end printwindow







More information about the use-livecode mailing list