comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Strange PRINTER Coordinates
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Strange PRINTER Coordinates [message #20904 is a reply to message #20883] Mon, 31 July 2000 00:00 Go to previous messageGo to previous message
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
David Fanning wrote:
* * *
> In fooling around with it for awhile (I won't tell you
> how long I fooled around with it for fear of losing whatever
> programming reputation I have), I discovered that the
> (0,0) point for calculating page offsets was a quarter
> of an inch in from the edge of the paper!

This makes me feel bad. I can see David is making his output to fall
presicely where it needs to be. I am happy when I can see at least a
fraction of what I need somewhere in the corner of the printout. It
indicates to me that I have a hope of getting it all into a
comprehensible file for future positioning using Adobe or Canvas :-(

> This makes sense, sort of, since a laser printer
> (I have a Lexmark Optra S 1250 PostScript Laser printer)
> can't print on the outside quarter inch of the page
> anyway, but it is not documentable anywhere that I
> could find.

I have always had a strange feeling about it. IDL is not as gentle to
printers, as, lets say, Word, which will always propose "printable
margins" (which have little to do with printer capabilities, because it
puts them in even for my Lexmark inkjet that has none).

> The solution I finally ended up with is to subtract
> 0.25 inches from whatever offset I think I want when
> I use the PRINTER device. This gives me perfectly
> centered output.

Not on my LaserJet HP 5MP. Even then, the frame from the sample code is
off by 0.2". Sorry. I could try other departmental printers but I am
afraid this will introduce more noise in the 0.25 +- 0.25" existing so far.

> Is this box centered on your printer? What printer?
> What version of IDL? If it is not centered, does
> subtracting 0.25 from each offset help?

Not exactly, as I said above. Forget vertical positionong, that one's
off by 1".

Cheers,
Pavel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: calling a function in herself
Next Topic: Re: beginners guide to widgets?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 16:05:57 PDT 2025

Total time taken to generate the page: 0.88271 seconds