Printing problems with wine

Norman Hendrik Riedel nriedel at ix.urz.uni-heidelberg.de
Thu Mar 22 16:53:59 CST 2001


Lee Allen wrote:

> On Mon, 19 Mar 2001 14:22:42 GMT, lee at leadtec.com (Lee Allen) wrote:
>
> Oops -- it's [PrinterPorts]
>
> >1.  Add a [printers] entry to your win.ini, identical to the [devices]
> >entry (I don't know if this is necessary, but I have one, and other
> >working examples seem to include it)

I've tried the run with debugging on and this is the error message I got
(apart from a bunch of other messages):

trace:winspool:OpenPrinterW (printerName: L"WINE PostScript Driver",
pDefault (nil))
warn:winspool:OpenPrinterW Can't find printer L"WINE PostScript Driver" in
registry
fixme:commdlg:PRINTDLG_OpenDefaultPrinter Could not open printer WINE
PostScript Driver?!

This is my system.reg:

WINE REGISTRY Version 2
;; All keys relative to \\Machine

[HARDWARE\\DESCRIPTION\\System] 985293162
"Identifier"="SystemType WINE"

[HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0] 985293162
"Identifier"="CPU 586"

[HARDWARE\\DESCRIPTION\\System\\FloatingPointProcessor] 984840181

[Software\\Borland\\Database Engine\\Settings\\SYSTEM\\INIT] 970847224
"SHAREDMEMLOCATION"="9000"

[Software\\Classes\\.mol\\shell\\open\\command] 985293166
@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe %1"

[Software\\Classes\\.rxn\\shell\\open\\command] 985293166
@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe %1"

[Software\\Classes\\.skc] 985293166
@="ISISServer"

[Software\\Classes\\.tgf\\shell\\open\\command] 985293166
@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe %1"

[Software\\Classes\\CLSID\\{00021400-0000-0000-C000-000000000046}]
970847224
@="Shortcut"

[Software\\Classes\\CLSID\\{00021400-0000-0000-C000-000000000046}\\InProcServer32]
970847224
@="shell32.dll"
"ThreadingModel"="Apartment"

[Software\\Classes\\CLSID\\{00021401-0000-0000-C000-000000000046}]
970847224
@="Shortcut"

[Software\\Classes\\CLSID\\{00021401-0000-0000-C000-000000000046}\\InProcServer32]
970847224
@="shell32.dll"
"ThreadingModel"="Apartment"

[Software\\Classes\\CLSID\\{00021401-0000-0000-C000-000000000046}\\shellex\\MayChangeDefaultMenu]
970847224

[Software\\Classes\\CLSID\\{47D4D946-62E8-11cf-93BC-444553540000}]
970847224
@="DirectSound Object"

[Software\\Classes\\CLSID\\{47D4D946-62E8-11cf-93BC-444553540000}\\InprocServer32]
970847224
@="dsound.dll"
"ThreadingModel"="Both"

[Software\\Classes\\CLSID\\{593817A0-7DB3-11CF-A2DE-00AA00B93356}]
970847224
@="DirectDraw Clipper Object"

[Software\\Classes\\CLSID\\{593817A0-7DB3-11CF-A2DE-00AA00B93356}\\InprocServer32]
970847224
@="ddraw.dll"
"ThreadingModel"="Both"

[Software\\Classes\\CLSID\\{D1EB6D20-8923-11D0-9D97-00A0C90A43CB}]
970847224
@="DirectPlay Object"

[Software\\Classes\\CLSID\\{D1EB6D20-8923-11D0-9D97-00A0C90A43CB}\\InprocServer32]
970847224
@="C:\\WINDOWS\\SYSTEM\\dplayx.dll"
"ThreadingModel"="Both"

[Software\\Classes\\CLSID\\{D7B70EE0-4340-11CF-B063-0020AFC2CD35}]
970847224
@="DirectDraw Object"

[Software\\Classes\\CLSID\\{D7B70EE0-4340-11CF-B063-0020AFC2CD35}\\InprocServer32]
970847224
@="ddraw.dll"
"ThreadingModel"="Both"

[Software\\Classes\\ISISServer] 985293166
@="ISIS/Draw Sketch"

[Software\\Classes\\ISISServer\\protocol\\StdFileEditing\\DDEServer]
985293166
@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe  /dde"

[Software\\Classes\\ISISServer\\protocol\\StdFileEditing\\server]
985293166
@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe"

[Software\\Classes\\ISISServer\\protocol\\StdFileEditing\\verb\\0]
985293166
@="Edit"

[Software\\Classes\\ISISServer\\shell\\open\\command] 985293166
@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe %1"

[Software\\Microsoft\\OLE] 970847224
"EnableDCOM"="Y"
"EnableRemoteConnect"="N"

[Software\\Microsoft\\Windows\\CurrentVersion] 970847224
"CommonFilesDir"="C:\\Program Files\\Common Files"
"ProgramFilesDir"="C:\\Program Files"

[Software\\Microsoft\\Windows\\CurrentVersion\\Setup] 970847224
"SharedDir"="C:\\WINDOWS"

[Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug] 970847224
"Auto"=dword:00000000
"Debugger"="winedbg %ld %ld"

[System\\CurrentControlSet\\Control\\ComputerName\\ComputerName] 985293162

"ComputerName"="asterix"

[System\\CurrentControlSet\\Control\\Nls\\Codepage] 970847224
"ACP"="1252"
"OEMCP"="437"

[System\\CurrentControlSet\\Control\\Print\\Printers] 985293079




This is my psdrv.reg:


[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\Wine
PostScript Driver]
"Attributes"="dword:00000000"
"Default Devmode"=
"Name"="Wine PostScript Driver"
"Port"="LPT1:"
"Print Processor"="WinPrint"
"Printer Driver"="PS Driver"
"Priority"="dword:00000000"
"Start Time"="dword:00000000"
"Status"="dword:00000000"
"Until Time"="dword:00000000"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows
4.0\Drivers\PS Driver]
"Configuration File"="WINEPS.DRV"
"Data File"=""
"Driver"="WINEPS.DRV"
"Version"="dword:0a000000"
"Datatype"=""
"Dependent Files"=""
"Help Files"=""
"Monitor"=""

I've called regapi like this:

regapi setValue < /usr/doc/wine-doc/psdrv.reg

and it says

Wine exited with a successful status.

To me it looks like a bug in regapi, because it doesn't seem to install
the printerdriver in the registry.
I also tried just to copy the content of psdrv.reg to the system.reg but
this didn't work for some reason.
Any suggestions? At least I know, whats wrong now, but I don't know, how
to fix it.

Hendrik



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20010322/13e5794f/attachment.htm


More information about the wine-users mailing list