[xorg-commit-diffs] xc/programs/Xserver/XpConfig/C/print/attributes Imakefile, NONE, 1.1.2.1 document, 1.1, 1.1.20.1 printer, 1.1, 1.1.20.1

Roland Mainz xorg-commit at pdx.freedesktop.org
Mon Apr 12 20:16:39 PDT 2004


Committed by: gisburn

Update of /cvs/xorg/xc/programs/Xserver/XpConfig/C/print/attributes
In directory pdx:/tmp/cvs-serv9732/xc/programs/Xserver/XpConfig/C/print/attributes

Modified Files:
      Tag: XPRINT
	document printer 
Added Files:
      Tag: XPRINT
	Imakefile 
Log Message:
Fix for http://xprint.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=462 - RFE: Merge xprint.mozdev.org Xprint enhancements into Xorg XPRINT branch

--- NEW FILE: Imakefile ---
XCOMM $Xorg: Imakefile,v 1.1 2002/06/09 05:42:52 gisburn Exp $

XPATTRIBUTEDIR = $(XPRINTDIR)/C/print/attributes

InstallNonExecFile(document,$(XPATTRIBUTEDIR))
InstallNonExecFile(job,$(XPATTRIBUTEDIR))
InstallNonExecFile(printer,$(XPATTRIBUTEDIR))


Index: document
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/XpConfig/C/print/attributes/document,v
retrieving revision 1.1
retrieving revision 1.1.20.1
diff -u -d -r1.1 -r1.1.20.1
--- a/document	14 Nov 2003 15:54:43 -0000	1.1
+++ b/document	13 Apr 2004 03:16:35 -0000	1.1.20.1
@@ -21,9 +21,17 @@
 *copy-count: 1
 *default-medium: iso-a4
 *default-printer-resolution: 300
-*document-format: {Postscript 2}
-*plex: duplex
 
+# "PSspooldir" jobs should always be 300 DPI
+# (to be compatible to DPS-based PostScript viewers such as sdtimage)
+PSspooldir.default-printer-resolution: 300
+
+# "PS2PDFspooldir-GS" jobs should always be 600 DPI
+PS2PDFspooldir-GS.default-printer-resolution: 600
+
+# Some resolution defaults to make applications happy which are too lazy
+# to pick an own default in absence of "default-printer-resolution"
+HPLJ4050-PS.default-printer-resolution: 600
 
 # EXAMPLES
 #

Index: printer
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/XpConfig/C/print/attributes/printer,v
retrieving revision 1.1
retrieving revision 1.1.20.1
diff -u -d -r1.1 -r1.1.20.1
--- a/printer	14 Nov 2003 15:54:43 -0000	1.1
+++ b/printer	13 Apr 2004 03:16:35 -0000	1.1.20.1
@@ -16,8 +16,24 @@
 #	Set this attribute for all printers.
 #	Example: "*.document-formats-ready: {pcl 5}"
 
+# Remove this line and replace them with per printer settings
+# if you want to use more than one DDX!!
+*xp-model-identifier: PSdefault
 
-*xp-ddx-identifier: XP-POSTSCRIPT
+
+# Sample entry for the "PSspooldir" model
+# Just add a printer called "xp_ps_spooldir_tmp_Xprintjobs" to "Xprinters"
+# and you will get an extra printer which files the PostScript jobs
+# in the "/tmp/Xprintjobs/" directory.
+xp_ps_spooldir_tmp_Xprintjobs.xp-model-identifier: PSspooldir
+
+# Sample entry for the "PS2PDFspooldir-GS" model
+# Just add a printer called "xp_pdf_spooldir_tmp_Xprintjobs" to "Xprinters"
+# and you will get an extra printer which convertes the PostScript jobs
+# to PDF using "ps2pdf" and files them into the "/tmp/Xprintjobs/" directory.
+# NOTE: Future versions of Xprint will use the PDF DDX instead directly
+# instead of relying on GhostScript/ps2pdf...
+xp_pdf_spooldir_tmp_Xprintjobs.xp-model-identifier: PS2PDFspooldir-GS
 
 
 # IMPORTANT EXAMPLES




More information about the xorg-commit-diffs mailing list