mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 11:19:58 +00:00
Brian Pirie
Added support for PASSTHROUGH and POSTSCRIPT_PASSTHROUGH escapes.
This commit is contained in:
parent
0062892c66
commit
044f028f0e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue