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.
Printing Problem
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm