[comp.sys.amiga.tech] Another pinter question

gay@elde.epfl.ch (David Gay) (03/30/89)

Now that I know how to change the printer prefs (Thanks!), I have one more
question:

How can I work out the maximum size for a graphic dump ? If I send a DUMPRPORT
request with SPECIAL_NOPRINT, SPECIAL_FULLCOLS and SPECIAL_FULLROWS, it sets
io_DestCols & io_DestRows, but adjusts them so that the ratio of my RastPort is
preserved. Is there any way round this ? If not, any easy way to work these
out from the returned values ? (I want the margins, left offset, etc to be taken

into account of course.)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Gay                                  6 x 9 = 42

GAY@ELDE.EPFL.CH, or GAY%ELDE.EPFL.CH@CLSEPF51.bitnet

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

daveb@cbmvax.UUCP (Dave Berezowski) (03/30/89)

In article <890329170226.20401ec5@elcc.epfl.ch> gay@elde.epfl.ch (David Gay) writes:
>Now that I know how to change the printer prefs (Thanks!), I have one more
>question:
>
>How can I work out the maximum size for a graphic dump ? If I send a DUMPRPORT
>request with SPECIAL_NOPRINT, SPECIAL_FULLCOLS and SPECIAL_FULLROWS, it sets
>io_DestCols & io_DestRows, but adjusts them so that the ratio of my RastPort is
>preserved. Is there any way round this ? If not, any easy way to work these
>out from the returned values ? (I want the margins, left offset, etc to be taken
>
>into account of course.)
>
	There are many ways to do what you want.  The simplest way is to
set io_DestCols and io_DestRows to some enormus value (like 5000).  The printer
device will chop these numbers down so that they fit on the paper.  Another
way would be to set these values explicitly in preferences (on the 2nd printer
graphic screen) under the Limits heading of Pixels.