Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
ghostscript-library
gimp-print-4.2.7.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gimp-print-4.2.7.dif of Package ghostscript-library
--- gimp-print-4.2.7/src/ghost/Makefile.am +++ gimp-print-4.2.7/src/ghost/Makefile.am 2008-02-21 18:27:55.613956690 +0100 @@ -140,9 +140,9 @@ EXTRA_DIST = \ ## Variables AM_CFLAGS = $(GNUCFLAGS) -INCLUDES = @IJS_CFLAGS@ @INCLUDES@ $(LIBGIMPPRINT_CFLAGS) +INCLUDES = $(IJS_CFLAGS) @INCLUDES@ $(LIBGIMPPRINT_CFLAGS) LIBPRINTUT = $(top_builddir)/lib/libprintut.la -LIBS = @IJS_LIBS@ @LIBS@ $(INTLLIBS) +LIBS = $(IJS_LIBS) @LIBS@ $(INTLLIBS) ## Programs --- gimp-print-4.2.7/src/ghost/Makefile.in +++ gimp-print-4.2.7/src/ghost/Makefile.in 2008-02-21 18:27:55.613956690 +0100 @@ -214,9 +214,9 @@ EXTRA_DIST = COPYING Makefile Makefi AM_CFLAGS = $(GNUCFLAGS) -INCLUDES = @IJS_CFLAGS@ @INCLUDES@ $(LIBGIMPPRINT_CFLAGS) +INCLUDES = $(IJS_CFLAGS) @INCLUDES@ $(LIBGIMPPRINT_CFLAGS) LIBPRINTUT = $(top_builddir)/lib/libprintut.la -LIBS = @IJS_LIBS@ @LIBS@ $(INTLLIBS) +LIBS = $(IJS_LIBS) @LIBS@ $(INTLLIBS) IJS_BIN = ijsgimpprint --- gimp-print-4.2.7/src/ghost/README +++ gimp-print-4.2.7/src/ghost/README 2008-02-21 18:27:55.637959754 +0100 @@ -429,214 +429,214 @@ driver ignores it. It should be CANON, HEWLETT-PACKARD. The value of the -sDeviceModel parameter is the same as the value of the -sModel parameter in the stp driver. -bjc-30 CANON BJC 30 -bjc-50 CANON BJC 50 -bjc-55 CANON BJC 55 -bjc-80 CANON BJC 80 -bjc-85 CANON BJC 85 -bjc-210 CANON BJC 210 -bjc-240 CANON BJC 240 -bjc-250 CANON BJC 250 -bjc-1000 CANON BJC 1000 -bjc-2000 CANON BJC 2000 -bjc-3000 CANON BJC 3000 -bjc-4300 CANON BJC 4300 -bjc-4400 CANON BJC 4400 photo -bjc-6000 CANON BJC 6000 -bjc-6100 CANON BJC 6100 -bjc-6200 CANON BJC 6200 -bjc-6500 CANON BJC 6500 -bjc-7000 CANON BJC 7000 -bjc-7100 CANON BJC 7100 -bjc-8200 CANON BJC 8200 -bjc-s200 CANON S200 -bjc-s400 CANON S400 -bjc-s450 CANON S450 -bjc-s800 CANON S800 -bjc-s4500 CANON S4500 -escp2-c20sx EPSON Stylus C20SX -escp2-c20ux EPSON Stylus C20UX -escp2-c40sx EPSON Stylus C40SX -escp2-c40ux EPSON Stylus C40UX -escp2-c41sx EPSON Stylus C41SX -escp2-c41ux EPSON Stylus C41UX -escp2-c42sx EPSON Stylus C42SX -escp2-c42ux EPSON Stylus C42UX -escp2-c43sx EPSON Stylus C43SX -escp2-c43ux EPSON Stylus C43UX -escp2-c44sx EPSON Stylus C44SX -escp2-c44ux EPSON Stylus C44UX -escp2-c50 EPSON Stylus C50 -escp2-c60 EPSON Stylus C60 -escp2-c61 EPSON Stylus C61 -escp2-c62 EPSON Stylus C62 -escp2-c70 EPSON Stylus C70 -escp2-c80 EPSON Stylus C80 -escp2-c82 EPSON Stylus C82 -escp2-c83 EPSON Stylus C83 -escp2-c84 EPSON Stylus C84 -escp2 EPSON Stylus Color -escp2-pro EPSON Stylus Color Pro -escp2-pro-xl EPSON Stylus Color Pro XL -escp2-400 EPSON Stylus Color 400 -escp2-440 EPSON Stylus Color 440 -escp2-460 EPSON Stylus Color 460 -escp2-480 EPSON Stylus Color 480 -escp2-500 EPSON Stylus Color 500 -escp2-580 EPSON Stylus Color 580 -escp2-600 EPSON Stylus Color 600 -escp2-640 EPSON Stylus Color 640 -escp2-660 EPSON Stylus Color 660 -escp2-670 EPSON Stylus Color 670 -escp2-680 EPSON Stylus Color 680 -escp2-740 EPSON Stylus Color 740 -escp2-760 EPSON Stylus Color 760 -escp2-777 EPSON Stylus Color 777 -escp2-800 EPSON Stylus Color 800 -escp2-850 EPSON Stylus Color 850 -escp2-860 EPSON Stylus Color 860 -escp2-880 EPSON Stylus Color 880 -escp2-83 EPSON Stylus Color 83 -escp2-900 EPSON Stylus Color 900 -escp2-980 EPSON Stylus Color 980 -escp2-1160 EPSON Stylus Color 1160 -escp2-1500 EPSON Stylus Color 1500 -escp2-1520 EPSON Stylus Color 1520 -escp2-3000 EPSON Stylus Color 3000 -escp2-photo EPSON Stylus Photo -escp2-700 EPSON Stylus Photo 700 -escp2-ex EPSON Stylus Photo EX -escp2-ex3 EPSON Stylus Photo EX3 -escp2-720 EPSON Stylus Photo 720 -escp2-750 EPSON Stylus Photo 750 -escp2-780 EPSON Stylus Photo 780 -escp2-785 EPSON Stylus Photo 785EPX -escp2-790 EPSON Stylus Photo 790 -escp2-810 EPSON Stylus Photo 810 -escp2-820 EPSON Stylus Photo 820 -escp2-825 EPSON Stylus Photo 825 -escp2-830 EPSON Stylus Photo 830 -escp2-870 EPSON Stylus Photo 870 -escp2-875 EPSON Stylus Photo 875 -escp2-890 EPSON Stylus Photo 890 -escp2-895 EPSON Stylus Photo 895 -escp2-ph900 EPSON Stylus Photo 900 -escp2-915 EPSON Stylus Photo 915 -escp2-925 EPSON Stylus Photo 925 -escp2-950 EPSON Stylus Photo 950 -escp2-960 EPSON Stylus Photo 960 -escp2-1200 EPSON Stylus Photo 1200 -escp2-1270 EPSON Stylus Photo 1270 -escp2-1280 EPSON Stylus Photo 1280 -escp2-1290 EPSON Stylus Photo 1290 -escp2-2000 EPSON Stylus Photo 2000P -escp2-2100 EPSON Stylus Photo 2100 -escp2-2200 EPSON Stylus Photo 2200 -escp2-5000 EPSON Stylus Pro 5000 -escp2-5500 EPSON Stylus Pro 5500 -escp2-7000 EPSON Stylus Pro 7000 -escp2-7500 EPSON Stylus Pro 7500 -escp2-7600 EPSON Stylus Pro 7600 -escp2-9000 EPSON Stylus Pro 9000 -escp2-9500 EPSON Stylus Pro 9500 -escp2-9600 EPSON Stylus Pro 9600 -escp2-10000 EPSON Stylus Pro 10000 -escp2-scan2000 EPSON Stylus Scan 2000 -escp2-scan2500 EPSON Stylus Scan 2500 -escp2-cx3200 EPSON Stylus CX-3200 -escp2-cx5200 EPSON Stylus CX-5200 -escp2-cl700 EPSON CL-700 -escp2-cl750 EPSON CL-750 -escp2-em900c EPSON EM-900C -escp2-em930c EPSON EM-930C -escp2-mc10000 EPSON MC-10000 -escp2-mc2000 EPSON MC-2000 -escp2-mc5000 EPSON MC-5000 -escp2-mc7000 EPSON MC-7000 -escp2-mc9000 EPSON MC-9000 -escp2-mj930c EPSON MJ-930C -escp2-mj5100c EPSON MJ-5100C -escp2-mj6000c EPSON MJ-6000C -escp2-mj8000c EPSON MJ-8000C -escp2-pm10000 EPSON PM-10000 -escp2-pm2000c EPSON PM-2000C -escp2-pm2200c EPSON PM-2200C -escp2-pm3000c EPSON PM-3000C -escp2-pm3300c EPSON PM-3300C -escp2-pm3500c EPSON PM-3500C -escp2-pm4000px EPSON PM-4000PX -escp2-pm5000c EPSON PM-5000C -escp2-pm7000c EPSON PM-7000C -escp2-pm700c EPSON PM-700C -escp2-pm730c EPSON PM-730C -escp2-pm750c EPSON PM-750C -escp2-pm760c EPSON PM-760C -escp2-pm770c EPSON PM-770C -escp2-pm780c EPSON PM-780C -escp2-pm790pt EPSON PM-790PT -escp2-pm800c EPSON PM-800C -escp2-pm850pt EPSON PM-850PT -escp2-pm880c EPSON PM-880C -escp2-pm9000c EPSON PM-9000C -escp2-pm950c EPSON PM-950C -escp2-pm970c EPSON PM-970C -escp2-px7000 EPSON PX-7000 -escp2-px9000 EPSON PX-9000 -pcl-desnj-230 HP DesignJet 230 -pcl-desnj-250 HP DesignJet 250 -pcl-desnj-430 HP DesignJet 430 -pcl-desnj-450 HP DesignJet 450 -pcl-desnj-455 HP DesignJet 455 -pcl-desnj-488 HP DesignJet 488 -pcl-desnj-700 HP DesignJet 700 -pcl-750 HP DesignJet 750C -pcl-desnj-2500 HP DesignJet 2500 -pcl-desnj-3500 HP DesignJet 3500 -pcl-340 HP DeskJet 340 -pcl-400 HP DeskJet 400 -pcl-500 HP DeskJet 500 -pcl-501 HP DeskJet 500C -pcl-520 HP DeskJet 520 -pcl-540 HP DeskJet 540C -pcl-550 HP DeskJet 550C -pcl-560 HP DeskJet 560C -pcl-600 HP DeskJet 600/600C (Single Cartridge) -pcl-601 HP DeskJet 600 series (2 Cartridge) -pcl-690 HP DeskJet 690 series (Photo-Ink capable) -pcl-810 HP DeskJet 810C -pcl-812 HP DeskJet 812C -pcl-840 HP DeskJet 840C -pcl-842 HP DeskJet 842C -pcl-845 HP DeskJet 845C -pcl-850 HP DeskJet 850C -pcl-855 HP DeskJet 855C -pcl-870 HP DeskJet 870C -pcl-890 HP DeskJet 890C -pcl-895 HP DeskJet 895C -pcl-900 HP DeskJet 900 series -pcl-P1000 HP PhotoSmart P1000 -pcl-1100 HP DeskJet 1100C -pcl-P1100 HP PhotoSmart P1100 -pcl-1120 HP DeskJet 1120C -pcl-1200 HP DeskJet 1200C -pcl-1220 HP DeskJet 1220C -pcl-1600 HP DeskJet 1600C -pcl-2000 HP DeskJet 2000 series -pcl-2500 HP DeskJet 2500 series -pcl-2 HP LaserJet II series -pcl-3 HP LaserJet III series -pcl-4 HP LaserJet 4 series -pcl-4l HP LaserJet 4L -pcl-4v HP LaserJet 4V, 4Si -pcl-5 HP LaserJet 5 series -pcl-5si HP LaserJet 5Si -pcl-6 HP LaserJet 6 series -lexmark-4076 Lexmark 4076 (PCL printer) -lexmark-z42 Lexmark Z42 -lexmark-z43 Lexmark Z43 -lexmark-z52 Lexmark Z52 -lexmark-z53 Lexmark Z53 - +bjc-30 CANON BJC 30 +bjc-50 CANON BJC 50 +bjc-55 CANON BJC 55 +bjc-80 CANON BJC 80 +bjc-85 CANON BJC 85 +bjc-210 CANON BJC 210 +bjc-240 CANON BJC 240 +bjc-250 CANON BJC 250 +bjc-1000 CANON BJC 1000 +bjc-2000 CANON BJC 2000 +bjc-3000 CANON BJC 3000 +bjc-4300 CANON BJC 4300 +bjc-4400 CANON BJC 4400 photo +bjc-6000 CANON BJC 6000 +bjc-6100 CANON BJC 6100 +bjc-6200 CANON BJC 6200 +bjc-6500 CANON BJC 6500 +bjc-7000 CANON BJC 7000 +bjc-7100 CANON BJC 7100 +bjc-8200 CANON BJC 8200 +bjc-s200 CANON S200 +bjc-s400 CANON S400 +bjc-s450 CANON S450 +bjc-s800 CANON S800 +bjc-s4500 CANON S4500 +escp2-c20sx EPSON Stylus C20SX +escp2-c20ux EPSON Stylus C20UX +escp2-c40sx EPSON Stylus C40SX +escp2-c40ux EPSON Stylus C40UX +escp2-c41sx EPSON Stylus C41SX +escp2-c41ux EPSON Stylus C41UX +escp2-c42sx EPSON Stylus C42SX +escp2-c42ux EPSON Stylus C42UX +escp2-c43sx EPSON Stylus C43SX +escp2-c43ux EPSON Stylus C43UX +escp2-c44sx EPSON Stylus C44SX +escp2-c44ux EPSON Stylus C44UX +escp2-c50 EPSON Stylus C50 +escp2-c60 EPSON Stylus C60 +escp2-c61 EPSON Stylus C61 +escp2-c62 EPSON Stylus C62 +escp2-c70 EPSON Stylus C70 +escp2-c80 EPSON Stylus C80 +escp2-c82 EPSON Stylus C82 +escp2-c83 EPSON Stylus C83 +escp2-c84 EPSON Stylus C84 +escp2 EPSON Stylus Color +escp2-pro EPSON Stylus Color Pro +escp2-pro-xl EPSON Stylus Color Pro XL +escp2-400 EPSON Stylus Color 400 +escp2-440 EPSON Stylus Color 440 +escp2-460 EPSON Stylus Color 460 +escp2-480 EPSON Stylus Color 480 +escp2-500 EPSON Stylus Color 500 +escp2-580 EPSON Stylus Color 580 +escp2-600 EPSON Stylus Color 600 +escp2-640 EPSON Stylus Color 640 +escp2-660 EPSON Stylus Color 660 +escp2-670 EPSON Stylus Color 670 +escp2-680 EPSON Stylus Color 680 +escp2-740 EPSON Stylus Color 740 +escp2-760 EPSON Stylus Color 760 +escp2-777 EPSON Stylus Color 777 +escp2-800 EPSON Stylus Color 800 +escp2-850 EPSON Stylus Color 850 +escp2-860 EPSON Stylus Color 860 +escp2-880 EPSON Stylus Color 880 +escp2-83 EPSON Stylus Color 83 +escp2-900 EPSON Stylus Color 900 +escp2-980 EPSON Stylus Color 980 +escp2-1160 EPSON Stylus Color 1160 +escp2-1500 EPSON Stylus Color 1500 +escp2-1520 EPSON Stylus Color 1520 +escp2-3000 EPSON Stylus Color 3000 +escp2-photo EPSON Stylus Photo +escp2-700 EPSON Stylus Photo 700 +escp2-ex EPSON Stylus Photo EX +escp2-ex3 EPSON Stylus Photo EX3 +escp2-720 EPSON Stylus Photo 720 +escp2-750 EPSON Stylus Photo 750 +escp2-780 EPSON Stylus Photo 780 +escp2-785 EPSON Stylus Photo 785EPX +escp2-790 EPSON Stylus Photo 790 +escp2-810 EPSON Stylus Photo 810 +escp2-820 EPSON Stylus Photo 820 +escp2-825 EPSON Stylus Photo 825 +escp2-830 EPSON Stylus Photo 830 +escp2-870 EPSON Stylus Photo 870 +escp2-875 EPSON Stylus Photo 875 +escp2-890 EPSON Stylus Photo 890 +escp2-895 EPSON Stylus Photo 895 +escp2-ph900 EPSON Stylus Photo 900 +escp2-915 EPSON Stylus Photo 915 +escp2-925 EPSON Stylus Photo 925 +escp2-950 EPSON Stylus Photo 950 +escp2-960 EPSON Stylus Photo 960 +escp2-1200 EPSON Stylus Photo 1200 +escp2-1270 EPSON Stylus Photo 1270 +escp2-1280 EPSON Stylus Photo 1280 +escp2-1290 EPSON Stylus Photo 1290 +escp2-2000 EPSON Stylus Photo 2000P +escp2-2100 EPSON Stylus Photo 2100 +escp2-2200 EPSON Stylus Photo 2200 +escp2-5000 EPSON Stylus Pro 5000 +escp2-5500 EPSON Stylus Pro 5500 +escp2-7000 EPSON Stylus Pro 7000 +escp2-7500 EPSON Stylus Pro 7500 +escp2-7600 EPSON Stylus Pro 7600 +escp2-9000 EPSON Stylus Pro 9000 +escp2-9500 EPSON Stylus Pro 9500 +escp2-9600 EPSON Stylus Pro 9600 +escp2-10000 EPSON Stylus Pro 10000 +escp2-scan2000 EPSON Stylus Scan 2000 +escp2-scan2500 EPSON Stylus Scan 2500 +escp2-cx3200 EPSON Stylus CX-3200 +escp2-cx5200 EPSON Stylus CX-5200 +escp2-cl700 EPSON CL-700 +escp2-cl750 EPSON CL-750 +escp2-em900c EPSON EM-900C +escp2-em930c EPSON EM-930C +escp2-mc10000 EPSON MC-10000 +escp2-mc2000 EPSON MC-2000 +escp2-mc5000 EPSON MC-5000 +escp2-mc7000 EPSON MC-7000 +escp2-mc9000 EPSON MC-9000 +escp2-mj930c EPSON MJ-930C +escp2-mj5100c EPSON MJ-5100C +escp2-mj6000c EPSON MJ-6000C +escp2-mj8000c EPSON MJ-8000C +escp2-pm10000 EPSON PM-10000 +escp2-pm2000c EPSON PM-2000C +escp2-pm2200c EPSON PM-2200C +escp2-pm3000c EPSON PM-3000C +escp2-pm3300c EPSON PM-3300C +escp2-pm3500c EPSON PM-3500C +escp2-pm4000px EPSON PM-4000PX +escp2-pm5000c EPSON PM-5000C +escp2-pm7000c EPSON PM-7000C +escp2-pm700c EPSON PM-700C +escp2-pm730c EPSON PM-730C +escp2-pm750c EPSON PM-750C +escp2-pm760c EPSON PM-760C +escp2-pm770c EPSON PM-770C +escp2-pm780c EPSON PM-780C +escp2-pm790pt EPSON PM-790PT +escp2-pm800c EPSON PM-800C +escp2-pm850pt EPSON PM-850PT +escp2-pm880c EPSON PM-880C +escp2-pm9000c EPSON PM-9000C +escp2-pm950c EPSON PM-950C +escp2-pm970c EPSON PM-970C +escp2-px7000 EPSON PX-7000 +escp2-px9000 EPSON PX-9000 +pcl-desnj-230 HP DesignJet 230 +pcl-desnj-250 HP DesignJet 250 +pcl-desnj-430 HP DesignJet 430 +pcl-desnj-450 HP DesignJet 450 +pcl-desnj-455 HP DesignJet 455 +pcl-desnj-488 HP DesignJet 488 +pcl-desnj-700 HP DesignJet 700 +pcl-750 HP DesignJet 750C +pcl-desnj-2500 HP DesignJet 2500 +pcl-desnj-3500 HP DesignJet 3500 +pcl-340 HP DeskJet 340 +pcl-400 HP DeskJet 400 +pcl-500 HP DeskJet 500 +pcl-501 HP DeskJet 500C +pcl-520 HP DeskJet 520 +pcl-540 HP DeskJet 540C +pcl-550 HP DeskJet 550C +pcl-560 HP DeskJet 560C +pcl-600 HP DeskJet 600/600C (Single Cartridge) +pcl-601 HP DeskJet 600 series (2 Cartridge) +pcl-690 HP DeskJet 690 series (Photo-Ink capable) +pcl-810 HP DeskJet 810C +pcl-812 HP DeskJet 812C +pcl-840 HP DeskJet 840C +pcl-842 HP DeskJet 842C +pcl-845 HP DeskJet 845C +pcl-850 HP DeskJet 850C +pcl-855 HP DeskJet 855C +pcl-870 HP DeskJet 870C +pcl-890 HP DeskJet 890C +pcl-895 HP DeskJet 895C +pcl-900 HP DeskJet 900 series +pcl-P1000 HP PhotoSmart P1000 +pcl-1100 HP DeskJet 1100C +pcl-P1100 HP PhotoSmart P1100 +pcl-1120 HP DeskJet 1120C +pcl-1200 HP DeskJet 1200C +pcl-1220 HP DeskJet 1220C +pcl-1600 HP DeskJet 1600C +pcl-2000 HP DeskJet 2000 series +pcl-2500 HP DeskJet 2500 series +pcl-2 HP LaserJet II series +pcl-3 HP LaserJet III series +pcl-4 HP LaserJet 4 series +pcl-4l HP LaserJet 4L +pcl-4v HP LaserJet 4V, 4Si +pcl-5 HP LaserJet 5 series +pcl-5si HP LaserJet 5Si +pcl-6 HP LaserJet 6 series +lexmark-4076 Lexmark 4076 (PCL printer) +lexmark-z42 Lexmark Z42 +lexmark-z43 Lexmark Z43 +lexmark-z52 Lexmark Z52 +lexmark-z53 Lexmark Z53 + Most or all of the Epson Stylus printers are fully functional. The others vary. In particular, all of the listed Epson Stylus Photo printers print in full 6-color photo mode; most of the others do not. --- gimp-print-4.2.7/src/ghost/gdevstp.c +++ gimp-print-4.2.7/src/ghost/gdevstp.c 2008-02-21 18:30:21.628617571 +0100 @@ -38,9 +38,12 @@ #include <gimp-print/gimp-print.h> #endif +#include "iref.h" +#include "main.h" + /* internal debugging output ? */ -private int stp_debug = 0; +static int stp_debug = 0; #define STP_DEBUG(x) do { if (stp_debug || getenv("STP_DEBUG")) x; } while (0) @@ -49,15 +52,15 @@ private int stp_debug = 0; #define X_DPI 360 #define Y_DPI 360 -private dev_proc_map_rgb_color(stp_map_16m_rgb_color); -private dev_proc_map_color_rgb(stp_map_16m_color_rgb); -private dev_proc_print_page(stp_print_page); -private dev_proc_get_params(stp_get_params); -private dev_proc_put_params(stp_put_params); -private dev_proc_open_device(stp_open); +static dev_proc_map_rgb_color(stp_map_16m_rgb_color); +static dev_proc_map_color_rgb(stp_map_16m_color_rgb); +static dev_proc_print_page(stp_print_page); +static dev_proc_get_params(stp_get_params); +static dev_proc_put_params(stp_put_params); +static dev_proc_open_device(stp_open); /* 24-bit color. ghostscript driver */ -private const gx_device_procs stpm_procs = +static const gx_device_procs stpm_procs = prn_color_params_procs( stp_open, /*gdev_prn_open,*/ /* open file, delegated */ gdev_prn_output_page, /* output page, delegated */ @@ -75,7 +78,7 @@ prn_device(stpm_procs, "stp", 0, 0, 0, 0, /* margins */ 24, stp_print_page); -/* private data structure */ +/* static data structure */ typedef struct { int topoffset; /* top offset in pixels */ @@ -84,7 +87,7 @@ typedef struct } privdata_t; /* global variables, RO for subfunctions */ -private privdata_t stp_data = +static privdata_t stp_data = { 0, 0, NULL }; typedef struct @@ -137,89 +140,89 @@ static stp_image_t theImage = * ghostscript driver function calls * ***********************************************************************/ -private void +static void stp_dbg(const char *msg, const privdata_t *stp_data) { - fprintf(gs_stderr,"%s Settings: c: %f m: %f y: %f\n", + errprintf("%s Settings: c: %f m: %f y: %f\n", msg, stp_get_cyan(stp_data->v), stp_get_magenta(stp_data->v), stp_get_yellow(stp_data->v)); - fprintf(gs_stderr, "Ink type %s\n", stp_get_ink_type(stp_data->v)); + errprintf_nomem("Ink type %s\n", stp_get_ink_type(stp_data->v)); - fprintf(gs_stderr,"Settings: bright: %f contrast: %f\n", + errprintf_nomem("Settings: bright: %f contrast: %f\n", stp_get_brightness(stp_data->v), stp_get_contrast(stp_data->v)); - fprintf(gs_stderr,"Settings: Gamma: %f Saturation: %f Density: %f\n", + errprintf_nomem("Settings: Gamma: %f Saturation: %f Density: %f\n", stp_get_gamma(stp_data->v), stp_get_saturation(stp_data->v), stp_get_density(stp_data->v)); - fprintf(gs_stderr, "Settings: width %d, height %d\n", + errprintf_nomem("Settings: width %d, height %d\n", stp_get_page_width(stp_data->v), stp_get_page_height(stp_data->v)); - fprintf(gs_stderr, "Settings: output type %d image type %d\n", + errprintf_nomem("Settings: output type %d image type %d\n", stp_get_output_type(stp_data->v), stp_get_image_type(stp_data->v)); - fprintf(gs_stderr, "Settings: Quality %s\n", + errprintf_nomem("Settings: Quality %s\n", stp_get_resolution(stp_data->v)); - fprintf(gs_stderr, "Settings: Dither %s\n", + errprintf_nomem("Settings: Dither %s\n", stp_get_dither_algorithm(stp_data->v)); - fprintf(gs_stderr, "Settings: InputSlot %s\n", + errprintf_nomem("Settings: InputSlot %s\n", stp_get_media_source(stp_data->v)); - fprintf(gs_stderr, "Settings: MediaType %s\n", + errprintf_nomem("Settings: MediaType %s\n", stp_get_media_type(stp_data->v)); - fprintf(gs_stderr, "Settings: MediaSize %s\n", + errprintf_nomem("Settings: MediaSize %s\n", stp_get_media_size(stp_data->v)); - fprintf(gs_stderr, "Settings: Model %s\n", stp_get_driver(stp_data->v)); - fprintf(gs_stderr, "Settings: InkType %s\n", stp_get_ink_type(stp_data->v)); - fprintf(gs_stderr, "Settings: OutputTo %s\n", stp_get_output_to(stp_data->v)); + errprintf_nomem("Settings: Model %s\n", stp_get_driver(stp_data->v)); + errprintf_nomem("Settings: InkType %s\n", stp_get_ink_type(stp_data->v)); + errprintf_nomem("Settings: OutputTo %s\n", stp_get_output_to(stp_data->v)); } -private void +static void stp_print_dbg(const char *msg, gx_device_printer *pdev, const privdata_t *stp_data) { STP_DEBUG(if (pdev) - fprintf(gs_stderr,"%s Image: %d x %d pixels, %f x %f dpi\n", + errprintf_nomem("%s Image: %d x %d pixels, %f x %f dpi\n", msg, pdev->width, pdev->height, pdev->x_pixels_per_inch, pdev->y_pixels_per_inch)); STP_DEBUG(stp_dbg(msg, stp_data)); } -private void +static void stp_print_debug(const char *msg, gx_device *pdev, const privdata_t *stp_data) { STP_DEBUG(if (pdev) - fprintf(gs_stderr,"%s Image: %d x %d pixels, %f x %f dpi\n", + errprintf_nomem("%s Image: %d x %d pixels, %f x %f dpi\n", msg, pdev->width, pdev->height, pdev->x_pixels_per_inch, pdev->y_pixels_per_inch)); STP_DEBUG(stp_dbg(msg, stp_data)); } -private void +static void stp_init_vars(void) { - STP_DEBUG(fprintf(gs_stderr, "Calling ")); + STP_DEBUG(errprintf_nomem("Calling ")); if (! stp_data.v) { - STP_DEBUG(fprintf(gs_stderr, "and initializing ")); + STP_DEBUG(errprintf_nomem("and initializing ")); stp_init(); stp_data.v = stp_allocate_vars(); stp_set_driver(stp_data.v, ""); /* stp_set_media_size(stp_data.v, "Letter"); */ } - STP_DEBUG(fprintf(gs_stderr, "stp_init_vars\n")); + STP_DEBUG(errprintf_nomem("stp_init_vars\n")); } -private void +static void stp_writefunc(void *file, const char *buf, size_t bytes) { FILE *prn = (FILE *)file; fwrite(buf, 1, bytes, prn); } -private int +static int stp_print_page(gx_device_printer * pdev, FILE * file) { stp_priv_image_t gsImage; - private int printvars_merged = 0; + static int printvars_merged = 0; int code; /* return code */ stp_printer_t printer = NULL; uint stp_raster; @@ -227,6 +230,10 @@ stp_print_page(gx_device_printer * pdev, stp_papersize_t p; theImage.rep = &gsImage; + const gs_main_instance * minst = get_minst_from_memory(gs_lib_ctx_get_non_gc_memory_t()); + const gs_memory_t *imem = minst->heap; + FILE *stp_err = imem->gs_lib_ctx->fstderr; + stp_init_vars(); stp_print_dbg("stp_print_page", pdev, &stp_data); code = 0; @@ -234,7 +241,7 @@ stp_print_page(gx_device_printer * pdev, printer = stp_get_printer_by_driver(stp_get_driver(stp_data.v)); if (printer == NULL) { - fprintf(gs_stderr, "Printer %s is not a known printer model\n", + errprintf_nomem("Printer %s is not a known printer model\n", stp_get_driver(stp_data.v)); return_error(gs_error_rangecheck); } @@ -277,7 +284,7 @@ stp_print_page(gx_device_printer * pdev, stp_set_outfunc(stp_data.v, stp_writefunc); stp_set_errfunc(stp_data.v, stp_writefunc); stp_set_outdata(stp_data.v, file); - stp_set_errdata(stp_data.v, gs_stderr); + stp_set_errdata(stp_data.v, stp_err); if (stp_printer_get_printfuncs(printer)->verify(printer, stp_data.v)) (stp_printer_get_printfuncs(printer)->print) (printer, &theImage, stp_data.v); @@ -296,17 +303,17 @@ stp_print_page(gx_device_printer * pdev, /* 24-bit color mappers (taken from gdevmem2.c). */ /* Map a r-g-b color to a color index. */ -private gx_color_index -stp_map_16m_rgb_color(gx_device * dev, gx_color_value r, gx_color_value g, - gx_color_value b) +static gx_color_index +stp_map_16m_rgb_color(gx_device * dev, const gx_color_value cv[]) { + gx_color_value r = cv[0], g = cv[1], b = cv[2]; return gx_color_value_to_byte(b) + ((uint) gx_color_value_to_byte(g) << 8) + ((ulong) gx_color_value_to_byte(r) << 16); } /* Map a color index to a r-g-b color. */ -private int +static int stp_map_16m_color_rgb(gx_device * dev, gx_color_index color, gx_color_value prgb[3]) { @@ -316,32 +323,32 @@ stp_map_16m_color_rgb(gx_device * dev, g return 0; } -private int +static int stp_write_float(gs_param_list *plist, const char *name, float value) { return param_write_float(plist, name, &value); } -private int +static int stp_write_int(gs_param_list *plist, const char *name, int value) { return param_write_int(plist, name, &value); } -private char * +static char * c_strdup(const char *s) { char *ret; if (!s) { - STP_DEBUG(fprintf(gs_stderr, "c_strdup null ptr\n")); + STP_DEBUG(errprintf_nomem("c_strdup null ptr\n")); ret = malloc(1); ret[0] = 0; return ret; } else { - STP_DEBUG(fprintf(gs_stderr, "c_strdup |%s|\n", s)); + STP_DEBUG(errprintf_nomem("c_strdup |%s|\n", s)); ret = malloc(strlen(s) + 1); strcpy(ret, s); return ret; @@ -354,7 +361,7 @@ c_strdup(const char *s) * for maximum quality out of the photo printer */ /* Yeah, I could have used a list for the options but... */ -private int +static int stp_get_params(gx_device *pdev, gs_param_list *plist) { int code; @@ -415,7 +422,7 @@ stp_get_params(gx_device *pdev, gs_param free(pinktypestr); free(palgorithmstr); free(pqualitystr); - STP_DEBUG(fprintf(stderr, "stp_get_params returns %d\n", code)); + STP_DEBUG(errprintf_nomem("stp_get_params returns %d\n", code)); return code; } @@ -450,7 +457,7 @@ do { \ } \ } while (0) -private int +static int stp_put_params(gx_device *pdev, gs_param_list *plist) { const stp_vars_t lower = stp_minimum_settings(); @@ -524,11 +531,11 @@ stp_put_params(gx_device *pdev, gs_param return code; } - STP_DEBUG(fprintf(gs_stderr, "pmodel.size %d pmodel.data %s\n", + STP_DEBUG(errprintf_nomem("pmodel.size %d pmodel.data %s\n", pmodel.size, pmodel.data)); - STP_DEBUG(fprintf(gs_stderr, "pinktype.size %d pinktype.data %s\n", + STP_DEBUG(errprintf_nomem("pinktype.size %d pinktype.data %s\n", pinktype.size, pinktype.data)); - STP_DEBUG(fprintf(gs_stderr, "pquality.size %d pquality.data %s\n", + STP_DEBUG(errprintf_nomem("pquality.size %d pquality.data %s\n", pquality.size, pquality.data)); stp_set_driver_n(stp_data.v, pmodel.data, pmodel.size); printer = stp_get_printer_by_driver(stp_get_driver(stp_data.v)); @@ -559,7 +566,7 @@ stp_put_params(gx_device *pdev, gs_param return code; } -private int +static int stp_open(gx_device *pdev) { /* Change the margins if necessary. */ @@ -572,9 +579,9 @@ stp_open(gx_device *pdev) if (!printer) { if (strlen(stp_get_driver(stp_data.v)) == 0) - fprintf(gs_stderr, "Printer must be specified with -sModel\n"); + errprintf_nomem("Printer must be specified with -sModel\n"); else - fprintf(gs_stderr, "Printer %s is not a known model\n", + errprintf_nomem("Printer %s is not a known model\n", stp_get_driver(stp_data.v)); return_error(gs_error_undefined); } @@ -599,7 +606,7 @@ stp_open(gx_device *pdev) stp_data.bottom = bottom + height-top; stp_print_debug("stp_open", pdev, &stp_data); - STP_DEBUG(fprintf(gs_stderr, "margins: l %f b %f r %f t %f\n", + STP_DEBUG(errprintf_nomem("margins: l %f b %f r %f t %f\n", st[0], st[1], st[2], st[3])); gx_device_set_margins(pdev, st, true); @@ -612,7 +619,7 @@ stp_open(gx_device *pdev) ***********************************************************************/ /* get one row of the image */ -private stp_image_status_t +static stp_image_status_t Image_get_row(stp_image_t *image, unsigned char *data, int row) { stp_priv_image_t *im = (stp_priv_image_t *) (image->rep); @@ -644,14 +651,14 @@ Image_get_row(stp_image_t *image, unsign } /* return bpp of picture (24 here) */ -private int +static int Image_bpp(stp_image_t *image) { return 3; } /* return width of picture */ -private int +static int Image_width(stp_image_t *image) { stp_priv_image_t *im = (stp_priv_image_t *) (image->rep); @@ -665,7 +672,7 @@ Image_width(stp_image_t *image) input */ -private int +static int Image_height(stp_image_t *image) { stp_priv_image_t *im = (stp_priv_image_t *) (image->rep); @@ -682,55 +689,55 @@ Image_height(stp_image_t *image) /* calculate new image height */ tmp2 *= (float)(im->dev->x_pixels_per_inch) / 72.; - STP_DEBUG(fprintf(gs_stderr,"corrected page height %f\n",tmp2)); + STP_DEBUG(errprintf_nomem("corrected page height %f\n",tmp2)); return (int)tmp2; } -private void +static void Image_rotate_ccw(stp_image_t *image) { /* dummy function, Landscape printing unsupported atm */ } -private void +static void Image_rotate_cw(stp_image_t *image) { /* dummy function, Seascape printing unsupported atm */ } -private void +static void Image_rotate_180(stp_image_t *image) { /* dummy function, upside down printing unsupported atm */ } -private void +static void Image_init(stp_image_t *image) { /* dummy function */ } -private void +static void Image_progress_init(stp_image_t *image) { /* dummy function */ } /* progress display */ -private void +static void Image_note_progress(stp_image_t *image, double current, double total) { - STP_DEBUG(fprintf(gs_stderr, ".")); + STP_DEBUG(errprintf_nomem(".")); } -private void +static void Image_progress_conclude(stp_image_t *image) { - STP_DEBUG(fprintf(gs_stderr, "\n")); + STP_DEBUG(errprintf_nomem("\n")); } -private const char * +static const char * Image_get_appname(stp_image_t *image) { return "GhostScript/stp"; --- gimp-print-4.2.7/src/ghost/gs-stp.1 +++ gimp-print-4.2.7/src/ghost/gs-stp.1 2008-02-21 18:27:55.689966406 +0100 @@ -0,0 +1,1634 @@ +'\" t +.TH \fBGS\-STP\fR 1 \fB2 Jul 2001\fR \fBVersion 4.2.5\fR \fBGIMP Manual Pages\fR +.UC 1 +.SH NAME +.TP +stp \- Ghostscript device driver for ESC/P, ESC/P2, RTL/PCL +.\" +.SH OPTIONS +.\" +Options for the stp driver are given in normal Ghostscript +manner. The resolution of the image calculated by Ghostscript is not +bound to the resolution of the printer output. It is for example +possible to specify \fB\-r360\fR to gs and print the output in 1440x720 +dpi (see below for driver parameter). The result is a somewhat faster +operation of the driver. +.PP +The device name is "stp" (\-sDEVICE=stp) +.PP +The driver will not permit use of invalid settings. +.PP +The options for this driver are very complex. We strongly recommend +use of a printer management system such as Foomatic rather than +configuring a spooler manually with this driver. The driver name used +by Foomatic is "gimp\-print". +.PP +.\" +.SS Overview for the IJS Driver: +.\" +.PP +Most options for the ijsgimpprint driver are similar to those for the +stp driver. The major difference is that most of the Gimp\-Print +specific options are bundled together into a single option that is +passed in as a special \fB\-sIjsParams\fR parameter, and the normal +Ghostscript \fB\-s\fR and \fB\-d\fR flags, indicating whether an option is a +string or a number, are not used in this special parameter. +.PP +The device name is "ijs" (\-sDEVICE=ijs). In addition, the location of +the driver program must be specified. This will typically be +/usr/bin/ijsgimpprint; the parameter in this case is +\fB\-sIjsServer=/usr/bin/ijsgimpprint\fR . +.PP +Also, \fB\-dIjsUseOutputFD\fR should be specified whenever output from +Ghostscript will go to stdout or into a pipe. It may be specified in +all other cases, with only a slight performance degradation. +.PP +The \fB\-sIjsParams\fR parameter contains a single string containing a +comma\-separated list of sub\-options: +.PP +\fB\-sIjsParams=Option1=Value1,Option2=Value2\fR +.PP +and so forth. +.PP +The options for this driver are very complex. We strongly recommend +use of a printer management system such as Foomatic rather than +configuring a spooler manually with this driver. The driver name used +by Foomatic is "gimp\-print\-ijs". +.PP +.\" +.SS Printer Model Selection (Option STP: \-sModel=name , IJS: \-sDeviceManufacturer=vendor \-sDeviceModel=name): +.\" +.PP +This option must be supplied. There is no default. The IJS driver +requires the vendor (it's part of the protocol), but the ijsgimpprint +driver ignores it. It should be CANON, EPSON, LEXMARK, or +HEWLETT\-PACKARD. The value of the \fB\-sDeviceModel\fR parameter is the same +as the value of the \fB\-sModel\fR parameter in the stp driver. +.PP +.\" +.RS 0l +.TS +; +l l. +model name printer +_ +bjc\-30 CANON BJC 30 +bjc\-50 CANON BJC 50 +bjc\-55 CANON BJC 55 +bjc\-80 CANON BJC 80 +bjc\-85 CANON BJC 85 +bjc\-210 CANON BJC 210 +bjc\-240 CANON BJC 240 +bjc\-250 CANON BJC 250 +bjc\-1000 CANON BJC 1000 +bjc\-2000 CANON BJC 2000 +bjc\-3000 CANON BJC 3000 +bjc\-4300 CANON BJC 4300 +bjc\-4400 CANON BJC 4400 photo +bjc\-6000 CANON BJC 6000 +bjc\-6100 CANON BJC 6100 +bjc\-6200 CANON BJC 6200 +bjc\-6500 CANON BJC 6500 +bjc\-7000 CANON BJC 7000 +bjc\-7100 CANON BJC 7100 +bjc\-8200 CANON BJC 8200 +bjc\-s200 CANON S200 +bjc\-s400 CANON S400 +bjc\-s450 CANON S450 +bjc\-s800 CANON S800 +bjc\-s4500 CANON S4500 +escp2\-c20sx EPSON Stylus C20SX +escp2\-c20ux EPSON Stylus C20UX +escp2\-c40sx EPSON Stylus C40SX +escp2\-c40ux EPSON Stylus C40UX +escp2\-c41sx EPSON Stylus C41SX +escp2\-c41ux EPSON Stylus C41UX +escp2\-c42sx EPSON Stylus C42SX +escp2\-c42ux EPSON Stylus C42UX +escp2\-c43sx EPSON Stylus C43SX +escp2\-c43ux EPSON Stylus C43UX +escp2\-c44sx EPSON Stylus C44SX +escp2\-c44ux EPSON Stylus C44UX +escp2\-c50 EPSON Stylus C50 +escp2\-c60 EPSON Stylus C60 +escp2\-c61 EPSON Stylus C61 +escp2\-c62 EPSON Stylus C62 +escp2\-c70 EPSON Stylus C70 +escp2\-c80 EPSON Stylus C80 +escp2\-c82 EPSON Stylus C82 +escp2\-c83 EPSON Stylus C83 +escp2\-c84 EPSON Stylus C84 +escp2 EPSON Stylus Color +escp2\-pro EPSON Stylus Color Pro +escp2\-pro\-xl EPSON Stylus Color Pro XL +escp2\-400 EPSON Stylus Color 400 +escp2\-440 EPSON Stylus Color 440 +escp2\-460 EPSON Stylus Color 460 +escp2\-480 EPSON Stylus Color 480 +escp2\-500 EPSON Stylus Color 500 +escp2\-580 EPSON Stylus Color 580 +escp2\-600 EPSON Stylus Color 600 +escp2\-640 EPSON Stylus Color 640 +escp2\-660 EPSON Stylus Color 660 +escp2\-670 EPSON Stylus Color 670 +escp2\-680 EPSON Stylus Color 680 +escp2\-740 EPSON Stylus Color 740 +escp2\-760 EPSON Stylus Color 760 +escp2\-777 EPSON Stylus Color 777 +escp2\-800 EPSON Stylus Color 800 +escp2\-850 EPSON Stylus Color 850 +escp2\-860 EPSON Stylus Color 860 +escp2\-880 EPSON Stylus Color 880 +escp2\-83 EPSON Stylus Color 83 +escp2\-900 EPSON Stylus Color 900 +escp2\-980 EPSON Stylus Color 980 +escp2\-1160 EPSON Stylus Color 1160 +escp2\-1500 EPSON Stylus Color 1500 +escp2\-1520 EPSON Stylus Color 1520 +escp2\-3000 EPSON Stylus Color 3000 +escp2\-photo EPSON Stylus Photo +escp2\-700 EPSON Stylus Photo 700 +escp2\-ex EPSON Stylus Photo EX +escp2\-ex3 EPSON Stylus Photo EX3 +escp2\-720 EPSON Stylus Photo 720 +escp2\-750 EPSON Stylus Photo 750 +escp2\-780 EPSON Stylus Photo 780 +escp2\-785 EPSON Stylus Photo 785EPX +escp2\-790 EPSON Stylus Photo 790 +escp2\-810 EPSON Stylus Photo 810 +escp2\-820 EPSON Stylus Photo 820 +escp2\-825 EPSON Stylus Photo 825 +escp2\-830 EPSON Stylus Photo 830 +escp2\-870 EPSON Stylus Photo 870 +escp2\-875 EPSON Stylus Photo 875 +escp2\-890 EPSON Stylus Photo 890 +escp2\-895 EPSON Stylus Photo 895 +escp2\-ph900 EPSON Stylus Photo 900 +escp2\-915 EPSON Stylus Photo 915 +escp2\-925 EPSON Stylus Photo 925 +escp2\-950 EPSON Stylus Photo 950 +escp2\-960 EPSON Stylus Photo 960 +escp2\-1200 EPSON Stylus Photo 1200 +escp2\-1270 EPSON Stylus Photo 1270 +escp2\-1280 EPSON Stylus Photo 1280 +escp2\-1290 EPSON Stylus Photo 1290 +escp2\-2000 EPSON Stylus Photo 2000P +escp2\-2100 EPSON Stylus Photo 2100 +escp2\-2200 EPSON Stylus Photo 2200 +escp2\-5000 EPSON Stylus Pro 5000 +escp2\-5500 EPSON Stylus Pro 5500 +escp2\-7000 EPSON Stylus Pro 7000 +escp2\-7500 EPSON Stylus Pro 7500 +escp2\-7600 EPSON Stylus Pro 7600 +escp2\-9000 EPSON Stylus Pro 9000 +escp2\-9500 EPSON Stylus Pro 9500 +escp2\-9600 EPSON Stylus Pro 9600 +escp2\-10000 EPSON Stylus Pro 10000 +escp2\-scan2000 EPSON Stylus Scan 2000 +escp2\-scan2500 EPSON Stylus Scan 2500 +escp2\-cx3200 EPSON Stylus CX\-3200 +escp2\-cx5200 EPSON Stylus CX\-5200 +escp2\-cl700 EPSON CL\-700 +escp2\-cl750 EPSON CL\-750 +escp2\-em900c EPSON EM\-900C +escp2\-em930c EPSON EM\-930C +escp2\-mc10000 EPSON MC\-10000 +escp2\-mc2000 EPSON MC\-2000 +escp2\-mc5000 EPSON MC\-5000 +escp2\-mc7000 EPSON MC\-7000 +escp2\-mc9000 EPSON MC\-9000 +escp2\-mj930c EPSON MJ\-930C +escp2\-mj5100c EPSON MJ\-5100C +escp2\-mj6000c EPSON MJ\-6000C +escp2\-mj8000c EPSON MJ\-8000C +escp2\-pm10000 EPSON PM\-10000 +escp2\-pm2000c EPSON PM\-2000C +escp2\-pm2200c EPSON PM\-2200C +escp2\-pm3000c EPSON PM\-3000C +escp2\-pm3300c EPSON PM\-3300C +escp2\-pm3500c EPSON PM\-3500C +escp2\-pm4000px EPSON PM\-4000PX +escp2\-pm5000c EPSON PM\-5000C +escp2\-pm7000c EPSON PM\-7000C +escp2\-pm700c EPSON PM\-700C +escp2\-pm730c EPSON PM\-730C +escp2\-pm750c EPSON PM\-750C +escp2\-pm760c EPSON PM\-760C +escp2\-pm770c EPSON PM\-770C +escp2\-pm780c EPSON PM\-780C +escp2\-pm790pt EPSON PM\-790PT +escp2\-pm800c EPSON PM\-800C +escp2\-pm850pt EPSON PM\-850PT +escp2\-pm880c EPSON PM\-880C +escp2\-pm9000c EPSON PM\-9000C +escp2\-pm950c EPSON PM\-950C +escp2\-pm970c EPSON PM\-970C +escp2\-px7000 EPSON PX\-7000 +escp2\-px9000 EPSON PX\-9000 +pcl\-desnj\-230 HP DesignJet 230 +pcl\-desnj\-250 HP DesignJet 250 +pcl\-desnj\-430 HP DesignJet 430 +pcl\-desnj\-450 HP DesignJet 450 +pcl\-desnj\-455 HP DesignJet 455 +pcl\-desnj\-488 HP DesignJet 488 +pcl\-desnj\-700 HP DesignJet 700 +pcl\-750 HP DesignJet 750C +pcl\-desnj\-2500 HP DesignJet 2500 +pcl\-desnj\-3500 HP DesignJet 3500 +pcl\-340 HP DeskJet 340 +pcl\-400 HP DeskJet 400 +pcl\-500 HP DeskJet 500 +pcl\-501 HP DeskJet 500C +pcl\-520 HP DeskJet 520 +pcl\-540 HP DeskJet 540C +pcl\-550 HP DeskJet 550C +pcl\-560 HP DeskJet 560C +pcl\-600 HP DeskJet 600/600C (Single Cartridge) +pcl\-601 HP DeskJet 600 series (2 Cartridge) +pcl\-690 HP DeskJet 690 series (Photo\-Ink capable) +pcl\-810 HP DeskJet 810C +pcl\-812 HP DeskJet 812C +pcl\-840 HP DeskJet 840C +pcl\-842 HP DeskJet 842C +pcl\-845 HP DeskJet 845C +pcl\-850 HP DeskJet 850C +pcl\-855 HP DeskJet 855C +pcl\-870 HP DeskJet 870C +pcl\-890 HP DeskJet 890C +pcl\-895 HP DeskJet 895C +pcl\-900 HP DeskJet 900 series +pcl\-P1000 HP PhotoSmart P1000 +pcl\-1100 HP DeskJet 1100C +pcl\-P1100 HP PhotoSmart P1100 +pcl\-1120 HP DeskJet 1120C +pcl\-1200 HP DeskJet 1200C +pcl\-1220 HP DeskJet 1220C +pcl\-1600 HP DeskJet 1600C +pcl\-2000 HP DeskJet 2000 series +pcl\-2500 HP DeskJet 2500 series +pcl\-2 HP LaserJet II series +pcl\-3 HP LaserJet III series +pcl\-4 HP LaserJet 4 series +pcl\-4l HP LaserJet 4L +pcl\-4v HP LaserJet 4V, 4Si +pcl\-5 HP LaserJet 5 series +pcl\-5si HP LaserJet 5Si +pcl\-6 HP LaserJet 6 series +lexmark\-4076 Lexmark 4076 (PCL printer) +lexmark\-z42 Lexmark Z42 +lexmark\-z43 Lexmark Z43 +lexmark\-z52 Lexmark Z52 +lexmark\-z53 Lexmark Z53 +_ +.TE +.RE +.PP +Most or all of the Epson Stylus printers are fully functional. The +others vary. In particular, all of the listed Epson Stylus Photo +printers print in full 6\-color photo mode; most of the others do not. +The color output has also been better tuned for Epson Stylus printers +than for others. +.PP +.\" +.SS Print Resolution Selection (Option STP: \-sQuality= , IJS: \-sIjsParams=Quality=): +.\" +.PP +The meaning of this is model\-specific. Two names are listed for each +resolution; the first (short) name is the value that must be passed to +\fB\-sQuality\fR, and the second (long) name is descriptive. Each printer +has its own default value; for most printers, this is a reasonable 300 +or 360 DPI resolution. +.PP +For Epson Stylus printers: +.PP +Within each specified resolution, the quality is generally listed from +worst to best (and generally higher quality means lower speed). For +example, 360 DPI Unidirectional is usually better than 360 DPI. +Characteristics of specific models and individual printers may affect +the orderings to some degree; on many printers, with certain papers, +unidirectional printing will improve quality substantially more than +using an otherwise better quality printing mode. +.PP +The difference between different quality settings lies in the number +of passes made over each line. \fBHigh\fR and \fBHighest\fR quality settings +perform more passes, printing fewer dots with each pass over the same +line and using different nozzles for each pass. This reduces banding +effects, but requires more time. +.PP +\fBInterleave\fR modes use algorithms within the printer to generate the +sequence of rows printed. These algorithms generally only work well +at low printing resolutions. Many printers do not support this kind +of printing at resolutions of 720 DPI and above, and some printers +that do actually print just one row (using just one nozzle per color) +at a time. While this particular use will produce extremely high +quality (no banding whatsoever, normally), it is extremely slow and +may eventually damage the print head due to ink pooling. All printers +that we are aware of have no such trouble at 360 DPI. +.PP +We generally recommend the following resolutions for the following +purposes: +.PP +.IP 360x90 +.IP 360x120 +Fast economy draft output on plain paper (output will be very +banded and not very dark). +.PP +.IP 180 +Economy draft output on plain paper (output will not be very +dark). +.PP +.IP 360x180 +.IP 360x240 +Draft output on plain paper (output will not be solidly +black); economy draft output on good quality inkjet paper. +.PP +.IP 360 +Standard quality output on plain paper (output will be +solidly black); draft output on good quality inkjet paper. +.PP +.IP 720x360 +High quality output on plain paper; standard output on good +quality inkjet paper. +.PP +.IP 720 +Maximum quality on plain paper; high quality on good inkjet +paper; proofs on photo\-quality paper. On many printers, +there will be little difference between this and 720x360 on +plain paper. +.PP +.IP 1440x720 +High quality on photo paper; use 1440x720 Highest Quality to +reduce microbanding if needed. While this will work on plain +paper, it usually offers little improvement over 720 DPI. +.PP +.IP 2880x720 +Highest quality on photo paper. While this may yield +slightly improved quality, it will generally not be markedly +superior to 1440x720 Highest Quality, except on the Stylus +Color 980 and Stylus C70 and C80, where it may yield a +noticeable improvement. It takes as long to print as +1440x720 highest quality, but twice as long to generate the +output. +.PP +.IP 1440x1440 +An unsupported mode that offers higher quality than 2880x720 +for certain types of images on very high quality paper. It +does not appear to offer any advantage on smooth tones, but +fine detail (particularly vertical, and to a lesser extent +near\-horizontal) it shows noticeable improvement. It takes +as long to print as 2880x720. 1440x1440 highest quality +takes twice as long to print. +.PP +.IP 2880x1440 +An unsupported mode that may offer higher quality than +2880x720 for certain types of images on very high quality +paper. Experiments conducted thus far demonstrate little if +any improvement over 1440x1440. It takes twice as long to +print as 2880x720 or 1440x1440, and as long to print as +1440x1440 highest quality. +.PP +The following resolutions are supported on printers other than the +Stylus Pro (5000, 5500, 7000, 7500, 9000, 9500, and 10000) printers. +Resolutions for those printers are listed in a later section. Please +see the notes at the end of this section. +.PP +.RS 0l +.TS +; +l l l. + +_ +360x90dpi 360 x 90 DPI Fast Economy Draft (1) +180dpi 180 DPI Economy Draft (2) +360x180dpi 360 x 180 DPI Draft (2) +360x180sw 360 x 180 DPI Draft (3) +360x120dpi 360 x 120 DPI Economy Draft (4) +360x120sw 360 x 120 DPI Economy Draft (5) +360x240dpi 360 x 240 DPI Draft (4) +360x240sw 360 x 240 DPI Draft (5) +360dpi 360 DPI (6) +360uni 360 DPI Unidirectional (6) +360mw 360 DPI Interleave (6, *) +360mwuni 360 DPI Interleave Unidirectional (6) +360sw 360 DPI (7, 17, *) +360swuni 360 DPI Unidirectional (7, 17) +360hq 360 DPI High Quality (7, 8, 17) +360hquni 360 DPI High Quality Unidirectional (7, 8, 17) +720x360sw 720 x 360 DPI (9, 10) +720x360swuni 720 x 360 DPI Unidirectional (9, 10) +720mw 720 DPI Interleave (11) +720mwuni 720 DPI Interleave Unidirectional (11) +720sw 720 DPI (9) +720swuni 720 DPI Unidirectional (9) +720hq 720 DPI High Quality (9) +720hquni 720 DPI High Quality Unidirectional (9) +720hq2 720 DPI Highest Quality (9) +1440x720mw 1440 x 720 DPI Interleave (12) +1440x720mwuni 1440 x 720 DPI Interleave Unidirectional (12) +1440x720sw 1440 x 720 DPI (13) +1440x720swuni 1440 x 720 DPI Unidirectional (13, 14) +1440x720hq 1440 x 720 DPI Highest Quality (13) +2880x720sw 2880 x 720 DPI (15) +2880x720swuni 2880 x 720 DPI Unidirectional (15) +1440x1440sw 1440 x 1440 DPI (16) +1440x1440hq2 1440 x 1440 DPI Highest Quality (16) +2880x1440sw 2880 x 1440 DPI (16) +_ +.TE +.RE +.PP +.IP (*) +This resolution is the default on all printers supporting this +setting. +.PP +.IP (1) +Works on printers that have a basic vertical spacing of 1/90". +This includes the Stylus Color, Stylus Color 440, 460, 600, 640, +660, 670, and 1500, and Stylus Photo, Stylus Photo 700, 720, and +EX. +.PP +.IP (2) +Works on most printers that have a basic vertical spacing of 1/90, +1/180, or 1/360 inch. This includes Stylus Color, Stylus Color +440, 460, 600, 640, 660, 670, 800, 850, 900, 980, 1500, 1520, +3000, and Stylus Photo, Stylus Photo 700, 720 and EX. +.PP +.IP (3) +Works on Stylus C70, C80, and C82; and Stylus Photo 950, 960, +2100, and 2200. +.PP +.IP (4) +Works on older printers with dot spacing of 1/120 inch. This +includes the Stylus Color Pro, Pro XL, 400, and 500. +.PP +.IP (5) +Works on newer printers with dot spacing of 1/120 inch. This +includes the Stylus C20, C40, C41, C42, C60, C61, and C62; the +Stylus Color 480, 580, 680, 740, 760, 777, 860, 880, 83, and 1160, +and the Stylus Photo 750, 780, 785, 790, 810, 820, 830, 870, 875, +890, 895, 915, 925, 1270, 1280, 1290, and 2000P, and the Stylus +Scan 2000 and 2500. +.PP +.IP (6) +Works on all printers that do not support variable drop sizes. +This includes the Stylus Color, Stylus Color 400, 440, 460, 500, +600, 640, 660, 800, 850, 1500, 1520, and 3000, Stylus Color Pro, +Stylus Color Pro XL, and Stylus Photo, Stylus Photo 700, and EX. +.PP +.IP (7) +Works on all printers that do support variable drop sizes. This +includes all supported Epson Stylus printers except for those +listed in note (6). +.PP +.IP (8) +Recommended only on processors slower than 200 MHz, the system is +heavily loaded with a faster processor, or if problems are +experienced at 720x360. +.PP +.IP (9) +Works on all supported printers except for Stylus Color, Stylus +Color Pro, Stylus Color Pro XL, Stylus Color 1500, 1520, and 3000. +.PP +.IP (10) +On printers that do not support variable drop size (see note (4)), +this will print as fast as 360 DPI, and faster than 360 DPI High +Quality. It will take twice as long to generate output, which may +be important on a heavily loaded system or a processor slower than +200 MHz. +.PP +.IP (11) +Works on some older printers, including the Stylus Color, Stylus +Color 400, 500, 600, 800, 850, 1500, 1520, and 3000, Stylus Color +Pro, and Stylus Color Pro XL. Not recommended except for the +Stylus Color, Stylus Color 1500, 1520, and 3000. +.PP +.IP (12) +Works on Stylus Color 600, 800, 850, 1520, and 3000. Not +recommended unless other 1440x720 modes do not work. +.PP +.IP (13) +Works on all printers that support 1440x720 DPI. This includes +all supported printers except for the Stylus Color, Stylus Color +Pro, Pro XL, 400, 440, 460, 480, 500, and 1500, and Stylus Photo. +In addition, this may not work correctly on Stylus Color 1520 and +Stylus Color 3000. +.PP +.IP (14) +This is identical to 1440 x 720 Highest Quality (1440x720hq) on +the Stylus Color 900. +.PP +.IP (15) +Works on all printers that support 2880x720 DPI. This includes +the Stylus C60, C61, C62, C70, C80, and C82, the Stylus Color 680, +777, 880, 83, and 980, and Stylus Photo 780, 790, 810, 820, 830, +890, 915, 925, 950, 960, 1280, and 1290. This resolution is +offered on the Stylus Photo 2100 and 2200, but may not work +correctly. +.PP +.IP (16) +Works on Epson Stylus Photo 830, 925, 950, 960, 2100, 2200; +Stylus C61, C62, C70, C80, C82 ; Stylus Pro 7600 and 9600. This +resolution is not supported by Epson on the C70 and C80, but it +works correctly on at least some such printers. +.PP +.IP (17) +These resolutions print at particularly high speed on the Epson +Stylus Photo 950, 960, 2100, and 2200 when printing in Four Color +Standard or Three Color Composite modes, or when printing in +monochrome or grayscale with any ink type other than Two Level +Grayscale, Seven Color Photo, or Quadtone. +.PP +The Stylus Pro printers (Stylus Pro 5000, 5500, 7000, 7500, 7600, +9000, 9500, 9600, and 10000) support additional interleave modes known +as Full Overlap (FOL), Four Pass, and FOL2. The Stylus Pro 5500, +7500, 7600, 9500, 9600, and 10000 additionally have a mode called MW2. +These modes can only be used at certain resolutions. Stylus Pro +printers support the following resolutions: +.PP +.\" +.RS 0l +.TS +; +l l. + +_ +180dpi 180 DPI +360dpi 360 DPI +360uni 360 DPI Unidirectional +360mw 360 DPI Interleave +360mwuni 360 DPI Interleave Unidirectional +360fol 360 DPI Full Overlap +360foluni 360 DPI Full Overlap Unidirectional +360fol2 360 DPI FOL2 +360fol2uni 360 DPI FOL2 Unidirectional +360mw2 360 DPI MW2 +360mw2uni 360 DPI MW2 Unidirectional +720x360dpi 720 x 360 DPI +720x360uni 720 x 360 DPI Unidirectional +720x360fol 720 x 360 DPI FOL +720x360foluni 720 x 360 DPI FOL Unidirectional +720x360fol2 720 x 360 DPI FOL2 +720x360fol2uni 720 x 360 DPI FOL2 Unidirectional +720x360mw2 720 x 360 DPI MW2 +720x360mw2uni 720 x 360 DPI MW2 Unidirectional +720dpi 720 DPI +720uni 720 DPI Unidirectional +720mw 720 DPI Interleave +720mwuni 720 DPI Interleave Unidirectional +720fol 720 DPI Full Overlap +720foluni 720 DPI Full Overlap Unidirectional +720fourp 720 DPI Four Pass +720fourpuni 720 DPI Four Pass Unidirectional +1440x720dpi 1440 x 720 DPI +1440x720uni 1440 x 720 DPI Unidirectional +1440x720mw 1440 x 720 DPI Interleave +1440x720mwuni 1440 x 720 DPI Interleave Unidirectional +1440x720fol 1440 x 720 DPI FOL +1440x720foluni 1440 x 720 DPI FOL Unidirectional +1440x720fourp 1440 x 720 DPI Four Pass +1440x720fourpuni 1440 x 720 DPI Four Pass Unidirectional +_ +.TE +.RE +.PP +In addition, the Stylus Pro 7600 and 9600 printers support the +following resolutions: +.PP +.\" +.RS 0l +.TS +; +l l. + +_ +2880x720dpi 2880 x 720 DPI +2880x720uni 2880 x 720 DPI Unidirectional +2880x720mw 2880 x 720 DPI Interleave +2880x720mwuni 2880 x 720 DPI Interleave Unidirectional +2880x720fol 2880 x 720 DPI FOL +2880x720foluni 2880 x 720 DPI FOL Unidirectional +2880x720fourp 2880 x 720 DPI Four Pass +2880x720fourpuni 2880 x 720 DPI Four Pass Unidirectional +1440x1440dpi 1440 x 1440 DPI +1440x1440uni 1440 x 1440 DPI Unidirectional +1440x1440mw 1440 x 1440 DPI Interleave +1440x1440mwuni 1440 x 1440 DPI Interleave Unidirectional +1440x1440fol 1440 x 1440 DPI FOL +1440x1440foluni 1440 x 1440 DPI FOL Unidirectional +1440x1440fourp 1440 x 1440 DPI Four Pass +1440x1440fourpuni 1440 x 1440 DPI Four Pass Unidirectional +2880x1440dpi 2880 x 1440 DPI +2880x1440uni 2880 x 1440 DPI Unidirectional +2880x1440mw 2880 x 1440 DPI Interleave +2880x1440mwuni 2880 x 1440 DPI Interleave Unidirectional +2880x1440fol 2880 x 1440 DPI FOL +2880x1440foluni 2880 x 1440 DPI FOL Unidirectional +2880x1440fourp 2880 x 1440 DPI Four Pass +2880x1440fourpuni 2880 x 1440 DPI Four Pass Unidirectional +_ +.TE +.RE +.PP +.I For PCL printers +(including Hewlett\-Packard and Lexmark 4076): +.PP +.\" +.RS 0l +.TS +; +l l l. + +_ +150dpi 150x150 DPI (should work on all printers) +300dpi 300x300 DPI (should work on all printers, C\-RET on + DJ 850/855/870/890) +600x300dpi 600x300 DPI (DJ 6xx/810/812/840/842/895) +600mono 600x600 DPI monochrome + (DJ 6xx (except 69x) /8xx/1100/1120) +600dpi 600x600 DPI (DJ 69x/840/9xx/1220/2000/2500, + PhotoSmart P1000/P1100, LJ5/5Si/6) +_ +.TE +.RE +.PP +Note: the higher resolutions of newer PCL printers using "Photo\-Ret" are +not yet supported. +.PP +.I For Lexmark printers other than the 4076: +.PP +.\" +.RS 0l +.TS +; +l l l. + +_ +300x600dpi 300 DPI x 600 DPI +600dpi 600 DPI +600hq 600 DPI high quality +600uni 600 DPI Unidirectional +1200dpi 1200 DPI +1200hq 1200 DPI high quality +1200hq2 1200 DPI highest quality +1200uni 1200 DPI Unidirectional +2400x1200dpi 2400 DPI x 1200 DPI (Z52) +2400x1200hq 2400 DPI x 1200 DPI high quality (Z52) +2400x1200hq2 2400 DPI x 1200 DPI highest quality (Z52) +_ +.TE +.RE +.PP +.I For Canon printers: +.PP +1200 DPI printers (BJC 7000, BJC 7100, BJC 8500): +.PP +.\" +.RS 0l +.TS +; +l l. + +_ +300x300dpi 300x300 DPI +300x300dmt 300x300 DPI DMT +600x600dpi 600x600 DPI +600x600dmt 600x600 DPI DMT +1200x600dpi 1200x600 DPI +1200x1200dpi 1200x1200 DPI +_ +.TE +.RE +.PP +.IP "1440 DPI printers" +(BJC 30, BJC 50, BJC 55, BJC 80, BJC 85, BJC 210, +BJC 240, BJC 250, BJC 1000, BJC 2000, BJC 3000, BJC 4300, BJC +4400, BJC 6000, BJC 6100, BJC 6200, BJC 6500, BJC 8200, S400, +S450, S800, S4500): +.PP +.\" +.RS 0l +.TS +; +l l. + +_ +360x360dpi 360x360 DPI +360x360dmt 360x360 DPI DMT +720x360dpi 720x360 DPI +720x720dpi 720x720 DPI +1440x720dpi 1440x720 DPI +1440x1440dpi 1440x1440 DPI +_ +.TE +.RE +.PP +.SS Ink Types +.PP +This is printer type specific. The option names are case sensitive. +The option names are case sensitive. Two names are listed for each +resolution; the first (short) name is the value that must be passed to +\fB\-sInkType\fR, and the second (long) name is descriptive. Not all ink +types are supported on all printers. +.PP +Option STP: \-sInkType=inktype +Option IJS: \-sIjsParams=InkType=inktype +.PP +.PP +For Epson and Lexmark (other than the 4076) printers: +.PP +Six color printers can print using four color inks or all six colors. +Six color mode is recommended for photographs. Four color mode may be +useful when printing text with embedded graphics to reduce ink +consumption, or to print higher quality with Ordered, Fast, or Very +Fast dithering (see below). +.PP +The \fBComposite\fR modes use only color inks (no black) to produce all +colors and black. These ink types are rarely useful, but on certain +types of paper they may produce a smoother image than that produced by +mixing black ink in. The Epson Stylus Color 1500 cannot mix black ink +with colored inks; on this printer, Three Color Composite must be +used. +.PP +.RS 0l +.TS +; +l l. + +Photo7 Seven Color Photo (CcMmYKk, for the Epson Stylus + Photo 2100 and 2200, and Stylus Pro 7600 and 9600) +PhotoCMYK Six Color Photo +PhotoCMY Five Color Photo Composite +CMYK Four Color Standard +RGB Three Color Composite +Quadtone Quadtone grayscale inks (special third party inksets + designed to produce superior results for grayscale + images) +Gray2 Two Level Grayscale (Kk, for the Epson stylus Photo + 2100 and 2200, and Stylus Pro 7600 and 9600) +.TE +.RE +.PP +.I For Canon printers: +.PP +.RS 0l +.TS +; +l l. + +Gray Black +RGB Color +CMYK Black/Color +PhotoCMY Photo/Color +PhotoCMYK Photo +.TE +.RE +.PP +.I For PCL (Hewlett\-Packard and Lexmark 4076) color printers: +.PP +.RS 0l +.TS +; +l l. + +CMYK Color + Black Cartridges +Photo Color + Photo Cartridges (For Deskjet 69x only) +.TE +.RE +.PP +Black and white PCL printers (laser printers, in particular) do not +allow any value to be specified for the ink type. +.PP +.SS Media Types +.PP +This is printer type specific. The option names are case sensitive. +Two names are listed for each resolution; the first (short) name is +the value that must be passed to \-sMediaType, and the second (long) name +is descriptive. +.PP +Option STP: \-sMediaType=mediatype +Option IJS: \-sIjsParams=MediaType=mediatype +.PP +.PP +For Epson and Lexmark (other than the 4076) inkjet printers: +.PP +.RS 0l +.TS +; +l l. + +Plain Plain Paper +PlainFast Plain Paper Fast Load +Postcard Postcard +GlossyFilm Glossy Film +Transparency Transparencies +Envelope Envelopes +BackFilm Back Light Film +Matte Matte Paper +Inkjet Inkjet Paper +Coated Photo Quality Inkjet Paper +GlossyPhoto Premium Glossy Photo Paper +Luster Premium Luster Photo Paper +Photo Photo Paper +Glossy Photo Quality Glossy Paper +Ilford Ilford Heavy Paper +Other Other +.TE +.RE +.PP +We have found that glossy photo papers not specifically designed for +Epson printers generally perform poorly in Epson printers. The ink +tends to pool on the paper, causing muddy shadows and possibly leaving +ink on the printer rollers. Use of the highest quality printing modes +(1440x720 highest quality and 2880x720 unidirectional) produces the +best result on such papers, probably because printing is slower and +there is more time for the ink to dry. +.PP +.I For Canon printers: +.PP +.RS 0l +.TS +; +l l. + +Plain Plain Paper +Transparency Transparencies +BackFilm Back Print Film +Fabric Fabric Sheets +Envelope Envelope +Coated High Resolution Paper +TShirt T\-Shirt Transfers +GlossyFilm High Gloss Film +GlossyPaper Glossy Photo Paper +GlossyCards Glossy Photo Cards +GlossyPro Photo Paper Pro +.TE +.RE +.PP +For PCL (Hewlett\-Packard and Lexmark 4076) inkjet printers: +.PP +.RS 0l +.TS +; +l l. + +Plain Plain +Bond Bond +Premium Premium +Glossy Glossy/Photo +Transparency Transparency +GlossyQD Quick\-dry Photo +TransparencyQD Quick\-dry Transparency +.TE +.RE +.PP +PCL laser printers do not allow specification of any media type. +.PP +.SS Media Sources +.PP +This is printer type specific. The option names are case sensitive. +.PP +Option STP: \-sInputSlot=mediasource +Option IJS: \-sIjsParams=MediaSource=mediasource +.PP +.I +Epson printers without a roll feed mechanism should not have this +option set. +.PP +For Epson printers with a roll feed mechanism without a paper cutter +(Stylus Photo 785, 825, 870, 875, 890, 895, 915, 1200, 1270, 1280, +1290): +.PP +.RS 0l +.TS +; +l l. + +Standard Standard +Roll Roll Feed +.TE +.RE +.PP +For Epson printers with a roll feed mechanism with a paper cutter +(Stylus Photo 925, 950, 960, 2100, 2200): +.PP +.RS 0l +.TS +; +l l. + +Standard Standard +RollCutPage Roll feed, cut each page +RollCutNone Roll feed, do not cut +.TE +.RE +.PP +NOTE: The \-sInputSlot=RollCutPage does not work with the STP driver, +only with the IJS driver. +.PP +For Epson Stylus Pro printers without a roll feed mechanism (Stylus +Pro 5000, 5500): +.PP +.RS 0l +.TS +; +l l. + +CutSheet1 Cut sheet bin 1 +CutSheet2 Cut sheet bin 2 +CutSheetAuto Cut sheet autoselect +ManualSelect Manual selection +.TE +.RE +.PP +For Epson Stylus Pro printers with a roll feed mechanism (Stylus Pro +7000, 7500, 7600, 9000, 9500, 9600, 10000, 10600): +.PP +.RS 0l +.TS +; +l l. + +Standard Standard +Roll Roll Feed +.TE +.RE +.PP +For Canon printers: +.PP +.RS 0l +.TS +; +l l. + +Auto Auto Sheet Feeder +Manual Manual with Pause +ManualNP Manual without Pause +.TE +.RE +.PP +For PCL (Hewlett\-Packard and Lexmark 4076) printers. Different +printers allow different choices out of this set. +.PP +.RS 0l +.TS +; +l l l. + +Standard Standard (Feed from printer defined source) +Manual Manual +MultiPurpose Tray 1 +Upper Tray 2 +Lower Tray 3 +LargeCapacity Tray 4 +Portable Portable Sheet Feeder +Desktop Desktop Sheet Feeder +Tray Tray +Tray2 Tray 2 +Optional Optional Source +Auto Autoselect +.TE +.RE +.PP +For Lexmark printers other than the 4076: +.PP +.RS 0l +.TS +; +l l. + +Auto Auto Sheet Feeder +Manual Manual with Pause +ManualNP Manual without Pause +.TE +.RE +.PP +.SS Media Sizes +.PP +This is printer\-specific; we cannot list the correct values for each +printer here. The option names are case\-sensitive. Two names are +listed for each resolution; the first (short) name is the value that +must be passed to \fB\-sPAPERSIZE\fR, and the second (long) name is +descriptive. This option does not set GhostScript up to use a paper +size other than the default; it only tells the driver to set up the +printer for a different paper size. The default paper size is +'A4'. +.PP +Option STP: \-sPAPERSIZE=papersize +Option IJS: \-sPAPERSIZE=papersize (for known Ghostscript paper sizes) +or +.PP +.sp 1 +.in +1c +.nf + \-dDEVICEWIDTHPOINTS=x \-dDEVICEHEIGHTPOINTS=y +.fi +.in -1c +.sp 1 +where x and y are the width and height of the paper +respectively, in points (1/72") +.PP + * Common English paper sizes +.PP +.RS 0l +.TS +; +l l l l. + +Letter Letter 8.5in x 11in x=612, y=792 +Legal Legal 8.5in x 14in x=612, y=1008 +Tabloid Tabloid 11in x 17in x=792, y=1224 +Executive Executive 7.25in x 10.5in x=522, y=756 +Postcard Postcard 100mm x 147mm x=283, y=416 +w216h360 3x5 x=216, y=360 +w288h432 4x6 x=288, y=432 +w324h495 Epson 4x6 Photo Paper x=324, y=495 +w360h504 5x7 x=360, y=504 +w360h576 5x8 x=360, y=576 +8x10 8x10 x=576, y=720 +Statement Manual 5.5in x 8.5in x=396, y=612 +TabloidExtra 12x18 x=864, y=1296 +SuperB 13x19 x=936, y=1368 +.TE +.RE +.PP + * Common photographic paper sizes +.PP +.RS 0l +.TS +; +l l l l. + +w576h864 8x12 Sometimes used for 35 mm x=576, y=864 +w792h1008 11x14 x=792, y=1008 +w1152h1440 16x20 x=1152, y=1440 +w1152h1728 16x24 20x24 for 35 mm x=1152, y=1728 +w1440h1728 20x24 x=1440, y=1728 +w1440h2160 20x30 24x30 for 35 mm x=1440, y=2160 +w1584h2160 22x30 Common watercolor size x=1440, y=2160 +w1728h2160 24x30 x=1728, y=2160 +w1728h2592 24x36 Sometimes used for 35 mm x=1728, y=2592 +w2160h2880 30x40 x=2160, y=2880 +.TE +.RE +.PP + International Paper Sizes (mostly taken from BS4000:1968) +.PP + * \fBA\fR series: Paper and boards, trimmed sizes + * + * \fBA\fR sizes are in the ratio 1 : sqrt(2). A0 has a total area + * of 1 square metre. Everything is rounded to the nearest + * millimetre. Thus, A0 is 841mm x 1189mm. Every other A + * size is obtained by doubling or halving another A size. +.PP +.RS 0l +.TS +; +l l l l. + +w4768h6749 4A 1682mm x 2378mm x=4768, y=6749 +w3370h4768 2A 1189mm x 1682mm x=3370, y=4768 +A0 A0 841mm x 1189mm x=2384, y=3370 +A1 A1 594mm x 841mm x=1684, y=2384 +A2 A2 420mm x 594mm x=1191, y=1684 +A3 A3 297mm x 420mm x=842, y=1191 +A4 A4 210mm x 297mm x=595, y=842 +A5 A5 148mm x 210mm x=420, y=595 +A6 A6 105mm x 148mm x=297, y=420 +A7 A7 74mm x 105mm x=210, y=297 +A8 A8 52mm x 74mm x=148, y=210 +A9 A9 37mm x 52mm x=105, y=148 +A10 A10 26mm x 37mm x=73, y=105 +.TE +.RE +.PP + * Stock sizes for normal trims. + * Allowance for trim is 3 millimetres. +.PP +.RS 0l +.TS +; +l l l l. + +w2437h3458 RA0 860mm x 1220mm x=2437, y=3458 +w1729h2437 RA1 610mm x 860mm x=1729, y=2437 +w1218h1729 RA2 430mm x 610mm x=1218, y=1729 +w864h1218 RA3 305mm x 430mm x=864, y=1218 +w609h864 RA4 215mm x 305mm x=609, y=864 +.TE +.RE +.PP + * Stock sizes for bled work or extra trims. +.PP +.RS 0l +.TS +; +l l l l. + +w2551h3628 SRA0 900mm x 1280mm x=2551, y=3628 +w1814h2551 SRA1 640mm x 900mm x=1814, y=2551 +w1275h1814 SRA2 450mm x 640mm x=1275, y=1814 +w907h1275 SRA3 320mm x 450mm x=907, y=1275 +w637h907 SRA4 225mm x 320mm x=637, y=907 +.TE +.RE +.PP + * "B" series: Posters, wall charts and similar items. +.PP +.RS 0l +.TS +; +l l l l. + +w5669h8016 4B ISO 2000mm x 2828mm x=5669, y=8016 +w4008h5669 2B ISO 1414mm x 2000mm x=4008, y=5669 +ISOB0 B0 ISO 1000mm x 1414mm x=2834, y=4008 +ISOB1 B1 ISO 707mm x 1000mm x=2004, y=2834 +ISOB2 B2 ISO 500mm x 707mm x=1417, y=2004 +ISOB3 B3 ISO 353mm x 500mm x=1000, y=1417 +ISOB4 B4 ISO 250mm x 353mm x=708, y=1000 +ISOB5 B5 ISO 176mm x 250mm x=498, y=708 +ISOB6 B6 ISO 125mm x 176mm x=354, y=498 +ISOB7 B7 ISO 88mm x 125mm x=249, y=354 +ISOB8 B8 ISO 62mm x 88mm x=175, y=249 +ISOB9 B9 ISO 44mm x 62mm x=124, y=175 +ISOB10 B10 ISO 31mm x 44mm x=87, y=124 +B0 B0 JIS x=2919, y=4127 +B1 B1 JIS x=2063, y=2919 +B2 B2 JIS x=1459, y=2063 +B3 B3 JIS x=1029, y=1459 +B4 B4 JIS x=727, y=1029 +B5 B5 JIS x=518, y=727 +B6 B6 JIS x=362, y=518 +B7 B7 JIS x=257, y=362 +B8 B8 JIS x=180, y=257 +B9 B9 JIS x=127, y=180 +B10 B10 JIS x=90, y=127 +.TE +.RE +.PP + * "C" series: Envelopes or folders suitable for A size stationery. +.PP +.RS 0l +.TS +; +l l l l. + +C0 C0 917mm x 1297mm x=2599, y=3676 +C1 C1 648mm x 917mm x=1836, y=2599 +C2 C2 458mm x 648mm x=1298, y=1836 +C3 C3 324mm x 458mm x=918, y=1298 +C4 C4 229mm x 324mm x=649, y=918 +C5 C5 162mm x 229mm x=459, y=649 +w354h918 B6\-C4 125mm x 324mm x=354, y=918 +C6 C6 114mm x 162mm x=323, y=459 +DL DL 110mm x 220mm x=311, y=623 +w229h459 C7\-6 81mm x 162mm x=229, y=459 +C7 C7 81mm x 114mm x=229, y=323 +C8 C8 57mm x 81mm x=161, y=229 +C9 C9 40mm x 57mm x=113, y=161 +C10 C10 28mm x 40mm x=79, y=113 +.TE +.RE +.PP + * US CAD standard paper sizes +.PP +.RS 0l +.TS +; +l l l l. + +ARCHA ArchA 9x12in x=648, y=864 +ARCHA_trans ArchA transverse 12x9 in x=864, y=648 +ARCHB ArchB 12x18in x=864, y=1296 +ARCHB_trans ArchB transverse 18x12in x=1296, y=864 +ARCHC ArchC 18x24in x=1296, y=1728 +ARCHC_trans ArchC transverse 24x18in x=1728, y=1296 +ARCHD ArchD 24x36in x=1728, y=2592 +ARCHD_trans ArchD transverse 36x24in x=2592, y=1728 +ARCHE ArchE 36x48in x=2592, y=3456 +ARCHE_trans ArchE transverse 48x36in x=3456, y=2592 +.TE +.RE +.PP + * Foolscap +.PP +.RS 0l +.TS +; +l l l l. + +w612h936 American foolscap x=612, y=936 +w648h936 European foolscap x=648, y=936 +.TE +.RE +.PP + * Sizes for book production + * The BPIF and the Publishers Association jointly recommend ten + * standard metric sizes for case\-bound titles as follows: +.PP +.RS 0l +.TS +; +l l l l. + +w535h697 Crown Quarto 189mm x 246mm x=535, y=697 +w569h731 Large Crown Quarto 201mm x 258mm x=569, y=731 +w620h782 Demy Quarto 219mm x 276mm x=620, y=782 +w671h884 Royal Quarto 237mm x 312mm x=671, y=884 +w348h527 Crown Octavo 123mm x 186mm x=348, y=527 +w365h561 Large Crown Octavo 129mm x 198mm x=365, y=561 +w391h612 Demy Octavo 138mm x 216mm x=391, y=612 +w442h663 Royal Octavo 156mm x 234mm x=442, y=663 +.TE +.RE +.PP + * Paperback sizes in common usage +.PP +.RS 0l +.TS +; +l l l l. + +w314h504 Small paperback 111mm x 178mm x=314, y=504 +w314h513 Penguin small paperback 111mm x 181mm x=314, y=513 +w365h561 Penguin large paperback 129mm x 198mm x=365, y=561 +.TE +.RE +.PP + * Miscellaneous sizes +.PP +.RS 0l +.TS +; +l l l l. + +w283h420 Hagaki Card 100 x 148 mm x=283, y=420 +w420h567 Oufuku Card 148 x 200 mm x=420, y=567 +w340h666 Long 3 Japanese long envelope #3 x=340, y=666 +w255h581 Long 4 Japanese long envelope #4 x=255, y=581 +w680h941 Kaku Japanese Kaku envelope #4 x=680, y=941 +COM10 Commercial 10 US Commercial 10 env x=297, y=684 +w315h414 A2 Invitation US A2 invitation x=315, y=414 +.TE +.RE +.PP +.SS Color Balancing Values: (min,max,default) +.PP +All of the values below are interpreted as being relative to norms for +a particular printer established through testing, not \fBabsolute\fR +values of any kind. +.PP +The STP parameter is specified. The IJS parameter is created by +removing the \fB\-d\fR and beginning the options list with \fB\-sIjsParams\fR. +Thus +.PP +\-dCyan=xxx +.PP +becomes +.PP +\-sIjsParams=Cyan=xxx +.PP +.RS 0l +.TS +; +l l l. + +\-dCyan=xxx xxx: 0.0 ... 4.0 (1.0) +\-dMagenta=xxx xxx: 0.0 ... 4.0 (1.0) +\-dYellow=xxx xxx: 0.0 ... 4.0 (1.0) +.TE +.RE +.PP +These three options allow specification of the cyan, magenta, and +yellow levels independently, for rebalancing the levels. Normally, +these should be adjusted to yield neutral gray, but they can be used +for other effects. + +.PP +.RS 0l +.TS +; +l l l. + +\-dBrightness=xxx xxx: 0.0 ... 2.0 (1.0) +.TE +.RE +.PP +Adjust the brightness of the image. 0.0 gives a fully black image; +2.0 gives a fully white image. Values greater than 1 will result in +black not being solid and highlights turning white; values less than +1 will result in white not being perfectly clear and shadows turning +black. +.PP +.RS 0l +.TS +; +l l l. + +\-dContrast=xxx xxx: 0.0 ... 4.0 (1.0) +.TE +.RE +.PP +Adjust the contrast of the image. 0.0 gives a solid gray for the +entire image, the exact gray depending upon the brightness chosen. +.PP +.RS 0l +.TS +; +l l l. + +\-dGamma=xxx xxx: 0.1 ... 4.0 (1.0) +.TE +.RE +.PP +Adjust the gamma of the image, over and above the printer\-specific +correction. Gamma less than 1.0 will result in a darker image; gamma +greater than 1.0 will result in a lighter image. Unlike brightness, +gamma adjustment does not change the endpoints; it merely changes the +shape of the input\->output curve. +.PP +.RS 0l +.TS +; +l l l. + +\-dDensity=xxx xxx: 0.1 ... 2.0 (1.0) +.TE +.RE +.PP +Adjust the amount of ink deposited on the paper. If you've chosen +the correct paper type and you're getting ink bleeding through the +paper or puddling, try reducing the density to the lowest value you +can while still achieving solid black. If you're not getting solid +black, even with the contrast and brightness at 1.0, try increasing +the density. +.PP +All of the printers supported here actually need less than 100% ink +density in most cases, so the actual density is something other than +the nominal density setting. The effective density setting cannot go +above 100%, so if a value specified will result in an excessively +high density level, it will be silently limited to 1.0. +.PP +.RS 0l +.TS +; +l l l. + +\-dSaturation=xxx xxx: 0.0 ... 9.0 (1.0) +.TE +.RE +.PP +Adjust the brilliance of colors. 0.0 results in pure grayscale; +using this with \-dColor=1 is one way of getting grayscale (see below +under \-dColor for a full discussion). Saturation of less than 1.0 +results in more muted colors; saturation of greater than 1.0 results +in more vibrant colors. Very high saturation often results in very +strange effects, including posterization and banding that might not +be expected. For normal purposes, the saturation should generally be +less than 1.5. +.PP +.PP +.SS Dithering Algorithms: +.PP +The option names are case sensitive. Two names are listed for each +resolution; the first (short) name is the value that must be passed to +\-sDither, and the second (long) name is descriptive. +.PP +Option STP: \-sDither=algorithm +.br +Option IJS: \-sIjsParams=Dither=algorithm +.PP +.RS 0l +.TS +; +l l. + +Adaptive Adaptive Hybrid +EvenTone EvenTone screening (experimental) +Ordered Ordered +Fast Fast +VeryFast Very Fast +Floyd Hybrid Floyd\-Steinberg +.TE +.RE +.PP +For highest quality, we recommend use of Adaptive Hybrid dithering. +For continuous tone images, Ordered works just as well and is somewhat +faster. Ordered dithering yields noticeably inferior results with +text and intricate line art, particularly at high resolutions. +.PP +EvenTone dithering is a relatively new screening technology developed +by Raph Levien. It offers superior smoothness in highlights and +midtones, and increased accuracy in shadows, resulting in +significantly improved results overall. The version of EvenTone +dithering that we are using is enhanced with some additional +improvements we have made. It currently only operates with CMYK (4, +6, or 7 color output) with RGB input, and should be considered +experimental. Note that it is patented (see US patent 5917614), but +it is licensed for use with GPL software. See +http://www.levien.com/patents.html for more information. +.PP +Fast dithering, which is a simplified version of ordered dither, is +significantly faster, but color accuracy is worse, particularly on six +color printers and printer using variable dot sizes. On simple four +color printers, the quality is quite reasonable, although color +printing will show more speckling in dark tones than Ordered dither. +For single dot size printers, printing grayscale, this algorithm +yields almost identical results to Ordered with some performance +improvement. On three color printers, the results should be very +similar to Ordered. +.PP +Very Fast is even faster than Fast, with even more loss of quality. +It shows even more speckling, and the output is heavily patterned. On +laser printers, and possibly on certain kinds of text and line art, +Very Fast dithering may actually yield the best quality. +.PP +Error diffusion algorithms (Hybrid Floyd\-Steinberg is such an +algorithm) perform very well at high densities, and are capable of +rendering very fine detail well, but they tend to exhibit artifacts in +the form of \fBwaves\fR or \fBworms\fR of dots which results in noticeable +texturing in pale areas. Furthermore, pale areas immediately adjacent +to white take a while to \fBbuild up\fR sufficient error to print at all. +This is sometimes called \fBtearing\fR Its use is not recommended. +.PP +.SS Output Type +.PP +STP: +.PP +.RS 0l +.TS +; +l l l. + +\-dColor=x x: 0 ... 2 (1 on color printers, 0 otherwise) +.TE +.RE +.PP +.RS 0l +.TS +; +l l. + + +0 Grayscale +1 Color (RGB) +2 Black and white +.TE +.RE +.PP +IJS: +.PP +.RS 0l +.TS +; +l l. + +Black and white: \-sProcessColorModel=DeviceGray \-dBitsPerSample=1 +Grayscale: \-sProcessColorModel=DeviceGray +Color (RGB): \-sProcessColorModel=DeviceRGB +Color (CMYK): \-sProcessColorModel=DeviceCMYK +.TE +.RE +.PP +Choose color vs. grayscale output. Color output is the default. +Choosing \-dColor=0 results in only black ink (no color ink) being +used, which is faster and usually results in the most accurate +grayscale, but at the expense of smoothness. If you want composite +color (using a mixture of color and black inks to produce gray), use +\-dColor=1 and \-dSaturation=0.0 (see \-dSaturation above). +.PP +In addition, using \-dColor=0 uses luminance (perceived brightness) of +red, green, and blue to choose output levels. Blue of a given +intensity is perceived to be much darker than red, which in turn +appears darker than green. \-dColor=1 and \-dSaturation=0.0 does not +use luminance. +.PP +\-dColor=2 prints only black and white (thresholding). This option +always uses Fast dithering unless you specify Very Fast. +.PP +CMYK output may be used with the IJS driver only. It is useful if +you're printing a CMYK graphic and want explicit control over the +inks. Generally it yields inferior quality, as Gimp\-Print has good +algorithms for converting RGB (screen) into CMYK (inks) that take +into account paper type, ink type, and other variables. In CMYK +mode, the brightness, contrast, and saturation controls do not +function. +.PP +.SS Image type (to optimize the dither): +.PP +STP: +.PP +.RS 0l +.TS +; +l l l. + +\-dImageType=x x: 0 ... 2 (0) +.TE +.RE +.PP +IJS: +.PP +.RS 0l +.TS +; +l. + +\-sIjsParams=ImageType=x +.TE +.RE +.PP +Select the image type most representative of what's being printed. +.PP +.RS 1l +.TS +; +l l. + +0 Line art (color or gray scale) +1 Primarily solid colors or smooth gradients (color or gray scale) +2 Continuous\-tone photographs (color or gray scale) +.TE +.RE +.PP + +Option 0 is the fastest. It generates strong, but not particularly +accurate, colors. There may be some fairly sharp color transitions in +this mode. +.PP +Option 1 generates more accurate colors, but is slower. +.PP +Option 2 generates the most accurate colors, but is considerably +slower. +.PP +Note that any of the modes may be used with either color or black & +white output. If black and white output is requested, but a color +mode used, composite color will be printed. This generally offers +smoother tone, but less purity of gray or black, than pure black ink. +Furthermore, it is possible to tune the color of the gray (to achieve +warmer or cooler effects) using the color controls in this fashion. +.PP +Specifying a lower GhostScript resolution (with \-r) results in faster +color conversion. For example, if you print at 1440x720 DPI, but +specify a Ghostscript resolution of 360 DPI (with \-r360), output will +be significantly faster and there will be much less difference in +performance between the three image type options. +.PP +.SS EXAMPLES: +.PP +Note that a lot of these options are used for demonstration; generally +adjusting the density is a bad idea! +.PP +.\" +Example 1 (print charts to file, using A4 paper, color, 360 dpi): +.sp 1 +.in +1c +.nf +gs \-sDEVICE=stp \-sModel=escp2\-ex \-dDensity=1.6 \-dGamma=1.5 \-dSaturation=0.9 \\ + \-dBrightness=.4 \-dImageType=1 \-sPAPERSIZE=a4 \\ + \-sOutputFile=itsyourchoice.prn foo.ps + +gs \-sDEVICE=ijs \-sIjsServer=/usr/bin/ijsgimpprint \\ + \-sDeviceManufacturer=EPSON \-sDeviceModel=escp2\-ex \-sPAPERSIZE=a4 \\ + \-sOutputFile=itsyourchoice.prn \\ + \-sIjsParams=Density=1.6,Gamma=1.5,Saturation=0.9,Brightness=0.4,ImageType=1 \\ + foo.ps +.fi +.in -1c +.sp 1 +.\" +Example 2 (print color photograph to /dev/lp0 at maximum quality): +.sp 1 +.in +1c +.nf +gs \-q \-dSAFER \-dNOPAUSE \-sDEVICE=stp \-sModel=escp2\-870 \-dDensity=0.8 \\ + \-r1440x720 \-sQuality=1440x720hq \-sMediaType=GlossyPhoto \\ + \-dImageType=2 \-sOutputFile=/dev/lp0 foo.ps + +gs \-sDEVICE=ijs \-sIjsServer=/usr/bin/ijsgimpprint \\ + \-sDeviceManufacturer=EPSON \-sDeviceModel=escp2\-870 \\ + \-sOutputFile=/dev/lp0 \\ + \-sIjsParams='Quality=1440x720hq,MediaType=GlossyPhoto,Density=0.8,ImageType=2' \\ + foo.ps +.fi +.in -1c +.sp 1 +.\" +Example 3 (print pure black text to stdout) +.sp 1 +.in +1c +.nf +gs \-q \-dSAFER \-dNOPAUSE \-sDEVICE=stp \-sModel=escp2\-660 \-dDensity=0.8 \-r720 \\ + \-sQuality=720sw \-dColor=2 \-sOutputFile=\- foo.ps + +gs \-sDEVICE=ijs \-sIjsServer=/usr/bin/ijsgimpprint \\ + \-sDeviceManufacturer=EPSON \-sDeviceModel=escp2\-660 \-dIjsUseOutputFD \\ + \-sProcessColorModel=DeviceGray \-dBitsPerSample=1 \-sOutputFile=\- \\ + \-sIjsParams='Quality=720sw,Density=0.8' foo.ps +.fi +.in -1c +.sp 1 +.\" +.SH SEE ALSO +.BR gs (1), +.BR gs-pcl3 (1).
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor