This is my first post. Normally I find answers to my questions through this board, but this has been stumping me for several days.
I have a stack that contains a scrolling group that -- depending upon the monitor -- can be larger than the screen display. On larger displays the process of locking the screen, enlarging the stack, and printing the appropriate area of the card works fine. But on smaller screens the printout ends up being only as large as my screen. How do you print a scrolling group that is larger than the screen? It probably is a simple answer, but I can't find any mention of a similar instance anywhere.
John
Printing a large card
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Printing a large card
Ok so I will rephrase this.
Create a group of objects. That group of objects should have a height greater than the screen height. Apply the group scroll bars so the group will scroll. Apply the correct geometry so that the group will scroll when the window is resized, allowing the user to interact with off screen objects through scrolling.
Create a print routine so that the entire card can be print, albeit scaled, onto a single sheet of paper.
What would that print routine look like?
My effort was to:
1. lock the screen
2. enlarge the window to a size that allowed all the objects to be seen if the screen was large enough
3. set the correct print scale
4. print the card from x to y
When I do that, only the portion that would be seen on screen prints. And when i test on different size monitors, the monitors large enough print it all, but those that aren't print only the depth of the card that matches the screen depth.
Can a card larger that the screen rect be printed without clipping?
John
Create a group of objects. That group of objects should have a height greater than the screen height. Apply the group scroll bars so the group will scroll. Apply the correct geometry so that the group will scroll when the window is resized, allowing the user to interact with off screen objects through scrolling.
Create a print routine so that the entire card can be print, albeit scaled, onto a single sheet of paper.
What would that print routine look like?
My effort was to:
1. lock the screen
2. enlarge the window to a size that allowed all the objects to be seen if the screen was large enough
3. set the correct print scale
4. print the card from x to y
When I do that, only the portion that would be seen on screen prints. And when i test on different size monitors, the monitors large enough print it all, but those that aren't print only the depth of the card that matches the screen depth.
Can a card larger that the screen rect be printed without clipping?
John
Re: Printing a large card
It just occurred to me that even though the right side and the bottom of the scrolling group were bound by geometry to the right and bottom of the stack window, the group might not be resizing with out being forced to.
So, in addition to growing the window beyond the screen limits, I grew the scrolling group to the same size and....
It worked!
However, I had to force the scrolling group to a hard size (2000,2000 -- which was the size I grew the stack to). Simply setting the rect of the group to the rect of the stack did not work.
Anyway, even though I finally figured this out, I hope posting the solution keeps someone from having to go through all the headaches I went through.
John
So, in addition to growing the window beyond the screen limits, I grew the scrolling group to the same size and....
It worked!
However, I had to force the scrolling group to a hard size (2000,2000 -- which was the size I grew the stack to). Simply setting the rect of the group to the rect of the stack did not work.
Anyway, even though I finally figured this out, I hope posting the solution keeps someone from having to go through all the headaches I went through.
John