search for: pdefaults

Displaying 3 results from an estimated 3 matches for "pdefaults".

Did you mean: defaults
2002 Oct 07
9
GetPrinter Level 2 does not get devmode
...ploaded the printer drivers succesfully on RedHat Linux/ Samba 2.2.4 server. I can download and print without any problems. But when I do Windows API call GetPrinter with PRINTER_INFO_2, the devmode in printer_info is always null. My code looks like HANDLE hPrinter=NULL; PRINTER_DEFAULTS pDefaults; pDefaults.DesiredAccess = PRINTER_ACCESS_USE; pDefaults.pDatatype=NULL; pDefaults.pDevMode=NULL; BOOL b = OpenPrinter(cPrinterName,&hPrinter,&pDefaults); if (b) { LPBYTE printerInfo=NULL; DWORD dwNeeded; b = GetPrinter(hPrinter,2,...
2001 Oct 23
9
printing
Hello Followed the doc's to setup a postscriptprinter but get the following message when starting wine: err:psdrv:PSDRV_FindPrinterInfo Error 2 getting PPD file name for printer 'Epson_360_dpi_' fixme:winspool:AddPrinterW DocumentProperties fails err:psdrv:PSDRV_FindPrinterInfo Error 2 getting PPD file name for printer 'Epson_360_dpi_' err:winspool:AddPrinterW
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
Wherever we had code which did: if (something_bad) { perror (...); exit (EXIT_FAILURE); } replace this with use of the error(3) function: if (something_bad) error (EXIT_FAILURE, errno, ...); The error(3) function is supplied by glibc, or by gnulib on platforms which don't have it, and is much more flexible than perror(3). Since we already use error(3), there seems to be