Skip navigation.
 
mlRe: Rotating an NSView before printing
FROM : Matt Neuburg
DATE : Sat Apr 28 18:27:11 2007

On Sat, 28 Apr 2007 09:16:30 -0400, "James Williams" <<email_removed>>
said:
>silly, I'm trying to write a program to create and print envelopes


>Unfortunately, when I draw it to the printer, it's oriented wrong. My little
>ink jet prints envelopes long ways, so I need to rotate what I'm printing by
>90 degrees around the center in a clockwise direction


I've written an envelope-printing program, and my printer, too, prints
envelopes "long ways"; but I didn't find any need to rotate anything. When
the user chooses File > Print Setup, the dialog presents an opportunity to
perform the rotation. Thus there is no need for the code to do anything
different; the transform is taken care of for you by the printing
architecture. m.

--
matt neuburg, phd = <email_removed>, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>

Related mailsAuthorDate
mlRotating an NSView before printing James Williams Apr 28, 15:16
mlRe: Rotating an NSView before printing Matt Neuburg Apr 28, 18:27
mlRe: Rotating an NSView before printing Buddy Kurz Apr 28, 19:14