Skip to content
Snippets Groups Projects
Commit 044f028f authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Brian Pirie

Added support for PASSTHROUGH and POSTSCRIPT_PASSTHROUGH escapes.
parent 0062892c
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,8 @@ INT PSDRV_Escape( DC *dc, INT nEscape, INT cbInput,
case SETCHARSET:
case EXT_DEVICE_CAPS:
case SET_BOUNDS:
case PASSTHROUGH:
case POSTSCRIPT_PASSTHROUGH:
return TRUE;
default:
......@@ -246,6 +248,17 @@ INT PSDRV_Escape( DC *dc, INT nEscape, INT cbInput,
return 0;
}
case PASSTHROUGH:
case POSTSCRIPT_PASSTHROUGH:
{
/* Write directly to spool file, bypassing normal PS driver
* processing that is done along with writing PostScript code
* to the spool.
*/
return WriteSpool16(physDev->job.hJob, ((char *)lpInData) + 2,
cbInput);
}
default:
FIXME("Unimplemented code 0x%x\n", nEscape);
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment