winspool.drv: Allow for spaces in either the printer name or the spool file.
This commit is contained in:
parent
53a15436f8
commit
246f741eb3
|
@ -7205,7 +7205,7 @@ BOOL WINAPI GetJobW(HANDLE hPrinter, DWORD JobId, DWORD Level, LPBYTE pJob,
|
|||
static BOOL schedule_lpr(LPCWSTR printer_name, LPCWSTR filename)
|
||||
{
|
||||
char *unixname, *queue, *cmd;
|
||||
char fmt[] = "lpr -P%s %s";
|
||||
char fmt[] = "lpr -P'%s' '%s'";
|
||||
DWORD len;
|
||||
int r;
|
||||
|
||||
|
|
Loading…
Reference in New Issue