summaryrefslogtreecommitdiff
path: root/XpConfig/C/print/attributes
diff options
context:
space:
mode:
Diffstat (limited to 'XpConfig/C/print/attributes')
-rw-r--r--XpConfig/C/print/attributes/document17
-rw-r--r--XpConfig/C/print/attributes/printer18
2 files changed, 31 insertions, 4 deletions
diff --git a/XpConfig/C/print/attributes/document b/XpConfig/C/print/attributes/document
index e0be64553..b1651bd94 100644
--- a/XpConfig/C/print/attributes/document
+++ b/XpConfig/C/print/attributes/document
@@ -20,10 +20,21 @@
*content-orientation: portrait
*copy-count: 1
*default-medium: iso-a4
-*default-printer-resolution: 300
-*document-format: {Postscript 2}
-*plex: duplex
+*default-printer-resolution: 600
+# "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
+SPSPARC2.default-printer-resolution: 300
+CANONBJ10E-GS.default-printer-resolution: 360
+CANONC3200-PS.default-printer-resolution: 600
# EXAMPLES
#
diff --git a/XpConfig/C/print/attributes/printer b/XpConfig/C/print/attributes/printer
index a49afa5f0..41e13b44b 100644
--- a/XpConfig/C/print/attributes/printer
+++ b/XpConfig/C/print/attributes/printer
@@ -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