PrinterPNGCaps
Rendering and printing
Description
Reports whether a printer device context accepts PNG-compressed pass-through data
The probe sends the driver the CHECKPNGFORMAT escape used by the compressed raster paths
Syntax
Delphi
Function PrinterPNGCaps(PrinterDevice: HDC): Boolean;Parameters
| PrinterDevice | Device context of the printer to probe |
|---|
Return values
| False | The driver rejects PNG pass-through data or the probe fails |
|---|---|
| True | PNG pass-through data can be sent to this device |
Remarks
These helpers exist only on Windows; the non-Windows stubs report no support and print nothing
See also
PrinterJPEGCaps, PrinterStretchDIBCaps, PrintRaw24BitBGRData