From 126f0601e2e5e19dd7bff7af7b4ddb8dc3cb711f Mon Sep 17 00:00:00 2001 From: "Erich E. Hoover" Date: Tue, 25 Aug 2015 16:44:18 -0600 Subject: [PATCH] winspool.drv: Allow spooling directly to a postscript file. Required for PDF printing in OrCAD 16.6. --- dlls/winspool.drv/info.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index 45490346a6c..ca2c34d0e8c 100644 --- a/dlls/winspool.drv/info.c +++ b/dlls/winspool.drv/info.c @@ -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));