<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Lee Allen wrote:
<blockquote TYPE=CITE>On Mon, 19 Mar 2001 14:22:42 GMT, lee@leadtec.com
(Lee Allen) wrote:
<p>Oops -- it's [PrinterPorts]
<p>>1.&nbsp; Add a [printers] entry to your win.ini, identical to the [devices]
<br>>entry (I don't know if this is necessary, but I have one, and other
<br>>working examples seem to include it)</blockquote>
I've tried the run with debugging on and this is the error message I got
(apart from a bunch of other messages):
<p>trace:winspool:OpenPrinterW (printerName: L"WINE PostScript Driver",
pDefault (nil))
<br>warn:winspool:OpenPrinterW Can't find printer L"WINE PostScript Driver"
in registry
<br>fixme:commdlg:PRINTDLG_OpenDefaultPrinter Could not open printer WINE
PostScript Driver?!
<p>This is my system.reg:
<p>WINE REGISTRY Version 2
<br>;; All keys relative to \\Machine
<p>[HARDWARE\\DESCRIPTION\\System] 985293162
<br>"Identifier"="SystemType WINE"
<p>[HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0] 985293162
<br>"Identifier"="CPU 586"
<p>[HARDWARE\\DESCRIPTION\\System\\FloatingPointProcessor] 984840181
<p>[Software\\Borland\\Database Engine\\Settings\\SYSTEM\\INIT] 970847224
<br>"SHAREDMEMLOCATION"="9000"
<p>[Software\\Classes\\.mol\\shell\\open\\command] 985293166
<br>@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe %1"
<p>[Software\\Classes\\.rxn\\shell\\open\\command] 985293166
<br>@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe %1"
<p>[Software\\Classes\\.skc] 985293166
<br>@="ISISServer"
<p>[Software\\Classes\\.tgf\\shell\\open\\command] 985293166
<br>@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe %1"
<p>[Software\\Classes\\CLSID\\{00021400-0000-0000-C000-000000000046}] 970847224
<br>@="Shortcut"
<p>[Software\\Classes\\CLSID\\{00021400-0000-0000-C000-000000000046}\\InProcServer32]
970847224
<br>@="shell32.dll"
<br>"ThreadingModel"="Apartment"
<p>[Software\\Classes\\CLSID\\{00021401-0000-0000-C000-000000000046}] 970847224
<br>@="Shortcut"
<p>[Software\\Classes\\CLSID\\{00021401-0000-0000-C000-000000000046}\\InProcServer32]
970847224
<br>@="shell32.dll"
<br>"ThreadingModel"="Apartment"
<p>[Software\\Classes\\CLSID\\{00021401-0000-0000-C000-000000000046}\\shellex\\MayChangeDefaultMenu]
970847224
<p>[Software\\Classes\\CLSID\\{47D4D946-62E8-11cf-93BC-444553540000}] 970847224
<br>@="DirectSound Object"
<p>[Software\\Classes\\CLSID\\{47D4D946-62E8-11cf-93BC-444553540000}\\InprocServer32]
970847224
<br>@="dsound.dll"
<br>"ThreadingModel"="Both"
<p>[Software\\Classes\\CLSID\\{593817A0-7DB3-11CF-A2DE-00AA00B93356}] 970847224
<br>@="DirectDraw Clipper Object"
<p>[Software\\Classes\\CLSID\\{593817A0-7DB3-11CF-A2DE-00AA00B93356}\\InprocServer32]
970847224
<br>@="ddraw.dll"
<br>"ThreadingModel"="Both"
<p>[Software\\Classes\\CLSID\\{D1EB6D20-8923-11D0-9D97-00A0C90A43CB}] 970847224
<br>@="DirectPlay Object"
<p>[Software\\Classes\\CLSID\\{D1EB6D20-8923-11D0-9D97-00A0C90A43CB}\\InprocServer32]
970847224
<br>@="C:\\WINDOWS\\SYSTEM\\dplayx.dll"
<br>"ThreadingModel"="Both"
<p>[Software\\Classes\\CLSID\\{D7B70EE0-4340-11CF-B063-0020AFC2CD35}] 970847224
<br>@="DirectDraw Object"
<p>[Software\\Classes\\CLSID\\{D7B70EE0-4340-11CF-B063-0020AFC2CD35}\\InprocServer32]
970847224
<br>@="ddraw.dll"
<br>"ThreadingModel"="Both"
<p>[Software\\Classes\\ISISServer] 985293166
<br>@="ISIS/Draw Sketch"
<p>[Software\\Classes\\ISISServer\\protocol\\StdFileEditing\\DDEServer]
985293166
<br>@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe&nbsp; /dde"
<p>[Software\\Classes\\ISISServer\\protocol\\StdFileEditing\\server] 985293166
<br>@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe"
<p>[Software\\Classes\\ISISServer\\protocol\\StdFileEditing\\verb\\0] 985293166
<br>@="Edit"
<p>[Software\\Classes\\ISISServer\\shell\\open\\command] 985293166
<br>@="C:\\Program Files\\ISIS Draw 2.3\\IDraw32.exe %1"
<p>[Software\\Microsoft\\OLE] 970847224
<br>"EnableDCOM"="Y"
<br>"EnableRemoteConnect"="N"
<p>[Software\\Microsoft\\Windows\\CurrentVersion] 970847224
<br>"CommonFilesDir"="C:\\Program Files\\Common Files"
<br>"ProgramFilesDir"="C:\\Program Files"
<p>[Software\\Microsoft\\Windows\\CurrentVersion\\Setup] 970847224
<br>"SharedDir"="C:\\WINDOWS"
<p>[Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug] 970847224
<br>"Auto"=dword:00000000
<br>"Debugger"="winedbg %ld %ld"
<p>[System\\CurrentControlSet\\Control\\ComputerName\\ComputerName] 985293162
<br>"ComputerName"="asterix"
<p>[System\\CurrentControlSet\\Control\\Nls\\Codepage] 970847224
<br>"ACP"="1252"
<br>"OEMCP"="437"
<p>[System\\CurrentControlSet\\Control\\Print\\Printers] 985293079
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b><u>This is my psdrv.reg:</u></b>
<br>&nbsp;
<p>[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\Wine
PostScript Driver]
<br>"Attributes"="dword:00000000"
<br>"Default Devmode"=
<br>"Name"="Wine PostScript Driver"
<br>"Port"="LPT1:"
<br>"Print Processor"="WinPrint"
<br>"Printer Driver"="PS Driver"
<br>"Priority"="dword:00000000"
<br>"Start Time"="dword:00000000"
<br>"Status"="dword:00000000"
<br>"Until Time"="dword:00000000"
<p>[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows
4.0\Drivers\PS Driver]
<br>"Configuration File"="WINEPS.DRV"
<br>"Data File"=""
<br>"Driver"="WINEPS.DRV"
<br>"Version"="dword:0a000000"
<br>"Datatype"=""
<br>"Dependent Files"=""
<br>"Help Files"=""
<br>"Monitor"=""
<p>I've called regapi like this:
<p>regapi setValue &lt; /usr/doc/wine-doc/psdrv.reg
<p>and it says
<p>Wine exited with a successful status.
<p>To me it looks like a bug in regapi, because it doesn't seem to install
the printerdriver in the registry.
<br>I also tried just to copy the content of psdrv.reg to the system.reg
but this didn't work for some reason.
<br>Any suggestions? At least I know, whats wrong now, but I don't know,
how to fix it.
<p>Hendrik
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;</html>