| Index: core/src/fxge/win32/fx_win32_device.cpp | 
| diff --git a/core/src/fxge/win32/fx_win32_device.cpp b/core/src/fxge/win32/fx_win32_device.cpp | 
| index 592886249be4379ee2075b18da4eb136249dfe07..2e2ea9a92b32635d53e24a3d94f1659f1882dabf 100644 | 
| --- a/core/src/fxge/win32/fx_win32_device.cpp | 
| +++ b/core/src/fxge/win32/fx_win32_device.cpp | 
| @@ -1156,6 +1156,11 @@ IFX_RenderDeviceDriver* CFX_WindowsDevice::CreateDriver(HDC hDC, FX_BOOL bCmykOu | 
| } else { | 
| device_class = FXDC_DISPLAY; | 
| } | 
| +#ifndef _FPDFAPI_MINI_ | 
| +    if (device_class == FXDC_PRINTER) { | 
| +        return FX_NEW CGdiPrinterDriver(hDC); | 
| +    } | 
| +#endif | 
| return FX_NEW CGdiDisplayDriver(hDC); | 
| } | 
| CFX_WinBitmapDevice::CFX_WinBitmapDevice(int width, int height, FXDIB_Format format) | 
|  |