by Tim Rude (2 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)
This sample program graphically displays the physical size of the printer page, along with the unprintable margin areas and the printable page size. The code demonstrates the use of the GetDeviceCaps API call and using a combobox to allow user-selection of printer.
API DeclarationsGetDeviceCaps
Upload