PrinterJPEGCaps

Rendering and printing

Description

Reports whether a printer device context accepts JPEG-compressed pass-through data

The probe sends the driver the CHECKJPEGFORMAT escape used by the compressed raster paths

Syntax

Delphi

Function PrinterJPEGCaps(PrinterDevice: HDC): Boolean;

Parameters

PrinterDeviceDevice context of the printer to probe

Return values

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

PrinterPNGCaps, PrinterStretchDIBCaps, PrintRaw24BitBGRData