[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LPR printing backend and missing ppd:s
From: |
Adam Fedor |
Subject: |
Re: LPR printing backend and missing ppd:s |
Date: |
Sun, 29 Aug 2004 20:28:19 -0600 |
On Aug 29, 2004, at 4:39 PM, Alexander Malmberg wrote:
The recent printing changes have had the side effect of breaking any
app that uses NSPrint* pretty bad when using the LPR backend. The
problem is that the LPR backend needs to create a default printer, and
if no printer has been specified, it creates a fallback printer of
type "Apple_LaserWriter_II_NTX" and tries to load the ppd for it. The
ppd isn't installed, and the code doesn't handle this very gracefully.
Since I'm not sure how well the code can cope with ppd:s that aren't
present, it seems that the best solution is to make the fallback
printer a generic postscript printer, and to include a generic
postscript printer ppd in -gui. I've done the code changes locally,
but I need a suitable ppd. I found one here:
http://www.linuxprinting.org/show_printer.cgi?recnum=Generic-
PostScript_Printer
which seems to work ok. However, it's GPL:d, not LGPL:d. Can we
include it anyway? (License certainly isn't any worse than the license
on the ppd:s we used to include, but still...)
GPL is fine. Only stuff that actually goes into the library needs to be
LGPL.