Alaska Software Inc. - Getting Paper Size in Pixels from DC_printer
Username: Password:
AuthorTopic: Getting Paper Size in Pixels from DC_printer
Philip JacksonGetting Paper Size in Pixels from DC_printer
on Tue, 08 Mar 2011 10:11:31 +1300
I have a label printing routine which initialises a DC_Printer object 
(DCPRINT ON) which I then set the SIZE using DCPRINT SIZE which is in 
lines and columns.

I now need to start printing some graphics (lines and arcs) on this 
device but need the pixels.

oPrinter:PaperSize() is not a valid method under Express++ which is odd 
as I assumed it inherits from XbpPrinter.

How can I retrieve the paper size in pixels?

Cheers

Phil Jackson
Philip JacksonRe: Getting Paper Size in Pixels from DC_printer
on Wed, 09 Mar 2011 13:20:31 +1300
I used TopDown to get the paper size in the end from the same printer 
driver.

Cheers

Phil Jackson

On 3/8/2011 10:11 AM, Philip Jackson wrote:
> I have a label printing routine which initialises a DC_Printer object
> (DCPRINT ON) which I then set the SIZE using DCPRINT SIZE which is in
> lines and columns.
>
> I now need to start printing some graphics (lines and arcs) on this
> device but need the pixels.
>
> oPrinter:PaperSize() is not a valid method under Express++ which is odd
> as I assumed it inherits from XbpPrinter.
>
> How can I retrieve the paper size in pixels?
>
> Cheers
>
> Phil Jackson