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

PrinterDeviceDevice context of the printer to probe

Return values

FalseThe driver rejects PNG pass-through data or the probe fails
TruePNG 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