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
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep