Commit 126f0601 authored by Erich E. Hoover's avatar Erich E. Hoover Committed by Alexandre Julliard

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

Required for PDF printing in OrCAD 16.6.
parent 42724f3d
...@@ -8432,6 +8432,11 @@ BOOL WINAPI ScheduleJob( HANDLE hPrinter, DWORD dwJobID ) ...@@ -8432,6 +8432,11 @@ BOOL WINAPI ScheduleJob( HANDLE hPrinter, DWORD dwJobID )
{ {
ret = schedule_file(job->filename); 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 else
{ {
FIXME("can't schedule to port %s\n", debugstr_w(portname)); FIXME("can't schedule to port %s\n", debugstr_w(portname));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment