Re: Printing graphics question
- Posted by don cole <doncole at pacbell.net> Dec 19, 2004
- 431 views
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