Posted: Sun Jan 05, 2003 11:15 pm
Restored from previous forum. Originally posted by neuro.
Hi everyone
I would like to do some printing in my application but I am unable to get some printer data.
I need the physical width and height of the page but PB only gives the size of the printable area. I need it to get the correct DPI value, and to scale the texts correctly. Windows API has the GetDeviceCaps function but I am unable to use it. It needs a handle to the device but PB doesn't seem to give it.
If anybody has any idea please let me know.
Hi everyone
I would like to do some printing in my application but I am unable to get some printer data.
I need the physical width and height of the page but PB only gives the size of the printable area. I need it to get the correct DPI value, and to scale the texts correctly. Windows API has the GetDeviceCaps function but I am unable to use it. It needs a handle to the device but PB doesn't seem to give it.
If anybody has any idea please let me know.