Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
68db49f2
Commit
68db49f2
authored
Jun 28, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved ppd file configuration to HKCU\Software\Wine\Printing\PPD Files.
parent
b3738d3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
init.c
dlls/wineps/init.c
+2
-2
info.c
dlls/winspool/info.c
+2
-2
No files found.
dlls/wineps/init.c
View file @
68db49f2
...
...
@@ -597,8 +597,8 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCSTR name)
/* Look for a ppd file for this printer in the config file.
* First look under that printer's name, and then under 'generic'
*/
/* @@ Wine registry key: HK
LM\Software\Wine\Wine\Config\ppd
*/
if
((
res
!=
ERROR_SUCCESS
)
&&
!
RegOpenKeyA
(
HKEY_
LOCAL_MACHINE
,
"Software
\\
Wine
\\
Wine
\\
Config
\\
ppd
"
,
&
hkey
))
/* @@ Wine registry key: HK
CU\Software\Wine\Printing\PPD Files
*/
if
((
res
!=
ERROR_SUCCESS
)
&&
!
RegOpenKeyA
(
HKEY_
CURRENT_USER
,
"Software
\\
Wine
\\
Printing
\\
PPD Files
"
,
&
hkey
))
{
const
char
*
value_name
;
...
...
dlls/winspool/info.c
View file @
68db49f2
...
...
@@ -508,8 +508,8 @@ void WINSPOOL_LoadSystemPrinters(void)
if
(
!
done
)
{
/* If we have any CUPS based printers, skip looking for printcap printers */
/* Check for [ppd] section in config file before parsing /etc/printcap */
/* @@ Wine registry key: HK
LM\Software\Wine\Wine\Config\ppd
*/
if
(
RegOpenKeyA
(
HKEY_
LOCAL_MACHINE
,
"Software
\\
Wine
\\
Wine
\\
Config
\\
ppd
"
,
/* @@ Wine registry key: HK
CU\Software\Wine\Printing\PPD Files
*/
if
(
RegOpenKeyA
(
HKEY_
CURRENT_USER
,
"Software
\\
Wine
\\
Printing
\\
PPD Files
"
,
&
hkey
)
==
ERROR_SUCCESS
)
{
RegCloseKey
(
hkey
);
PRINTCAP_LoadPrinters
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment