[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting the printer page orientation
- To: info-mcl@ministry.cambridge.apple.com
- Subject: Setting the printer page orientation
- From: denis@logcam.co.uk (Denis Howlett)
- Date: Mon, 20 Dec 1993 11:16:52 GMT
- Followup-to: comp.lang.lisp.mcl
- Newsgroups: comp.lang.lisp.mcl
- Organization: Logica Cambridge
- Sender: news@carmen.logica.co.uk (News Manager Account)
Hello all (season's greetings, etc.),
I'd like to be able to set the printer page orientation from vertical to
horizontal programmatically.
I've had a look in print-u.lisp at cambridge.apple.com, but it isn't
something that is exported.
Since I don't want to do it for a particular fred file but for all printing
on a particular application, saving the whole thing as a resource attached
to a file doesn't quite work either.
I had a delve around the actual printer style structure and it appears that
there is a particular field that has the orientation, but when you change
this from the dialog, the height and width of the page (as well as loads
of other values) change too (i.e., it doesn't just use the orientation to
interpret the two values as either width or height).
Anyone come up with a simple way of doing this?
Thanks
Denis
------------------------------------------------------------------------------
|Denis Howlett |Email denis@logcam.co.uk
|
|Logica Cambridge Ltd |Tel: +44 223 66343
|
|104 Hills Road, Cambridge CB2 1LQ, UK |Fax: +44 223 322315
|
------------------------------------------------------------------------------