diff options
Diffstat (limited to 'Xprint/ps/PsAttVal.c')
-rw-r--r-- | Xprint/ps/PsAttVal.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Xprint/ps/PsAttVal.c b/Xprint/ps/PsAttVal.c index 83133e53a..a6a375487 100644 --- a/Xprint/ps/PsAttVal.c +++ b/Xprint/ps/PsAttVal.c @@ -32,6 +32,7 @@ not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from said copyright holders. */ +/* $XFree86: xc/programs/Xserver/Xprint/ps/PsAttVal.c,v 1.5 2001/12/19 21:28:44 dawes Exp $ */ #include "Ps.h" #include "AttrValid.h" @@ -142,6 +143,13 @@ static XpOidDocFmtList DefaultEmbeddedFormatsSupported = { DefaultEmbeddedFormatsSupportedFmts, XpNumber(DefaultEmbeddedFormatsSupportedFmts) }; +/* +** So filtered printers that accept other raw formats can be +** used with this driver. +** +** Noah Roberts (jik-) +*/ +#if 0 static XpOidDocFmt ValidRawFormatsSupportedFmts[] = { { "Postscript", "2", NULL } @@ -149,6 +157,7 @@ static XpOidDocFmt ValidRawFormatsSupportedFmts[] = { static XpOidDocFmtList ValidRawFormatsSupported = { ValidRawFormatsSupportedFmts, XpNumber(ValidRawFormatsSupportedFmts) }; +#endif static XpOidDocFmt DefaultRawFormatsSupportedFmts[] = { { "Postscript", "2", NULL } @@ -196,7 +205,7 @@ XpValidatePoolsRec PsValidatePoolsRec = { &ValidPrinterResolutions, &DefaultPrinterResolutions, &ValidEmbeddedFormatsSupported, &DefaultEmbeddedFormatsSupported, &ValidListfontsModes, &DefaultListfontsModes, - &ValidRawFormatsSupported, &DefaultRawFormatsSupported, + NULL /* Any raw format specified (NR)*/, &DefaultRawFormatsSupported, &ValidSetupProviso, &DefaultDocumentFormat }; |