ImageGear Professional v18.2 > User Guide > Using ImageGear > Printing Images |
ImageGear provides a simple all-purpose printing function that will print any image to a graphics-capable printer. This function is:
Copy Code
|
|
---|---|
IG_dspl_image_print ( HIGEAR hIGear, DWORD dwGrpID, HDC hDC, BOOL bDirectToDriver ); |
This function prints a HIGEAR image to the current default printer according to the display parameter specified by dwGrpID group. There is a special group IG_GRP_DEFAULT_PRINT that can be used to print an image with the default print options.
In general, bDirectToDriver = FALSE gives you greater control of the printing process, while bDirectToDriver = TRUE gives you faster printing.
Note also that the functions IG_dspl_page_print(), IG_dspl_document_print(), and IG_dspl_document_print_custom() allow you to specify how to print a single image on a page, and how to print a list of images on a page, specifying how to place the images relative to the page's borders.