Re: Printing graphics question

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> 

>  atom pdc
>  atom sdc
>  pdc = getDC(Printer)
>  sdc = getDC(Screen)
>  FacX =   w32Func( xGetDeviceCaps, {pdc, LOGPIXELSX})/
>           w32Func(xGetDeviceCaps,{sdc,  LOGPIXELSX} )
>  
>  FacY = w32Func(xGetDeviceCaps,{pdc, LOGPIXELSY}) /
>         w32Func(xGetDeviceCaps,{sdc, LOGPIXELSY} )

Both FacX and FacY work out to 6.25.
If this is normal why have 2 factors?



> This code above is to be run *after* you have chosen the printer.
> 

I assume you mean junk=getPrinter()?

Don Cole
SF

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu