winspool.drv: Allow spooling directly to a postscript file.

Required for PDF printing in OrCAD 16.6.
This commit is contained in:
Erich E. Hoover 2015-08-25 16:44:18 -06:00 committed by Alexandre Julliard
parent 42724f3d50
commit 126f0601e2
1 changed files with 5 additions and 0 deletions

View File

@ -8432,6 +8432,11 @@ BOOL WINAPI ScheduleJob( HANDLE hPrinter, DWORD dwJobID )
{
ret = schedule_file(job->filename);
}
else if(isalpha(portname[0]) && portname[1] == ':')
{
TRACE("copying to %s\n", debugstr_w(portname));
ret = CopyFileW(job->filename, portname, FALSE);
}
else
{
FIXME("can't schedule to port %s\n", debugstr_w(portname));