discuss-gnustep
[Top][All Lists]
Advanced

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

Re: invalid printinfo data, NetBSD


From: Wolfgang Lux
Subject: Re: invalid printinfo data, NetBSD
Date: Mon, 2 Jan 2012 09:33:32 +0100

Hi Riccardo,

> Hi,
> 
> I did some tracing about the problem that I get invalid X/Y sizes.
> 
> Breakpoint 3, -[NSScanner initWithString:] (self=0xba01e644, _cmd=0xbb74cd90,
>    aString=0x0) at NSScanner.m:199
> 199           NSLog(@"Scanner initialised with nil string");
> (gdb) bt
> [backtrace elided ...]
> 
> the file is:
> (gdb) po ppdPath
> /Local/Library/PostScript/PPD/English.lproj/Generic-PostScript_Printer-Postscript.ppd
> 
> The file is just not there, I have no "PostScript" subdirectory in 
> /Local/Library
> 
> I have it in /System/Library
> 
> (gdb) po printerEntry
> {Host = localhost; Note = "Automatically Generated"; PPDPath = 
> "/Local/Library/PostScript/PPD/English.lproj/Generic-PostScript_Printer-Postscript.ppd";
>  Type = Unknown; }
> 
> the name of the printer looked for is "Unnamed". But that shouldn't matter, 
> this is a Local vs. System problem. Where is it initialized/set, so I can 
> investigate it?

you should check your user defaults. Try
  defaults read NSGlobalDomain GSLPRPrinters
I'd expect it to return a printer whose PPDPath is (apparently incorrectly) set 
to 
/Local/Library/PostScript/PPD/English.lproj/Generic-PostScript_Printer-Postscript.ppd

Wolfgang




reply via email to

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