discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invalid printinfo data, NetBSD


From: Riccardo Mottola
Subject: Re: invalid printinfo data, NetBSD
Date: Mon, 02 Jan 2012 10:27:43 +0100
User-agent: Mozilla/5.0 (X11; NetBSD i386; rv:8.0) Gecko/20111219 Thunderbird/8.0

Hi,
If you don't have an entry in NSGlobalDomain then the application domain (I 
assume Graphos) would be relevant for you. The sharedPrintInfo domain is 
irrelevant for gui as far as I can tell. You could try and just delete all 
those defaults. In that case the code should find the ppd file in the /System 
directory.
I deleted both sharedPrintInfo and Graphos domains totally.

Now it appears to work and it got initialized correctly to /System and not /Local inside the Graphos domain. So perhaps this was a transient bug.

My only nitpick now remains that perhaps we should return "nil" as printInfo if the PPD information is invalid, and not some partial object.

Some useful NSlog would helped me hours of debugging :)

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]