[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Page Size of HP-GL Device
- Subject: Re: Page Size of HP-GL Device
- From: davidf(at)dfanning.com (David Fanning)
- Date: Mon, 20 Dec 1999 12:15:31 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <385E789B.8D57751D@fsl.orst.edu> <MPG.12c82885839b14a29899c9@news.frii.com> <385E7C6E.C95A969A@fsl.orst.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:17803
Michael Lefsky (lefsky@fsl.orst.edu) writes:
> I think so- I set them to 0 to check and it didn't change the result.
I don't have any experience at all with the HPGL device,
but you have to be just a bit careful with offsets. In
PostScript, if you select Landscape mode and set the
Offsets to 0 your graphic would be off the PostScript
page and you would be staring at quite a few blank sheets
of paper coming off your printer before you figured it
out, probably. :-(
Try entering IDL fresh and then find out how IDL
normally does things:
IDL> Set_Plot, 'HP'
IDL> Help, /Device
IDL> Device, /Landscape
IDL> Help, /Device
This will give you some insight into how things work.
For example, in PostScript you would find that the
YOFFSET points in the negative X direction and the
XOFFSET points in the positive Y direction. *That's*
worth knowing!
Anyway, armed with some information you can start
fooling around a bit. I wouldn't make offsets 0,
usually, since I don't think devices can write
right to the edge of the page. Who knows what they
might do if you tried?
Sorry I can't offer more specific help.
Best Regards,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155