Re: Printing mystery
Re: Printing mystery
- Subject: Re: Printing mystery
- From: Joseph Jones <email@hidden>
- Date: Mon, 17 Mar 2003 18:58:10 -0500
You can try setting the scale before you draw using NSAffineTransform.
This is what I do to scale my view based on user input in the print
info panel.
joe
On Monday, March 17, 2003, at 06:40 PM, James Pengra wrote:
Folks,
I'm writing a Cocoa document-based app which computes and
draws lines in a scrolled view. I would like to print out the view,
but when I do, I get only part of the picture, and it is highly
magnified. I've tried using the Print Setup to reduce the size, but
that seems to have no effect. Further, I get an incomplete printout,
that is, the oversized printout should give at least 4 or 6 pages, but
I always get only 2.
The bounds of my view are roughly twice the window size, so
there is twice as much of the view out of sight in both directions, as
shows in the window, unless I enlarge the window. All drawing in the
view is done through the drawRect: method of NSView.
How can I get it to print the whole view on a single sheet of paper?
I'm running a G4 AGP machine with OS 10.2.4 with an Epson 740 printer.
TIA, Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.