Board index » delphi » Setting the bounding box in EPS

Setting the bounding box in EPS

Is there a way to set the bounding box in a print job that's going to
a Postscript printer set up to produce Encapsulated Postscript?
According to the documentation for Win 3.1, the SET_BOUNDS escape
would do this, but it doesn't appear to be supported when I call it in
D3 running under Win95.  I get a -1 error back, and GetLastError
returns a 2 (?).

Any suggestions?

Duncan Murdoch

 

Re:Setting the bounding box in EPS


Duncan,

Have you tried SetWindowExtEx and/or SetViewportExtEx? Just a possibility.

Quote
dmurd...@pair.com (Duncan Murdoch) writes:
>Is there a way to set the bounding box in a print job that's going to
>a Postscript printer set up to produce Encapsulated Postscript?
>According to the documentation for Win 3.1, the SET_BOUNDS escape
>would do this, but it doesn't appear to be supported when I call it in
>D3 running under Win95.  I get a -1 error back, and GetLastError
>returns a 2 (?).

--
Luke Webber

* Note: The opinions expressed by Luke Webber are in no way supported *
*       by his employers, Luke Webber Consulting Services             *

Re:Setting the bounding box in EPS


On 24 Mar 1998 16:14:13 +1100, l...@oberon.sub.net.au (Luke Webber)
wrote:

Quote
>Have you tried SetWindowExtEx and/or SetViewportExtEx? Just a possibility.

Thanks for the suggestion.  I just tried them, and they appear to have
no effect.

Duncan Murdoch

Other Threads