From ce8b31cbb09c61bd15f6bf7078310ffef6c72c04 Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Mon, 6 Jul 2026 14:10:17 -0700 Subject: [PATCH 01/18] Merge Dave Coffin's hbpl1.patch (2014-04-05) to foo2zjs (2026-07-05) Merge hbpl1 parts of Dave Coffin's hbpl1.patch (located here): https://web.archive.org/web/20160515134331/http://cybercom.net/~dcoffin/hbpl/hbpl1.patch to current 2026jul5 foo2zjs NOTE: Edits required on several files to sync-up to current code base. --- ChangeLog | 31 + Makefile | 65 +- PPD/Dell-1250c.ppd | 433 +++++++++++ PPD/Dell-C1660.ppd | 433 +++++++++++ PPD/Dell-C1760.ppd | 433 +++++++++++ PPD/Epson-AcuLaser_C1700.ppd | 433 +++++++++++ PPD/Fuji_Xerox-DocuPrint_CP105.ppd | 433 +++++++++++ README | 11 + README.in | 11 + foo2hbpl1-wrapper.1in | 240 ++++++ foo2hbpl1-wrapper.in | 577 +++++++++++++++ foo2hbpl1.1in | 68 ++ foo2hbpl1.c | 692 ++++++++++++++++++ foomatic-db/driver/foo2hbpl1.xml | 21 + foomatic-db/opt/foo2hbpl1-ColorMode.xml | 38 + foomatic-db/opt/foo2hbpl1-ICM.xml | 52 ++ foomatic-db/opt/foo2hbpl1-MediaType.xml | 82 +++ foomatic-db/opt/foo2hbpl1-PageSize.xml | 80 ++ foomatic-db/opt/foo2xxx-Copies.xml | 4 + foomatic-db/opt/foo2xxx-Halftone.xml | 4 + foomatic-db/opt/foo2xxx-Nup.xml | 4 + foomatic-db/opt/foo2xxx-NupOrient.xml | 4 + foomatic-db/opt/foo2xxx-Quality.xml | 4 + foomatic-db/printer/Dell-1250c.xml | 70 ++ foomatic-db/printer/Dell-C1660.xml | 70 ++ foomatic-db/printer/Dell-C1760.xml | 70 ++ foomatic-db/printer/Epson-AcuLaser_C1700.xml | 71 ++ .../printer/Fuji_Xerox-DocuPrint_CP105.xml | 71 ++ 28 files changed, 4498 insertions(+), 7 deletions(-) create mode 100644 PPD/Dell-1250c.ppd create mode 100644 PPD/Dell-C1660.ppd create mode 100644 PPD/Dell-C1760.ppd create mode 100644 PPD/Epson-AcuLaser_C1700.ppd create mode 100644 PPD/Fuji_Xerox-DocuPrint_CP105.ppd create mode 100644 foo2hbpl1-wrapper.1in create mode 100644 foo2hbpl1-wrapper.in create mode 100644 foo2hbpl1.1in create mode 100644 foo2hbpl1.c create mode 100644 foomatic-db/driver/foo2hbpl1.xml create mode 100644 foomatic-db/opt/foo2hbpl1-ColorMode.xml create mode 100644 foomatic-db/opt/foo2hbpl1-ICM.xml create mode 100644 foomatic-db/opt/foo2hbpl1-MediaType.xml create mode 100644 foomatic-db/opt/foo2hbpl1-PageSize.xml create mode 100644 foomatic-db/printer/Dell-1250c.xml create mode 100644 foomatic-db/printer/Dell-C1660.xml create mode 100644 foomatic-db/printer/Dell-C1760.xml create mode 100644 foomatic-db/printer/Epson-AcuLaser_C1700.xml create mode 100644 foomatic-db/printer/Fuji_Xerox-DocuPrint_CP105.xml diff --git a/ChangeLog b/ChangeLog index 06c5f5e..dd2711a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ + * Merged Dave Coffin dcoffin_hbpl1.patch + to 2026-07-05 code base. This was found following the archive + link seen in https://github.com/OpenPrinting/foo2zjs/issues/2 + and resolves the initial issue described there. as per patch: + "Fixed all known bugs in foo2hbpl1.c. It now print multi-page + color and grayscale documents without resetting printer." + NOTE: patch was merged, not applied, so it can co-exists with + existing hbpl(2) code, not replace it. Patch date=2014-04-05. + Merged by Joe Da Silva 2026-07-06 + 2026-02-06: ValdikSS First release under OpenPrinting umbrella. https://github.com/OpenPrinting/foo2zjs/releases/tag/20260206 @@ -234,6 +244,27 @@ Bug with default PageSize. PLEASE delete and recreate the foo2hbpl2 printers. +2014-03-30 Rick Richardson + * foo2hbpl1.c: Cleanup the code + +2014-03-25 Rick Richardson + * foomatic and PPD stuff for foo2hbpl1 printers: Halftone and ICM + +2014-03-24 Rick Richardson + * foomatic and PPD stuff for foo2hbpl1 printers + preliminary for: Dell 1250c, Dell C1660w, Dell C1760nw, + Epson AcuLaser C1700, Fuji-Xerox DocuPrint CP105b + * foo2hbpl1-wrapper: allow for gs 7.x or gs 8.x + +2014-03-24 Dave Coffin + * foo2hbpl1, foo2hbpl1-wrapper, et al: first cut at revision 1 + stuff. Color works, mono doesn't. No multiple pages. Printer + shows: + Restart Printer + Contact Support + IfMessageReturns + 016-313 + 2014-03-22 Rick Richardson * hbpldecode: another redundancy from Dave Coffin diff --git a/Makefile b/Makefile index 42ae0d3..2c773c5 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,7 @@ SHARELAVA=$(PREFIX)/share/foo2lava SHAREQPDL=$(PREFIX)/share/foo2qpdl SHARESLX=$(PREFIX)/share/foo2slx SHAREHC=$(PREFIX)/share/foo2hiperc +SHAREHBPL1=$(PREFIX)/share/foo2hbpl1 SHAREHBPL=$(PREFIX)/share/foo2hbpl SHAREDDST=$(PREFIX)/share/foo2ddst MANDIR=$(PREFIX)/share/man @@ -148,6 +149,8 @@ FILES = \ foo2hbpl2.1in \ foo2ddst.c \ foo2ddst.1in \ + foo2hbpl1.c \ + foo2hbpl1.1in \ cups.h \ xqx.h \ xqxdecode.c \ @@ -187,6 +190,8 @@ FILES = \ foo2hbpl2-wrapper.1in \ foo2ddst-wrapper.in \ foo2ddst-wrapper.1in \ + foo2hbpl1-wrapper.in \ + foo2hbpl1-wrapper.1in \ gamma.ps \ gamma-lookup.ps \ align.ps \ @@ -256,7 +261,7 @@ PROGS+= foo2lava lavadecode foo2qpdl qpdldecode opldecode PROGS+= foo2oak oakdecode PROGS+= foo2slx slxdecode PROGS+= foo2hiperc hipercdecode -PROGS+= foo2hbpl2 hbpldecode +PROGS+= foo2hbpl1 foo2hbpl2 hbpldecode PROGS+= gipddecode PROGS+= foo2ddst ddstdecode ifneq ($(CUPS_SERVERBIN),) @@ -269,7 +274,7 @@ endif SHELLS= foo2zjs-wrapper foo2oak-wrapper foo2hp2600-wrapper \ foo2xqx-wrapper foo2lava-wrapper foo2qpdl-wrapper \ foo2slx-wrapper foo2hiperc-wrapper foo2hbpl2-wrapper \ - foo2ddst-wrapper + foo2ddst-wrapper foo2hbpl1-wrapper SHELLS+= foo2zjs-pstops SHELLS+= printer-profile MANPAGES= foo2zjs-wrapper.1 foo2zjs.1 zjsdecode.1 @@ -282,6 +287,7 @@ MANPAGES+= foo2slx-wrapper.1 foo2slx.1 slxdecode.1 MANPAGES+= foo2hiperc-wrapper.1 foo2hiperc.1 hipercdecode.1 MANPAGES+= foo2hbpl2-wrapper.1 foo2hbpl2.1 hbpldecode.1 MANPAGES+= foo2ddst-wrapper.1 foo2ddst.1 ddstdecode.1 +MANPAGES+= foo2hbpl1-wrapper.1 foo2hbpl1.1 MANPAGES+= gipddecode.1 MANPAGES+= foo2zjs-pstops.1 arm2hpdl.1 usb_printerid.1 MANPAGES+= printer-profile.1 @@ -308,7 +314,8 @@ GSOPTS= -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -r$(GXR)x$(GYR) JBGOPTS=-m 16 -d 0 -p 92 # Equivalent options for pbmtojbg .SUFFIXES: .ps .pbm .pgm .pgm2 .ppm .ppm2 .zjs .cmyk .pksm .zc .zm .jbg \ - .cups .cupm .1 .1in .fig .gif .xqx .lava .qpdl .slx .hc .hbpl .ddst + .cups .cupm .1 .1in .fig .gif .xqx .lava .qpdl .slx .hc .hbpl \ + .ddst .hbpl1 .fig.gif: fig2dev -L gif $*.fig | giftrans -t "#ffffff" -o $*.gif @@ -381,6 +388,9 @@ JBGOPTS=-m 16 -d 0 -p 92 # Equivalent options for pbmtojbg .pbm.ddst: ./foo2ddst < $*.pbm > $*.ddst +.pbm.hbpl: + ./foo2hbpl1 < $*.pbm > $*.hbpl1 + # # The usual build rules # @@ -453,6 +463,9 @@ all-done: foo2ddst: foo2ddst.o $(CC) $(CFLAGS) -o $@ foo2ddst.o $(LIBJBG) $(LDFLAGS) +foo2hbpl1: foo2hbpl1.o + $(CC) $(CFLAGS) -o $@ foo2hbpl1.o $(LDFLAGS) + foo2hbpl2: foo2hbpl2.o $(CC) $(CFLAGS) -o $@ foo2hbpl2.o $(LIBJBG) $(LDFLAGS) @@ -487,6 +500,12 @@ foo2ddst-wrapper: foo2ddst-wrapper.in Makefile -e 's@^PREFIX=.*@PREFIX=$(PREFIX)@' || (rm -f $@ && exit 1) chmod 555 $@ +foo2hbpl1-wrapper: foo2hbpl1-wrapper.in Makefile + [ ! -f $@ ] || chmod +w $@ + sed < $@.in > $@ \ + -e 's@^PREFIX=.*@PREFIX=$(PREFIX)@' || (rm -f $@ && exit 1) + chmod 555 $@ + foo2hbpl2-wrapper: foo2hbpl2-wrapper.in Makefile [ ! -f $@ ] || chmod +w $@ sed < $@.in > $@ \ @@ -838,9 +857,12 @@ install-extra: $(INSTALL) -c -m 644 $$i $(SHAREHC)/icm/; \ fi; \ done - # foo2hbpl ICM files (if any) + # foo2hbpl(2) ICM files (if any) $(INSTALL) $(LPuid) $(LPgid) -m 755 -d $(SHAREHBPL)/icm/ for i in hbpl*.icm; do \ + if [ $$i = hbpl1*.icm ]; then \ + continue; \ + fi; \ if [ -f $$i ]; then \ $(INSTALL) -c -m 644 $$i $(SHAREHBPL)/icm/; \ fi; \ @@ -852,6 +874,13 @@ install-extra: $(INSTALL) -c -m 644 $$i $(SHAREDDST)/icm/; \ fi; \ done + # foo2hbpl1 ICM files (if any) + $(INSTALL) $(LPuid) $(LPgid) -m 755 -d $(SHAREHBPL1)/icm/ + for i in hbpl1*.icm; do \ + if [ -f $$i ]; then \ + $(INSTALL) -c -m 644 $$i $(SHAREHBPL1)/icm/; \ + fi; \ + done MODEL=$(PREFIX)/share/cups/model LOCALMODEL=$(DESTDIR)/local/share/cups/model @@ -881,6 +910,7 @@ install-ppd: find $(PPD) -name '*foo2qpdl*' | xargs rm -rf; \ find $(PPD) -name '*foo2slx*' | xargs rm -rf; \ find $(PPD) -name '*foo2hiperc*' | xargs rm -rf; \ + find $(PPD) -name '*foo2hbpl1*' | xargs rm -rf; \ find $(PPD) -name '*foo2hbpl*' | xargs rm -rf; \ find $(PPD) -name '*foo2ddst*' | xargs rm -rf; \ [ -d $(PPD)/foo2zjs ] || mkdir $(PPD)/foo2zjs; \ @@ -1173,6 +1203,7 @@ uninstall: uninstall-aa -rm -f $(MANDIR)/man1/foo2xqx*.1 $(MANDIR)/man1/xqxdecode.1 -rm -f $(MANDIR)/man1/opldecode.1 $(MANDIR)/man1/rodecode.1 -rm -f $(MANDIR)/man1/foo2hiperc*.1 $(MANDIR)/man1/hipercdecode.1 + -rm -f $(MANDIR)/man1/foo2hbpl1*.1 -rm -f $(MANDIR)/man1/foo2hbpl*.1 $(MANDIR)/man1/hbpldecode.1 -rm -f $(MANDIR)/man1/foo2ddst*.1 $(MANDIR)/man1/ddstdecode.1 -rm -f $(MANDIR)/man1/gipddecode.1 @@ -1187,6 +1218,7 @@ uninstall: uninstall-aa -rm -rf /usr/share/foo2hiperc/ -rm -rf /usr/share/foo2hbpl/ -rm -rf /usr/share/foo2ddst/ + -rm -rf /usr/share/foo2hbpl1/ -rm -f /usr/bin/arm2hpdl -rm -f /usr/bin/foo2zjs-wrapper /usr/bin/foo2zjs /usr/bin/zjsdecode -rm -f /usr/bin/foo2oak-wrapper /usr/bin/foo2oak /usr/bin/oakdecode @@ -1200,6 +1232,7 @@ uninstall: uninstall-aa -rm -f /usr/bin/foo2hbpl2-wrapper /usr/bin/foo2hbpl2 -rm -f /usr/bin/hbpldecode -rm -f /usr/bin/foo2ddst-wrapper /usr/bin/foo2ddst /usr/bin/ddstdecode + -rm -f /usr/bin/foo2hbpl1-wrapper /usr/bin/foo2hbpl1 -rm -f /usr/bin/gipddecode -rm -f /usr/bin/opldecode -rm -f /usr/bin/rodecode @@ -1233,10 +1266,11 @@ clean: -rm -f foo2hbpl2.o hbpldecode.o -rm -f opldecode.o gipddecode.o -rm -f foo2dsst.o ddstdecode.o + -rm -f foo2hbpl1.o -rm -f command2foo2lava-pjl.o -rm -f foo2oak.html foo2zjs.html foo2hp.html foo2xqx.html foo2lava.html -rm -f foo2slx.html foo2qpdl.html foo2hiperc.html foo2hbpl.html - -rm -f foo2ddst.html + -rm -f foo2ddst.html foo2hbpl1.html -rm -f index.html -rm -f arch*.gif -rm -f sihp*.dl @@ -1488,6 +1522,10 @@ ppd: *M215*) driver=foo2hbpl2;; \ *M1400*) driver=foo2hbpl2;; \ *SP_*) driver=foo2ddst;; \ + *1250*) driver=foo2hbpl1;; \ + *1660*|*1760*) driver=foo2hbpl1;; \ + *C1700*) driver=foo2hbpl1;; \ + *CP105*) driver=foo2hbpl1;; \ *) driver=foo2zjs;; \ esac; \ echo $$driver - $$printer; \ @@ -1585,6 +1623,8 @@ install-man: man $(INSTALL) -c -m 644 arm2hpdl.1 $(MANDIR)/man1/ $(INSTALL) -c -m 644 usb_printerid.1 $(MANDIR)/man1/ $(INSTALL) -c -m 644 printer-profile.1 $(MANDIR)/man1/ + $(INSTALL) -c -m 644 foo2hbpl1.1 $(MANDIR)/man1/ + $(INSTALL) -c -m 644 foo2hbpl1-wrapper.1 $(MANDIR)/man1/ ifeq ($(UNAME),Darwin) cd osx-hotplug; $(MAKE) install-man endif @@ -1693,6 +1733,7 @@ URLSLX=http://foo2slx.rkkda.com URLHC=http://foo2hiperc.rkkda.com URLHBPL=http://foo2hbpl.rkkda.com URLDDST=http://foo2ddst.rkkda.com +URLHBPL1=http://foo2hbpl1.rkkda.com FTPSITE=~/.ncftp-website FTPOPTS= FTPOPTS=-S @@ -1700,7 +1741,7 @@ FTPOPTS=-S foo2zjs.html foo2oak.html foo2hp.html \ foo2xqx.html foo2lava.html foo2qpdl.html \ foo2slx.html foo2hiperc.html foo2hbpl.html \ - foo2ddst.html: thermometer.gif FRC + foo2ddst.html foo2hbpl1.html: thermometer.gif FRC rm -f $@ HERE=`basename $$PWD`; \ TZ=`date | cut -c 21-24`; \ @@ -1718,6 +1759,7 @@ foo2zjs.html foo2oak.html foo2hp.html \ -e "s@\$${URLQPDL}@$(URLQPDL)@g" \ -e "s@\$${URLSLX}@$(URLSLX)@g" \ -e "s@\$${URLHC}@$(URLHC)@g" \ + -e "s@\$${URLHBPL1}@$(URLHBPL1)@g" \ -e "s@\$${URLHBPL}@$(URLHBPL)@g" \ -e "s@\$${URLDDST}@$(URLDDST)@g" \ -e "s@\$${PRODUCT}@$$PRODUCT@g" \ @@ -1742,7 +1784,8 @@ webt: tar manual.pdf webindex webworld: web webpics webindex: INSTALL zjsindex oakindex hpindex xqxindex lavaindex \ - qpdlindex oakindex slxindex hcindex hbplindex ddstindex + qpdlindex oakindex slxindex hcindex hbplindex ddstindex \ + hbpl1index webpics: redhat suse ubuntu mandriva fedora @@ -1820,6 +1863,13 @@ ddstindex: foo2ddst.html archddst.gif thermometer.gif webphotos images/flags.png INSTALL images/ddstfavicon.png \ printer-photos/printers.jpg; +hbpl1index: foo2hbpl1.html archhbpl.gif thermometer.gif webphotos + ln -sf foo2hbpl1.html index.html + ./myftpput $(FTPOPTS) -m -f $(FTPSITE) foo2hbpl1 \ + index.html style.css archhbpl.gif thermometer.gif \ + images/flags.png INSTALL images/hbpl1favicon.png \ + printer-photos/printers.jpg; + foo2zjs.html: warning.html contribute.html resources.html unsupported.html foo2hp.html: warning.html contribute.html resources.html unsupported.html foo2xqx.html: warning.html contribute.html resources.html unsupported.html @@ -1830,6 +1880,7 @@ foo2hiperc.html: warning.html contribute.html resources.html unsupported.html foo2oak.html: warning.html contribute.html resources.html unsupported.html foo2hbpl.html: warning.html contribute.html resources.html unsupported.html foo2ddst.html: warning.html contribute.html resources.html unsupported.html +foo2hbpl1.html: warning.html contribute.html resources.html unsupported.html # RedHat redhat: FRC diff --git a/PPD/Dell-1250c.ppd b/PPD/Dell-1250c.ppd new file mode 100644 index 0000000..828ecd6 --- /dev/null +++ b/PPD/Dell-1250c.ppd @@ -0,0 +1,433 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'Dell-1250c-foo2hbpl1.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "FOO2HBPL.PPD" +*Manufacturer: "Dell" +*Product: "(1250c)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "Dell 1250c" +*ShortNickName: "Dell 1250c foo2hbpl1" +*NickName: "Dell 1250c Foomatic/foo2hbpl1 (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" + +*driverName foo2hbpl1/foo2hbpl1: "" +*driverType F/Filter: "" +*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverObsolete: False + + + + +*HWMargins: 9 12.00 9 12 +*VariablePaperSize: True +*MaxMediaWidth: 100000 +*MaxMediaHeight: 100000 +*NonUIOrderDependency: 135 AnySetup *CustomPageSize +*CustomPageSize True: "pop pop pop pop pop +%% FoomaticRIPOptionSetting: PageSize=Custom" +*End +*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 " +*ParamCustomPageSize Width: 1 points 36 100000 +*ParamCustomPageSize Height: 2 points 36 100000 +*ParamCustomPageSize Orientation: 3 int 0 0 +*ParamCustomPageSize WidthOffset: 4 points 0 0 +*ParamCustomPageSize HeightOffset: 5 points 0 0 + +*FoomaticIDs: Dell-1250c foo2hbpl1 +*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A" + +*OpenGroup: General/General + +*OpenUI *Quality/Printing Quality: PickOne +*FoomaticRIPOption Quality: enum CmdLine A +*OrderDependency: 110 AnySetup *Quality +*DefaultQuality: normal +*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft" +*FoomaticRIPOptionSetting Quality=draft: " -t " +*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal" +*FoomaticRIPOptionSetting Quality=normal: " " +*CloseUI: *Quality + +*OpenUI *ColorMode/Color Mode: PickOne +*FoomaticRIPOption ColorMode: enum CmdLine A +*OrderDependency: 120 AnySetup *ColorMode +*DefaultColorMode: Monochrome +*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color" +*FoomaticRIPOptionSetting ColorMode=Color: "-c " +*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome" +*FoomaticRIPOptionSetting ColorMode=Monochrome: " " +*CloseUI: *ColorMode + +*OpenUI *PageSize/Page Size: PickOne +*FoomaticRIPOption PageSize: enum CmdLine A +*OrderDependency: 135 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " +*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 135 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "9 12.00 603 780.00" +*ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" +*ImageableArea Env10/Env #10: "9 12.00 288 672.00" +*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" +*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" +*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea Executive/Executive: "9 12.00 513 744.00" +*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" +*ImageableArea Folio/Folio: "9 12.00 603 924.00" +*ImageableArea Legal/Legal: "9 12.00 603 996.00" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension B5jis/B5 (JIS): "518 727" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" +*PaperDimension Folio/Folio: "612 936" +*PaperDimension Legal/Legal: "612 1008" + +*OpenUI *MediaType/Media Type: PickOne +*FoomaticRIPOption MediaType: enum CmdLine A +*OrderDependency: 150 AnySetup *MediaType +*DefaultMediaType: plain +*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain" +*FoomaticRIPOptionSetting MediaType=plain: "-m1 " +*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2" +*FoomaticRIPOptionSetting MediaType=plain2: "-m8 " +*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond" +*FoomaticRIPOptionSetting MediaType=bond: "-m2 " +*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2" +*FoomaticRIPOptionSetting MediaType=bond2: "-m9 " +*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope" +*FoomaticRIPOptionSetting MediaType=envelope: "-m6 " +*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels" +*FoomaticRIPOptionSetting MediaType=labels: "-m5 " +*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard" +*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 " +*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2" +*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 " +*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard" +*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 " +*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2" +*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 " +*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled" +*FoomaticRIPOptionSetting MediaType=recycled: "-m7 " +*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2" +*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 " +*CloseUI: *MediaType + +*OpenUI *Copies/Copies: PickOne +*FoomaticRIPOption Copies: int CmdLine A +*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionRange Copies: 1 100 +*OrderDependency: 220 AnySetup *Copies +*DefaultCopies: 1 +*FoomaticRIPDefaultCopies: 1 +*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1" +*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2" +*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3" +*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4" +*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5" +*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6" +*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7" +*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8" +*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9" +*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10" +*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11" +*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12" +*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13" +*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14" +*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15" +*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16" +*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17" +*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18" +*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19" +*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20" +*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21" +*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22" +*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23" +*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24" +*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25" +*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26" +*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27" +*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28" +*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29" +*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30" +*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31" +*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32" +*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33" +*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34" +*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35" +*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36" +*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37" +*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38" +*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39" +*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40" +*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41" +*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42" +*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43" +*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44" +*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45" +*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46" +*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47" +*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48" +*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49" +*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50" +*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51" +*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52" +*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53" +*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54" +*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55" +*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56" +*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57" +*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58" +*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59" +*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60" +*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61" +*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62" +*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63" +*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64" +*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65" +*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66" +*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67" +*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68" +*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69" +*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70" +*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71" +*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72" +*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73" +*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74" +*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75" +*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76" +*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77" +*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78" +*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79" +*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80" +*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81" +*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82" +*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83" +*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84" +*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85" +*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86" +*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87" +*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88" +*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89" +*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90" +*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91" +*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92" +*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93" +*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94" +*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95" +*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96" +*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97" +*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98" +*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99" +*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" +*CloseUI: *Copies + +*CloseGroup: General + +*OpenGroup: Adjustment/Adjustment + +*OpenUI *halftone/Halftone Algorithm: PickOne +*FoomaticRIPOption halftone: enum CmdLine A +*OrderDependency: 110 AnySetup *halftone +*Defaulthalftone: default +*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default" +*FoomaticRIPOptionSetting halftone=default: " " +*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as" +*FoomaticRIPOptionSetting halftone=as: " -qas " +*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard" +*FoomaticRIPOptionSetting halftone=standard: " -q1 " +*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts" +*FoomaticRIPOptionSetting halftone=wts: " -qwts " +*CloseUI: *halftone + +*OpenUI *ICM/ICM Color Profile: PickOne +*FoomaticRIPOption ICM: enum CmdLine A +*OrderDependency: 300 AnySetup *ICM +*DefaultICM: none +*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none" +*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm " +*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing" +*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm " +*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2" +*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm " +*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3" +*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm " +*CloseUI: *ICM + +*CloseGroup: Adjustment + +*OpenGroup: Miscellaneous/Miscellaneous + +*OpenUI *NupOrient/N-up Orientation: PickOne +*FoomaticRIPOption NupOrient: enum CmdLine A +*OrderDependency: 200 AnySetup *NupOrient +*DefaultNupOrient: port +*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land" +*FoomaticRIPOptionSetting NupOrient=land: "-ol " +*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port" +*FoomaticRIPOptionSetting NupOrient=port: " " +*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea" +*FoomaticRIPOptionSetting NupOrient=sea: "-os " +*CloseUI: *NupOrient + +*OpenUI *NupPages/N-up Printing: PickOne +*FoomaticRIPOption NupPages: enum CmdLine A +*OrderDependency: 200 AnySetup *NupPages +*DefaultNupPages: 1up +*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up" +*FoomaticRIPOptionSetting NupPages=1up: " " +*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up" +*FoomaticRIPOptionSetting NupPages=2up: "-2 " +*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up" +*FoomaticRIPOptionSetting NupPages=3up: "-3 " +*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up" +*FoomaticRIPOptionSetting NupPages=4up: "-4 " +*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up" +*FoomaticRIPOptionSetting NupPages=6up: "-6 " +*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up" +*FoomaticRIPOptionSetting NupPages=8up: "-8 " +*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up" +*FoomaticRIPOptionSetting NupPages=10up: "-10 " +*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up" +*FoomaticRIPOptionSetting NupPages=12up: "-12 " +*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up" +*FoomaticRIPOptionSetting NupPages=14up: "-14 " +*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up" +*FoomaticRIPOptionSetting NupPages=15up: "-15 " +*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up" +*FoomaticRIPOptionSetting NupPages=16up: "-16 " +*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up" +*FoomaticRIPOptionSetting NupPages=18up: "-18 " +*CloseUI: *NupPages + +*CloseGroup: Miscellaneous + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + diff --git a/PPD/Dell-C1660.ppd b/PPD/Dell-C1660.ppd new file mode 100644 index 0000000..61e99df --- /dev/null +++ b/PPD/Dell-C1660.ppd @@ -0,0 +1,433 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'Dell-C1660-foo2hbpl1.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "FOO2HBPL.PPD" +*Manufacturer: "Dell" +*Product: "(C1660)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "Dell C1660" +*ShortNickName: "Dell C1660 foo2hbpl1" +*NickName: "Dell C1660 Foomatic/foo2hbpl1 (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" + +*driverName foo2hbpl1/foo2hbpl1: "" +*driverType F/Filter: "" +*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverObsolete: False + + + + +*HWMargins: 9 12.00 9 12 +*VariablePaperSize: True +*MaxMediaWidth: 100000 +*MaxMediaHeight: 100000 +*NonUIOrderDependency: 135 AnySetup *CustomPageSize +*CustomPageSize True: "pop pop pop pop pop +%% FoomaticRIPOptionSetting: PageSize=Custom" +*End +*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 " +*ParamCustomPageSize Width: 1 points 36 100000 +*ParamCustomPageSize Height: 2 points 36 100000 +*ParamCustomPageSize Orientation: 3 int 0 0 +*ParamCustomPageSize WidthOffset: 4 points 0 0 +*ParamCustomPageSize HeightOffset: 5 points 0 0 + +*FoomaticIDs: Dell-C1660 foo2hbpl1 +*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A" + +*OpenGroup: General/General + +*OpenUI *Quality/Printing Quality: PickOne +*FoomaticRIPOption Quality: enum CmdLine A +*OrderDependency: 110 AnySetup *Quality +*DefaultQuality: normal +*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft" +*FoomaticRIPOptionSetting Quality=draft: " -t " +*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal" +*FoomaticRIPOptionSetting Quality=normal: " " +*CloseUI: *Quality + +*OpenUI *ColorMode/Color Mode: PickOne +*FoomaticRIPOption ColorMode: enum CmdLine A +*OrderDependency: 120 AnySetup *ColorMode +*DefaultColorMode: Monochrome +*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color" +*FoomaticRIPOptionSetting ColorMode=Color: "-c " +*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome" +*FoomaticRIPOptionSetting ColorMode=Monochrome: " " +*CloseUI: *ColorMode + +*OpenUI *PageSize/Page Size: PickOne +*FoomaticRIPOption PageSize: enum CmdLine A +*OrderDependency: 135 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " +*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 135 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "9 12.00 603 780.00" +*ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" +*ImageableArea Env10/Env #10: "9 12.00 288 672.00" +*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" +*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" +*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea Executive/Executive: "9 12.00 513 744.00" +*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" +*ImageableArea Folio/Folio: "9 12.00 603 924.00" +*ImageableArea Legal/Legal: "9 12.00 603 996.00" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension B5jis/B5 (JIS): "518 727" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" +*PaperDimension Folio/Folio: "612 936" +*PaperDimension Legal/Legal: "612 1008" + +*OpenUI *MediaType/Media Type: PickOne +*FoomaticRIPOption MediaType: enum CmdLine A +*OrderDependency: 150 AnySetup *MediaType +*DefaultMediaType: plain +*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain" +*FoomaticRIPOptionSetting MediaType=plain: "-m1 " +*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2" +*FoomaticRIPOptionSetting MediaType=plain2: "-m8 " +*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond" +*FoomaticRIPOptionSetting MediaType=bond: "-m2 " +*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2" +*FoomaticRIPOptionSetting MediaType=bond2: "-m9 " +*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope" +*FoomaticRIPOptionSetting MediaType=envelope: "-m6 " +*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels" +*FoomaticRIPOptionSetting MediaType=labels: "-m5 " +*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard" +*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 " +*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2" +*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 " +*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard" +*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 " +*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2" +*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 " +*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled" +*FoomaticRIPOptionSetting MediaType=recycled: "-m7 " +*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2" +*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 " +*CloseUI: *MediaType + +*OpenUI *Copies/Copies: PickOne +*FoomaticRIPOption Copies: int CmdLine A +*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionRange Copies: 1 100 +*OrderDependency: 220 AnySetup *Copies +*DefaultCopies: 1 +*FoomaticRIPDefaultCopies: 1 +*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1" +*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2" +*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3" +*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4" +*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5" +*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6" +*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7" +*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8" +*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9" +*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10" +*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11" +*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12" +*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13" +*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14" +*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15" +*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16" +*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17" +*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18" +*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19" +*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20" +*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21" +*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22" +*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23" +*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24" +*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25" +*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26" +*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27" +*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28" +*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29" +*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30" +*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31" +*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32" +*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33" +*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34" +*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35" +*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36" +*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37" +*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38" +*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39" +*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40" +*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41" +*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42" +*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43" +*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44" +*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45" +*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46" +*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47" +*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48" +*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49" +*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50" +*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51" +*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52" +*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53" +*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54" +*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55" +*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56" +*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57" +*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58" +*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59" +*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60" +*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61" +*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62" +*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63" +*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64" +*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65" +*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66" +*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67" +*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68" +*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69" +*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70" +*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71" +*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72" +*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73" +*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74" +*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75" +*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76" +*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77" +*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78" +*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79" +*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80" +*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81" +*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82" +*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83" +*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84" +*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85" +*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86" +*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87" +*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88" +*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89" +*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90" +*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91" +*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92" +*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93" +*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94" +*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95" +*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96" +*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97" +*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98" +*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99" +*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" +*CloseUI: *Copies + +*CloseGroup: General + +*OpenGroup: Adjustment/Adjustment + +*OpenUI *halftone/Halftone Algorithm: PickOne +*FoomaticRIPOption halftone: enum CmdLine A +*OrderDependency: 110 AnySetup *halftone +*Defaulthalftone: default +*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default" +*FoomaticRIPOptionSetting halftone=default: " " +*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as" +*FoomaticRIPOptionSetting halftone=as: " -qas " +*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard" +*FoomaticRIPOptionSetting halftone=standard: " -q1 " +*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts" +*FoomaticRIPOptionSetting halftone=wts: " -qwts " +*CloseUI: *halftone + +*OpenUI *ICM/ICM Color Profile: PickOne +*FoomaticRIPOption ICM: enum CmdLine A +*OrderDependency: 300 AnySetup *ICM +*DefaultICM: none +*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none" +*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm " +*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing" +*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm " +*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2" +*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm " +*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3" +*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm " +*CloseUI: *ICM + +*CloseGroup: Adjustment + +*OpenGroup: Miscellaneous/Miscellaneous + +*OpenUI *NupOrient/N-up Orientation: PickOne +*FoomaticRIPOption NupOrient: enum CmdLine A +*OrderDependency: 200 AnySetup *NupOrient +*DefaultNupOrient: port +*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land" +*FoomaticRIPOptionSetting NupOrient=land: "-ol " +*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port" +*FoomaticRIPOptionSetting NupOrient=port: " " +*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea" +*FoomaticRIPOptionSetting NupOrient=sea: "-os " +*CloseUI: *NupOrient + +*OpenUI *NupPages/N-up Printing: PickOne +*FoomaticRIPOption NupPages: enum CmdLine A +*OrderDependency: 200 AnySetup *NupPages +*DefaultNupPages: 1up +*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up" +*FoomaticRIPOptionSetting NupPages=1up: " " +*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up" +*FoomaticRIPOptionSetting NupPages=2up: "-2 " +*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up" +*FoomaticRIPOptionSetting NupPages=3up: "-3 " +*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up" +*FoomaticRIPOptionSetting NupPages=4up: "-4 " +*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up" +*FoomaticRIPOptionSetting NupPages=6up: "-6 " +*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up" +*FoomaticRIPOptionSetting NupPages=8up: "-8 " +*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up" +*FoomaticRIPOptionSetting NupPages=10up: "-10 " +*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up" +*FoomaticRIPOptionSetting NupPages=12up: "-12 " +*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up" +*FoomaticRIPOptionSetting NupPages=14up: "-14 " +*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up" +*FoomaticRIPOptionSetting NupPages=15up: "-15 " +*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up" +*FoomaticRIPOptionSetting NupPages=16up: "-16 " +*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up" +*FoomaticRIPOptionSetting NupPages=18up: "-18 " +*CloseUI: *NupPages + +*CloseGroup: Miscellaneous + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + diff --git a/PPD/Dell-C1760.ppd b/PPD/Dell-C1760.ppd new file mode 100644 index 0000000..e230a62 --- /dev/null +++ b/PPD/Dell-C1760.ppd @@ -0,0 +1,433 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'Dell-C1760-foo2hbpl1.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "FOO2HBPL.PPD" +*Manufacturer: "Dell" +*Product: "(C1760)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "Dell C1760" +*ShortNickName: "Dell C1760 foo2hbpl1" +*NickName: "Dell C1760 Foomatic/foo2hbpl1 (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" + +*driverName foo2hbpl1/foo2hbpl1: "" +*driverType F/Filter: "" +*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverObsolete: False + + + + +*HWMargins: 9 12.00 9 12 +*VariablePaperSize: True +*MaxMediaWidth: 100000 +*MaxMediaHeight: 100000 +*NonUIOrderDependency: 135 AnySetup *CustomPageSize +*CustomPageSize True: "pop pop pop pop pop +%% FoomaticRIPOptionSetting: PageSize=Custom" +*End +*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 " +*ParamCustomPageSize Width: 1 points 36 100000 +*ParamCustomPageSize Height: 2 points 36 100000 +*ParamCustomPageSize Orientation: 3 int 0 0 +*ParamCustomPageSize WidthOffset: 4 points 0 0 +*ParamCustomPageSize HeightOffset: 5 points 0 0 + +*FoomaticIDs: Dell-C1760 foo2hbpl1 +*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A" + +*OpenGroup: General/General + +*OpenUI *Quality/Printing Quality: PickOne +*FoomaticRIPOption Quality: enum CmdLine A +*OrderDependency: 110 AnySetup *Quality +*DefaultQuality: normal +*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft" +*FoomaticRIPOptionSetting Quality=draft: " -t " +*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal" +*FoomaticRIPOptionSetting Quality=normal: " " +*CloseUI: *Quality + +*OpenUI *ColorMode/Color Mode: PickOne +*FoomaticRIPOption ColorMode: enum CmdLine A +*OrderDependency: 120 AnySetup *ColorMode +*DefaultColorMode: Monochrome +*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color" +*FoomaticRIPOptionSetting ColorMode=Color: "-c " +*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome" +*FoomaticRIPOptionSetting ColorMode=Monochrome: " " +*CloseUI: *ColorMode + +*OpenUI *PageSize/Page Size: PickOne +*FoomaticRIPOption PageSize: enum CmdLine A +*OrderDependency: 135 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " +*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 135 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "9 12.00 603 780.00" +*ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" +*ImageableArea Env10/Env #10: "9 12.00 288 672.00" +*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" +*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" +*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea Executive/Executive: "9 12.00 513 744.00" +*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" +*ImageableArea Folio/Folio: "9 12.00 603 924.00" +*ImageableArea Legal/Legal: "9 12.00 603 996.00" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension B5jis/B5 (JIS): "518 727" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" +*PaperDimension Folio/Folio: "612 936" +*PaperDimension Legal/Legal: "612 1008" + +*OpenUI *MediaType/Media Type: PickOne +*FoomaticRIPOption MediaType: enum CmdLine A +*OrderDependency: 150 AnySetup *MediaType +*DefaultMediaType: plain +*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain" +*FoomaticRIPOptionSetting MediaType=plain: "-m1 " +*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2" +*FoomaticRIPOptionSetting MediaType=plain2: "-m8 " +*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond" +*FoomaticRIPOptionSetting MediaType=bond: "-m2 " +*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2" +*FoomaticRIPOptionSetting MediaType=bond2: "-m9 " +*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope" +*FoomaticRIPOptionSetting MediaType=envelope: "-m6 " +*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels" +*FoomaticRIPOptionSetting MediaType=labels: "-m5 " +*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard" +*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 " +*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2" +*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 " +*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard" +*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 " +*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2" +*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 " +*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled" +*FoomaticRIPOptionSetting MediaType=recycled: "-m7 " +*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2" +*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 " +*CloseUI: *MediaType + +*OpenUI *Copies/Copies: PickOne +*FoomaticRIPOption Copies: int CmdLine A +*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionRange Copies: 1 100 +*OrderDependency: 220 AnySetup *Copies +*DefaultCopies: 1 +*FoomaticRIPDefaultCopies: 1 +*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1" +*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2" +*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3" +*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4" +*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5" +*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6" +*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7" +*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8" +*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9" +*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10" +*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11" +*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12" +*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13" +*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14" +*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15" +*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16" +*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17" +*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18" +*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19" +*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20" +*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21" +*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22" +*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23" +*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24" +*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25" +*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26" +*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27" +*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28" +*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29" +*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30" +*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31" +*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32" +*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33" +*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34" +*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35" +*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36" +*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37" +*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38" +*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39" +*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40" +*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41" +*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42" +*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43" +*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44" +*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45" +*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46" +*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47" +*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48" +*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49" +*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50" +*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51" +*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52" +*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53" +*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54" +*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55" +*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56" +*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57" +*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58" +*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59" +*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60" +*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61" +*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62" +*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63" +*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64" +*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65" +*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66" +*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67" +*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68" +*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69" +*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70" +*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71" +*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72" +*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73" +*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74" +*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75" +*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76" +*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77" +*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78" +*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79" +*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80" +*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81" +*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82" +*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83" +*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84" +*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85" +*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86" +*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87" +*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88" +*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89" +*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90" +*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91" +*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92" +*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93" +*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94" +*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95" +*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96" +*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97" +*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98" +*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99" +*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" +*CloseUI: *Copies + +*CloseGroup: General + +*OpenGroup: Adjustment/Adjustment + +*OpenUI *halftone/Halftone Algorithm: PickOne +*FoomaticRIPOption halftone: enum CmdLine A +*OrderDependency: 110 AnySetup *halftone +*Defaulthalftone: default +*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default" +*FoomaticRIPOptionSetting halftone=default: " " +*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as" +*FoomaticRIPOptionSetting halftone=as: " -qas " +*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard" +*FoomaticRIPOptionSetting halftone=standard: " -q1 " +*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts" +*FoomaticRIPOptionSetting halftone=wts: " -qwts " +*CloseUI: *halftone + +*OpenUI *ICM/ICM Color Profile: PickOne +*FoomaticRIPOption ICM: enum CmdLine A +*OrderDependency: 300 AnySetup *ICM +*DefaultICM: none +*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none" +*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm " +*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing" +*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm " +*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2" +*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm " +*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3" +*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm " +*CloseUI: *ICM + +*CloseGroup: Adjustment + +*OpenGroup: Miscellaneous/Miscellaneous + +*OpenUI *NupOrient/N-up Orientation: PickOne +*FoomaticRIPOption NupOrient: enum CmdLine A +*OrderDependency: 200 AnySetup *NupOrient +*DefaultNupOrient: port +*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land" +*FoomaticRIPOptionSetting NupOrient=land: "-ol " +*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port" +*FoomaticRIPOptionSetting NupOrient=port: " " +*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea" +*FoomaticRIPOptionSetting NupOrient=sea: "-os " +*CloseUI: *NupOrient + +*OpenUI *NupPages/N-up Printing: PickOne +*FoomaticRIPOption NupPages: enum CmdLine A +*OrderDependency: 200 AnySetup *NupPages +*DefaultNupPages: 1up +*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up" +*FoomaticRIPOptionSetting NupPages=1up: " " +*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up" +*FoomaticRIPOptionSetting NupPages=2up: "-2 " +*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up" +*FoomaticRIPOptionSetting NupPages=3up: "-3 " +*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up" +*FoomaticRIPOptionSetting NupPages=4up: "-4 " +*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up" +*FoomaticRIPOptionSetting NupPages=6up: "-6 " +*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up" +*FoomaticRIPOptionSetting NupPages=8up: "-8 " +*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up" +*FoomaticRIPOptionSetting NupPages=10up: "-10 " +*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up" +*FoomaticRIPOptionSetting NupPages=12up: "-12 " +*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up" +*FoomaticRIPOptionSetting NupPages=14up: "-14 " +*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up" +*FoomaticRIPOptionSetting NupPages=15up: "-15 " +*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up" +*FoomaticRIPOptionSetting NupPages=16up: "-16 " +*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up" +*FoomaticRIPOptionSetting NupPages=18up: "-18 " +*CloseUI: *NupPages + +*CloseGroup: Miscellaneous + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + diff --git a/PPD/Epson-AcuLaser_C1700.ppd b/PPD/Epson-AcuLaser_C1700.ppd new file mode 100644 index 0000000..b758ae5 --- /dev/null +++ b/PPD/Epson-AcuLaser_C1700.ppd @@ -0,0 +1,433 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'Epson-AcuLaser_C1700-foo2hbpl1.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "FOO2HBPL.PPD" +*Manufacturer: "Epson" +*Product: "(AcuLaser C1700)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "Epson AcuLaser C1700" +*ShortNickName: "Epson AcuLaser C1700 foo2hbpl1" +*NickName: "Epson AcuLaser C1700 Foomatic/foo2hbpl1 (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" + +*driverName foo2hbpl1/foo2hbpl1: "" +*driverType F/Filter: "" +*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverObsolete: False + + + + +*HWMargins: 9 12.00 9 12 +*VariablePaperSize: True +*MaxMediaWidth: 100000 +*MaxMediaHeight: 100000 +*NonUIOrderDependency: 135 AnySetup *CustomPageSize +*CustomPageSize True: "pop pop pop pop pop +%% FoomaticRIPOptionSetting: PageSize=Custom" +*End +*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 " +*ParamCustomPageSize Width: 1 points 36 100000 +*ParamCustomPageSize Height: 2 points 36 100000 +*ParamCustomPageSize Orientation: 3 int 0 0 +*ParamCustomPageSize WidthOffset: 4 points 0 0 +*ParamCustomPageSize HeightOffset: 5 points 0 0 + +*FoomaticIDs: Epson-AcuLaser_C1700 foo2hbpl1 +*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A" + +*OpenGroup: General/General + +*OpenUI *Quality/Printing Quality: PickOne +*FoomaticRIPOption Quality: enum CmdLine A +*OrderDependency: 110 AnySetup *Quality +*DefaultQuality: normal +*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft" +*FoomaticRIPOptionSetting Quality=draft: " -t " +*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal" +*FoomaticRIPOptionSetting Quality=normal: " " +*CloseUI: *Quality + +*OpenUI *ColorMode/Color Mode: PickOne +*FoomaticRIPOption ColorMode: enum CmdLine A +*OrderDependency: 120 AnySetup *ColorMode +*DefaultColorMode: Monochrome +*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color" +*FoomaticRIPOptionSetting ColorMode=Color: "-c " +*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome" +*FoomaticRIPOptionSetting ColorMode=Monochrome: " " +*CloseUI: *ColorMode + +*OpenUI *PageSize/Page Size: PickOne +*FoomaticRIPOption PageSize: enum CmdLine A +*OrderDependency: 135 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " +*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 135 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "9 12.00 603 780.00" +*ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" +*ImageableArea Env10/Env #10: "9 12.00 288 672.00" +*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" +*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" +*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea Executive/Executive: "9 12.00 513 744.00" +*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" +*ImageableArea Folio/Folio: "9 12.00 603 924.00" +*ImageableArea Legal/Legal: "9 12.00 603 996.00" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension B5jis/B5 (JIS): "518 727" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" +*PaperDimension Folio/Folio: "612 936" +*PaperDimension Legal/Legal: "612 1008" + +*OpenUI *MediaType/Media Type: PickOne +*FoomaticRIPOption MediaType: enum CmdLine A +*OrderDependency: 150 AnySetup *MediaType +*DefaultMediaType: plain +*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain" +*FoomaticRIPOptionSetting MediaType=plain: "-m1 " +*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2" +*FoomaticRIPOptionSetting MediaType=plain2: "-m8 " +*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond" +*FoomaticRIPOptionSetting MediaType=bond: "-m2 " +*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2" +*FoomaticRIPOptionSetting MediaType=bond2: "-m9 " +*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope" +*FoomaticRIPOptionSetting MediaType=envelope: "-m6 " +*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels" +*FoomaticRIPOptionSetting MediaType=labels: "-m5 " +*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard" +*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 " +*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2" +*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 " +*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard" +*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 " +*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2" +*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 " +*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled" +*FoomaticRIPOptionSetting MediaType=recycled: "-m7 " +*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2" +*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 " +*CloseUI: *MediaType + +*OpenUI *Copies/Copies: PickOne +*FoomaticRIPOption Copies: int CmdLine A +*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionRange Copies: 1 100 +*OrderDependency: 220 AnySetup *Copies +*DefaultCopies: 1 +*FoomaticRIPDefaultCopies: 1 +*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1" +*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2" +*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3" +*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4" +*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5" +*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6" +*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7" +*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8" +*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9" +*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10" +*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11" +*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12" +*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13" +*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14" +*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15" +*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16" +*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17" +*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18" +*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19" +*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20" +*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21" +*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22" +*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23" +*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24" +*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25" +*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26" +*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27" +*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28" +*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29" +*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30" +*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31" +*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32" +*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33" +*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34" +*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35" +*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36" +*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37" +*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38" +*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39" +*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40" +*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41" +*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42" +*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43" +*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44" +*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45" +*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46" +*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47" +*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48" +*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49" +*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50" +*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51" +*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52" +*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53" +*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54" +*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55" +*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56" +*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57" +*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58" +*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59" +*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60" +*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61" +*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62" +*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63" +*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64" +*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65" +*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66" +*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67" +*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68" +*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69" +*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70" +*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71" +*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72" +*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73" +*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74" +*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75" +*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76" +*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77" +*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78" +*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79" +*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80" +*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81" +*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82" +*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83" +*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84" +*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85" +*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86" +*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87" +*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88" +*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89" +*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90" +*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91" +*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92" +*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93" +*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94" +*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95" +*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96" +*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97" +*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98" +*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99" +*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" +*CloseUI: *Copies + +*CloseGroup: General + +*OpenGroup: Adjustment/Adjustment + +*OpenUI *halftone/Halftone Algorithm: PickOne +*FoomaticRIPOption halftone: enum CmdLine A +*OrderDependency: 110 AnySetup *halftone +*Defaulthalftone: default +*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default" +*FoomaticRIPOptionSetting halftone=default: " " +*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as" +*FoomaticRIPOptionSetting halftone=as: " -qas " +*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard" +*FoomaticRIPOptionSetting halftone=standard: " -q1 " +*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts" +*FoomaticRIPOptionSetting halftone=wts: " -qwts " +*CloseUI: *halftone + +*OpenUI *ICM/ICM Color Profile: PickOne +*FoomaticRIPOption ICM: enum CmdLine A +*OrderDependency: 300 AnySetup *ICM +*DefaultICM: none +*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none" +*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm " +*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing" +*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm " +*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2" +*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm " +*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3" +*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm " +*CloseUI: *ICM + +*CloseGroup: Adjustment + +*OpenGroup: Miscellaneous/Miscellaneous + +*OpenUI *NupOrient/N-up Orientation: PickOne +*FoomaticRIPOption NupOrient: enum CmdLine A +*OrderDependency: 200 AnySetup *NupOrient +*DefaultNupOrient: port +*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land" +*FoomaticRIPOptionSetting NupOrient=land: "-ol " +*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port" +*FoomaticRIPOptionSetting NupOrient=port: " " +*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea" +*FoomaticRIPOptionSetting NupOrient=sea: "-os " +*CloseUI: *NupOrient + +*OpenUI *NupPages/N-up Printing: PickOne +*FoomaticRIPOption NupPages: enum CmdLine A +*OrderDependency: 200 AnySetup *NupPages +*DefaultNupPages: 1up +*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up" +*FoomaticRIPOptionSetting NupPages=1up: " " +*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up" +*FoomaticRIPOptionSetting NupPages=2up: "-2 " +*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up" +*FoomaticRIPOptionSetting NupPages=3up: "-3 " +*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up" +*FoomaticRIPOptionSetting NupPages=4up: "-4 " +*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up" +*FoomaticRIPOptionSetting NupPages=6up: "-6 " +*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up" +*FoomaticRIPOptionSetting NupPages=8up: "-8 " +*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up" +*FoomaticRIPOptionSetting NupPages=10up: "-10 " +*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up" +*FoomaticRIPOptionSetting NupPages=12up: "-12 " +*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up" +*FoomaticRIPOptionSetting NupPages=14up: "-14 " +*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up" +*FoomaticRIPOptionSetting NupPages=15up: "-15 " +*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up" +*FoomaticRIPOptionSetting NupPages=16up: "-16 " +*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up" +*FoomaticRIPOptionSetting NupPages=18up: "-18 " +*CloseUI: *NupPages + +*CloseGroup: Miscellaneous + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + diff --git a/PPD/Fuji_Xerox-DocuPrint_CP105.ppd b/PPD/Fuji_Xerox-DocuPrint_CP105.ppd new file mode 100644 index 0000000..78e839f --- /dev/null +++ b/PPD/Fuji_Xerox-DocuPrint_CP105.ppd @@ -0,0 +1,433 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'Fuji_Xerox-DocuPrint_CP105-foo2hbpl1.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "FOO2HBPL.PPD" +*Manufacturer: "Fuji Xerox" +*Product: "(DocuPrint CP105)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "Fuji Xerox DocuPrint CP105" +*ShortNickName: "Fuji Xerox D.P. CP105 foo2hbpl1" +*NickName: "Fuji Xerox DocuPrint CP105 Foomatic/foo2hbpl1 (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" + +*driverName foo2hbpl1/foo2hbpl1: "" +*driverType F/Filter: "" +*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverObsolete: False + + + + +*HWMargins: 9 12.00 9 12 +*VariablePaperSize: True +*MaxMediaWidth: 100000 +*MaxMediaHeight: 100000 +*NonUIOrderDependency: 135 AnySetup *CustomPageSize +*CustomPageSize True: "pop pop pop pop pop +%% FoomaticRIPOptionSetting: PageSize=Custom" +*End +*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 " +*ParamCustomPageSize Width: 1 points 36 100000 +*ParamCustomPageSize Height: 2 points 36 100000 +*ParamCustomPageSize Orientation: 3 int 0 0 +*ParamCustomPageSize WidthOffset: 4 points 0 0 +*ParamCustomPageSize HeightOffset: 5 points 0 0 + +*FoomaticIDs: Fuji_Xerox-DocuPrint_CP105 foo2hbpl1 +*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A" + +*OpenGroup: General/General + +*OpenUI *Quality/Printing Quality: PickOne +*FoomaticRIPOption Quality: enum CmdLine A +*OrderDependency: 110 AnySetup *Quality +*DefaultQuality: normal +*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft" +*FoomaticRIPOptionSetting Quality=draft: " -t " +*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal" +*FoomaticRIPOptionSetting Quality=normal: " " +*CloseUI: *Quality + +*OpenUI *ColorMode/Color Mode: PickOne +*FoomaticRIPOption ColorMode: enum CmdLine A +*OrderDependency: 120 AnySetup *ColorMode +*DefaultColorMode: Monochrome +*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color" +*FoomaticRIPOptionSetting ColorMode=Color: "-c " +*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome" +*FoomaticRIPOptionSetting ColorMode=Monochrome: " " +*CloseUI: *ColorMode + +*OpenUI *PageSize/Page Size: PickOne +*FoomaticRIPOption PageSize: enum CmdLine A +*OrderDependency: 135 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " +*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 135 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "9 12.00 603 780.00" +*ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" +*ImageableArea Env10/Env #10: "9 12.00 288 672.00" +*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" +*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" +*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea Executive/Executive: "9 12.00 513 744.00" +*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" +*ImageableArea Folio/Folio: "9 12.00 603 924.00" +*ImageableArea Legal/Legal: "9 12.00 603 996.00" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension B5jis/B5 (JIS): "518 727" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" +*PaperDimension Folio/Folio: "612 936" +*PaperDimension Legal/Legal: "612 1008" + +*OpenUI *MediaType/Media Type: PickOne +*FoomaticRIPOption MediaType: enum CmdLine A +*OrderDependency: 150 AnySetup *MediaType +*DefaultMediaType: plain +*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain" +*FoomaticRIPOptionSetting MediaType=plain: "-m1 " +*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2" +*FoomaticRIPOptionSetting MediaType=plain2: "-m8 " +*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond" +*FoomaticRIPOptionSetting MediaType=bond: "-m2 " +*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2" +*FoomaticRIPOptionSetting MediaType=bond2: "-m9 " +*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope" +*FoomaticRIPOptionSetting MediaType=envelope: "-m6 " +*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels" +*FoomaticRIPOptionSetting MediaType=labels: "-m5 " +*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard" +*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 " +*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2" +*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 " +*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard" +*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 " +*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2" +*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 " +*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled" +*FoomaticRIPOptionSetting MediaType=recycled: "-m7 " +*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2" +*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 " +*CloseUI: *MediaType + +*OpenUI *Copies/Copies: PickOne +*FoomaticRIPOption Copies: int CmdLine A +*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionRange Copies: 1 100 +*OrderDependency: 220 AnySetup *Copies +*DefaultCopies: 1 +*FoomaticRIPDefaultCopies: 1 +*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1" +*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2" +*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3" +*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4" +*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5" +*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6" +*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7" +*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8" +*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9" +*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10" +*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11" +*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12" +*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13" +*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14" +*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15" +*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16" +*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17" +*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18" +*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19" +*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20" +*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21" +*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22" +*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23" +*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24" +*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25" +*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26" +*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27" +*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28" +*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29" +*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30" +*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31" +*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32" +*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33" +*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34" +*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35" +*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36" +*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37" +*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38" +*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39" +*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40" +*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41" +*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42" +*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43" +*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44" +*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45" +*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46" +*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47" +*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48" +*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49" +*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50" +*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51" +*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52" +*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53" +*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54" +*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55" +*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56" +*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57" +*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58" +*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59" +*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60" +*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61" +*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62" +*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63" +*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64" +*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65" +*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66" +*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67" +*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68" +*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69" +*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70" +*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71" +*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72" +*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73" +*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74" +*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75" +*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76" +*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77" +*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78" +*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79" +*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80" +*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81" +*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82" +*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83" +*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84" +*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85" +*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86" +*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87" +*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88" +*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89" +*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90" +*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91" +*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92" +*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93" +*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94" +*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95" +*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96" +*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97" +*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98" +*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99" +*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" +*CloseUI: *Copies + +*CloseGroup: General + +*OpenGroup: Adjustment/Adjustment + +*OpenUI *halftone/Halftone Algorithm: PickOne +*FoomaticRIPOption halftone: enum CmdLine A +*OrderDependency: 110 AnySetup *halftone +*Defaulthalftone: default +*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default" +*FoomaticRIPOptionSetting halftone=default: " " +*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as" +*FoomaticRIPOptionSetting halftone=as: " -qas " +*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard" +*FoomaticRIPOptionSetting halftone=standard: " -q1 " +*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts" +*FoomaticRIPOptionSetting halftone=wts: " -qwts " +*CloseUI: *halftone + +*OpenUI *ICM/ICM Color Profile: PickOne +*FoomaticRIPOption ICM: enum CmdLine A +*OrderDependency: 300 AnySetup *ICM +*DefaultICM: none +*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none" +*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm " +*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing" +*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm " +*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2" +*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm " +*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3" +*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm " +*CloseUI: *ICM + +*CloseGroup: Adjustment + +*OpenGroup: Miscellaneous/Miscellaneous + +*OpenUI *NupOrient/N-up Orientation: PickOne +*FoomaticRIPOption NupOrient: enum CmdLine A +*OrderDependency: 200 AnySetup *NupOrient +*DefaultNupOrient: port +*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land" +*FoomaticRIPOptionSetting NupOrient=land: "-ol " +*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port" +*FoomaticRIPOptionSetting NupOrient=port: " " +*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea" +*FoomaticRIPOptionSetting NupOrient=sea: "-os " +*CloseUI: *NupOrient + +*OpenUI *NupPages/N-up Printing: PickOne +*FoomaticRIPOption NupPages: enum CmdLine A +*OrderDependency: 200 AnySetup *NupPages +*DefaultNupPages: 1up +*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up" +*FoomaticRIPOptionSetting NupPages=1up: " " +*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up" +*FoomaticRIPOptionSetting NupPages=2up: "-2 " +*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up" +*FoomaticRIPOptionSetting NupPages=3up: "-3 " +*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up" +*FoomaticRIPOptionSetting NupPages=4up: "-4 " +*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up" +*FoomaticRIPOptionSetting NupPages=6up: "-6 " +*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up" +*FoomaticRIPOptionSetting NupPages=8up: "-8 " +*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up" +*FoomaticRIPOptionSetting NupPages=10up: "-10 " +*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up" +*FoomaticRIPOptionSetting NupPages=12up: "-12 " +*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up" +*FoomaticRIPOptionSetting NupPages=14up: "-14 " +*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up" +*FoomaticRIPOptionSetting NupPages=15up: "-15 " +*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up" +*FoomaticRIPOptionSetting NupPages=16up: "-16 " +*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up" +*FoomaticRIPOptionSetting NupPages=18up: "-18 " +*CloseUI: *NupPages + +*CloseGroup: Miscellaneous + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + diff --git a/README b/README index 52e065e..a85273b 100644 --- a/README +++ b/README @@ -132,6 +132,17 @@ GENERAL - Oki C5100n/C5150n/C5200n - Oki C5500n/C5600n/C5800n + FOO2HBPL1 + --------- + foo2hbpl1 converts Ghostscript pbmraw, pgmraw, ppmraw, or pamcmyk32 + output formats to monochrome or color HBPL version 1 streams. + + - Dell 1250c + - Dell C1660 + - Dell C1760 + - Epson AcuLaser C1700 + - Fuji-Xerox DocuPrint CP105 + FOO2HBPL2 --------- foo2hbpl2 converts Ghostscript pbmraw, bitcmyk, or pksmraw output for‐ diff --git a/README.in b/README.in index 631bbc5..d579fa7 100644 --- a/README.in +++ b/README.in @@ -132,6 +132,17 @@ GENERAL - Oki C5100n/C5150n/C5200n - Oki C5500n/C5600n/C5800n + FOO2HBPL1 + --------- + foo2hbpl1 converts Ghostscript pbmraw, pgmraw, ppmraw, or pamcmyk32 + output formats to monochrome or color HBPL version 1 streams. + + - Dell 1250c + - Dell C1660 + - Dell C1760 + - Epson AcuLaser C1700 + - Fuji-Xerox DocuPrint CP105 + FOO2HBPL2 --------- foo2hbpl2 converts Ghostscript pbmraw, bitcmyk, or pksmraw output for‐ diff --git a/foo2hbpl1-wrapper.1in b/foo2hbpl1-wrapper.1in new file mode 100644 index 0000000..001f524 --- /dev/null +++ b/foo2hbpl1-wrapper.1in @@ -0,0 +1,240 @@ +'\" t +.TH foo2hbpl1-wrapper 1 "${MODpage}" "foo2hbpl1-wrapper ${MODver}" +#ifndef OLDGROFF +#include "macros.man" +#endif +'\"========================================================================== +'\" MANUAL PAGE SOURCE +'\"========================================================================== +.SH NAME +foo2hbpl1-wrapper \- Convert Postscript into a ZJS printer stream +.SH SYNOPSIS +.B foo2hbpl1-wrapper +.RI [ options "] [" ps-file ] +.SH DESCRIPTION +.B foo2hbpl1-wrapper +is a Foomatic compatible printer wrapper for the \fBfoo2hbpl1\fP printer driver. +This script reads a Postscript \fIps-file\fP or standard input +and converts it to Zenographics ZjStream printer format +for driving the +Dell 1250c, Dell C1660w, Dell C1760w, +Epson AcuLaser C1700, +and Fuji-Xerox CP105b printers. +.P +This script can be used in a standalone fashion, but is intended to +be called from a printer spooler system which uses the Foomatic +printer database. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-c +Print in color (else monochrome). +.TP +.BI \-C\0 colormode +Color correction mode [0]. +.TS +n l . +10 ICM color profile (using -G *.icm file) +.TE +.TP +.BI \-d\0 duplex +Duplex code to send to printer [1]. +.TS +| n l | n l | n l . +1 off 2 long edge 3 short edge +.TE +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +l r. +_ +Media HBPL +_ +plain 1 +bond 2 +lwcard 3 +lwgcard 4 +labels 5 +envelope 6 +recycled 7 +plain2 8 +bond2 9 +lwcard2 10 +lwgcard2 11 +recycled2 12 +.TE +.TP +.BI \-p\0 paper +Paper size code to send to printer [1]. +.TS +l r. +_ +Paper HBPL +_ +A4 1 +B5jis 2 +letter 4 +executive 5 +fanfold german legal 6 +folio 6 +legal 7 +env#10 9 +envMonarch 10 +envC5 11 +envDL 12 +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [1200x600]. +.TP +.BI \-s\0 source +Source (Input Slot) code to send to printer [7]. +.TS +| n l | n l. +1 upper 4 manual +2 lower 7 auto +.TE +.TP +.BI \-t +Draft mode. Every other pixel is white. +.TP +.BI \-T\0 density +Print density (1-5). The default is 3 (medium). +.TP +.BI "\-2 \-3 \-4 \-5 \-6 \-8 \-9 \-10 \-12 \-14 \-15 \-16 \-18" +Print in N-up. Requires the \fBpsutils\fP package. +.TP +.BI \-o\0 orient +Orientation used for N-up. +.TS +l l l. +Portrait -op (normal) +Landscape -ol (rotated 90 degrees anticlockwise) +Seascape -os (rotated 90 degrees clockwise) +.TE +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2hbpl1\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-L\0 mask +Send the logical clipping values from -u/-l in the ZjStream. +\fBfoo2hbpl1-wrapper\fP always runs Ghostscript with the ideal page dimensions, +so that the scale of the image is correct, +regardless whether or not the printer has unprintable regions. +This option is used to move the position of the clipped image +back to where it belongs on the page. The default is to send +the amount which was clipped by -u and -l, and should be +good in most cases. +.TS +l l. +0 don't send any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.TP +.BI \-P +Do not send START_PLANE codes on monochrome output. May be +needed by some monochrome-only printers, such as the +HP LaserJet 1000. +.TP +.BI \-X\0 padlen +Add extra zero padding to the end of BID segments. The default is +16 bytes. Padding 16 bytes of zeroes +is needed for older ZjStream printers, such as the Minolta 2200DL +and HP LaserJet 1000, and seems harmless to newer ones, such as +the Minolta 2300DL. So the default should be good for all cases. +.SS Color Tweaking Options +These are the options used to control the quality of color output. +Color correction is currently a WORK IN PROGRESS. +.TP +.BI \-g\0 gsopts +Additional options to pass to Ghostscript, such as -g\(lq-dDITHERPPI=nnn\(rq, +etc. This option may appear more than once. +.TP +.BI \-G\0 profile.icm +Convert \fIprofile.icm\fP to a Postscript color rendering +dictionary (CRD) using \fBfoo2zjs-icc2ps\fP and +adjust the printer colors by using the Postscript \fBsetcolorrendering\fP +operator. (WORK IN PROGRESS). +.TP +.BI \-G\0 gamma-file.ps +Prepend \fIgamma-file.ps\fP to the Postscript input to perform +color correction using the \fBsetcolortransfer\fP Postscript operator. +For example, the file might contain: +.br +{0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer +.TP +.BI \-I\0 intent +Select profile intent from the ICM file. +0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute. +Default is 0 (perceptual). +.SS Debugging Options +These options are used for debugging \fBfoo2hbpl1\fP and its wrapper. +.TP +.BI \-S\0 plane +Output just a single color plane from a color print and print it +on the black plane. The default is to output all color planes. +.TS +l l. +1 Cyan +2 Magenta +3 Yellow +4 Black +.TE +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a monochrome ZjStream from a Postscript document, +examine it, and then print it using a RAW print queue: + +.RS +.nf +foo2hbpl1-wrapper testpage.ps > testpage.prn +hbpl1decode < testpage.prn +lpr -P raw testpage.prn +.fi +.RE +.P +Create a color ZjStream stream from a Postscript document: + +.RS +.nf +foo2hbpl1-wrapper -c testpage.ps > testpage.prn +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2hbpl1-wrapper +.SH SEE ALSO +.BR foo2hbpl1 (1), +.BR hbpldecode (1) +.SH "AUTHOR" +Rick Richardson +.br +${URLHBPL}/ +'\" +'\" +'\" +.em pdf_outline diff --git a/foo2hbpl1-wrapper.in b/foo2hbpl1-wrapper.in new file mode 100644 index 0000000..567e891 --- /dev/null +++ b/foo2hbpl1-wrapper.in @@ -0,0 +1,577 @@ +#!/bin/sh + +#* Copyright (C) 2013 Rick Richardson +#* +#* This program is free software; you can redistribute it and/or modify +#* it under the terms of the GNU General Public License as published by +#* the Free Software Foundation; either version 2 of the License, or +#* (at your option) any later version. +#* +#* This program is distributed in the hope that it will be useful, +#* but WITHOUT ANY WARRANTY; without even the implied warranty of +#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#* GNU General Public License for more details. +#* +#* You should have received a copy of the GNU General Public License +#* along with this program; if not, write to the Free Software +#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +#* +#* Authors: Rick Richardson + +VERSION='$Id: foo2hbpl1-wrapper.in,v 1.3 2014/03/24 23:14:24 rick Exp $' + +# +# Printer Notes: +# +# Dell 1250c +# Dell C1660w +# Dell C1760w +# Epson AcuLaser C1700 +# Fuji-Xerox DocuPrint CP105b +# + +PROGNAME="$0" +BASENAME=`basename $PROGNAME` +PREFIX=/usr +SHARE=$PREFIX/share/foo2hbpl +PATH=$PATH:/sw/bin:/opt/local/bin + +# +# Log the command line, for debugging and problem reports +# +if [ -x /usr/bin/logger -o -x /bin/logger ]; then + logger -t "$BASENAME" -p lpr.info -- "$BASENAME $@" &2 + exit 1 +} + +dbgcmd() { + if [ $DEBUG -ge 1 ]; then + echo "$@" >&2 + fi + "$@" +} + +# +# N-up-ify the job. Requires psnup from psutils package +# +nup() { + case "$NUP" in + [2368]|1[0458]) + tr '\r' '\n' | psnup $NUP_ORIENT -d2 -$NUP -m.3in -p$paper -q + ;; + [49]|1[26]) + tr '\r' '\n' | psnup $NUP_ORIENT -d2 -$NUP -m.5in -p$paper -q + ;; + *) + error "Illegal call to nup()." + ;; + esac +} + +# +# Process the options +# + +# Try to use a local copy of GhostScript 8.54, if available. Otherwise, +# fallback to whatever the Linux distro has installed (usually 7.07) +# +# N.B. := operator used here, when :- would be better, because "ash" +# doesn't have :- +if eval gs.foo -v >/dev/null 2>&1; then + GSBIN=${GSBIN:-gs.foo} +else + GSBIN=${GSBIN:-gs} +fi + +CMDLINE="$*" +DEBUG=0 +COLOR= +COLORMODE=default +MODEL=0 +MEDIA=1 # plain +COPIES=1 +PAPER=letter +RES=600x600 # do not change this +SOURCE=1 +NUP= +CLIP_ALL= +BC= +AIB= +NOPLANES= +COLOR2MONO= +GAMMAFILE=default +INTENT=0 +GSOPTS= +EXTRAPAD= +SAVETONER= +NUP_ORIENT= +GSDEV=-sDEVICE=pgmraw +# What mode to use if the user wants us to pick the "best" mode +case `$GSBIN --version` in +7*) DEFAULTCOLORMODE=10 + DEFAULTCOLORMODE=1 + ;; +8.1*) + DEFAULTCOLORMODE=1 + QUALITY=1 + ;; +*) DEFAULTCOLORMODE=1 + ;; +esac +while getopts "1:23456789o:b:cC:d:g:l:u:L:m:n:p:q:s:tz:ABS:D:G:I:PX:Vh?" opt +do + case $opt in + b) GSBIN="$OPTARG";; + c) COLOR=-c;; + d) DUPLEX="$OPTARG";; + g) GSOPTS="$GSOPTS $OPTARG";; + m) MEDIA="$OPTARG";; + n) COPIES="$OPTARG";; + p) PAPER="$OPTARG";; + q) QUALITY="$OPTARG";; + s) SOURCE="$OPTARG";; + t) SAVETONER="-t";; + z) MODEL="$OPTARG";; + u) CLIP_ALL="-u $OPTARG";; + A) AIB=-A;; + B) BC=-B;; + C) COLORMODE="$OPTARG";; + S) COLOR2MONO="-S$OPTARG";; + D) DEBUG="$OPTARG";; + G) GAMMAFILE="$OPTARG";; + I) INTENT="$OPTARG";; + P) NOPLANES=-P;; + X) EXTRAPAD="-X $OPTARG";; + [234689]) NUP="$opt";; + [57]) error "Can't find acceptable layout for $opt-up";; + 1) case "$OPTARG" in + [024568]) NUP="1$OPTARG";; + *) error "Can't find acceptable layout for 1$OPTARG-up";; + esac + ;; + o) case "$OPTARG" in + l*) NUP_ORIENT=-l;; + s*) NUP_ORIENT=-r;; + p*|*) NUP_ORIENT=;; + esac;; + V) echo "$VERSION"; foo2hbpl -V; foo2zjs-pstops -V; exit 0;; + h|\?) + if [ "$CMDLINE" != "-?" -a "$CMDLINE" != -h ]; then + echo "Illegal command:" + echo " $0 $CMDLINE" + echo + fi + usage;; + esac +done +shift `expr $OPTIND - 1` + +# +# If there is an argument left, take it as the file to print. +# Else, the input comes from stdin. +# +if [ $# -ge 1 ]; then + if [ "$LPJOB" = "" ]; then + : # LPJOB="$1" + fi + exec < $1 +fi + +# +# Validate media code +# +case "$MEDIA" in +1|plain) MEDIA=1;; +2|bond) MEDIA=2;; +3|lwcard) MEDIA=3;; +4|lwgcard) MEDIA=4;; +5|labels) MEDIA=5;; +6|envelope) MEDIA=6;; +7|recycled) MEDIA=7;; +8|plain2) MEDIA=8;; +9|bond2) MEDIA=9;; +10|lwcard2) MEDIA=10;; +11|lwgcard2) MEDIA=11;; +12|recycled2) MEDIA=12;; +[0-9]*) ;; +*) error "Unknown media code $MEDIA";; +esac + +# +# Validate source (InputSlot) code +# +case "$SOURCE" in +1|auto) SOURCE=1;; +2|manual) SOURCE=2;; +3|multi) SOURCE=3;; +4|tray1) SOURCE=4;; +[0-9]*) ;; +*) error "Unknown source code $SOURCE";; +esac + +# +# Figure out the paper dimensions in pixels/inch, and set the +# default clipping region. Unfortunately, this is a trouble +# area for ZjStream printers. Various versions of ZjS print +# engines react differently when asked to print into their +# unprintable regions. +# +set_clipping() { + + # Set clipping region if it isn't already set + if [ "$CLIP_ALL" = "" ]; then + CLIP_ALL="-u $1,$2,$3,$4" + fi +} + +case "$PAPER" in +Custom*x*) + # Command line only + XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` + YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` + if [ "$XDIM" = "" -o "$YDIM" = "" ]; then + error "Custom page size '$PAPER' != 1-99999" + fi + if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then + error "Custom page size '$PAPER' != 1-99999" + fi + XDIM=`dc -e "$XDIM 600* 72/p"` + YDIM=`dc -e "$YDIM 600* 72/p"` + PAPER=21; paper=letter; + DIM="${XDIM}x${YDIM}" + ;; +Custom*) + #%%BeginFeature: *CustomPageSize True + #216 + #360 + #0 + #0 + #0 + #pop pop pop pop pop + + #%%BeginFeature: *CustomPageSize True + #792.000000 612.000000 1 0.000000 0.000000 + #pop pop pop pop pop + + if [ $DEBUG = 0 ]; then + TMPFILE=/tmp/cus$$ + else + TMPFILE=/tmp/custom.ps + fi + cat >$TMPFILE + exec <$TMPFILE + + tmp=`head -n 10000 $TMPFILE \ + | sed -n '/CustomPageSize/{n;p;n;p;}' \ + | tr '\n' ' '` + case "$tmp" in + [0-9]*\ [0-9]*) + XDIM=`echo "$tmp" | sed 's/ .*//'` + YDIM=`echo "$tmp" | sed -e 's/^[^ ]* //' -e 's/ .*//'` + ;; + *) + if [ $DEBUG = 0 ]; then rm -f $TMPFILE; fi + error "Custom page size [XY]DIM != 1-99999" + ;; + esac + XDIM=`dc -e "$XDIM 600* 72/p"` + YDIM=`dc -e "$YDIM 600* 72/p"` + PAPER=21; paper=letter; + DIM="${XDIM}x${YDIM}" + ;; + +# Use names that Ghostscript recognizes, referring to +# /usr/share/ghostscript/9.10/Resource/Init/gs_statd.ps +# foo2hbpl1 will provide the appropriate numeric value + +letter) DIM=5100x6600 ;; +legal) DIM=5100x8400 ;; +a4) DIM=4961x7016 ;; +executive) DIM=4350x6300 ;; +env10) DIM=2475x5700 ;; +monarch) DIM=2325x4500 ;; +c5) DIM=3827x5409 ;; +envDL) DIM=2599x5197 ;; +isob5|b5) DIM=4158x5906 ;; +jisb5) DIM=4299x6071 ;; +a5) DIM=3496x4961 ;; +folio) DIM=5100x7800 ;; +pa4) DIM=4961x6600 ;; +archA) DIM=5400x7200 ;; +*) error "Unimplemented paper code $PAPER";; +esac + +#set_clipping 47 48 51 46 # exact values for Dell C1660w on letter paper + set_clipping 51 51 51 51 # default is 0.085 inches all around + +PAPERSIZE="-sPAPERSIZE=$PAPER"; + +# +# Filter thru psnup if N-up printing has been requested +# +case $NUP in +[234689]|1[024568]) PREFILTER="nup";; +*) PREFILTER=cat;; +esac +if [ "$DEBUG" -ge 9 ]; then + PREFILTER="tee /tmp/$BASENAME.ps" +fi + +# +# Overload -G. If the file name ends with ".icm" or ".ICM" +# then convert the ICC color profile to a Postscript CRD, +# then prepend it to the users job. Select the intent +# using the -I option. +# + +create_crd() { + # + # Create a Postscript CRD + # + ICC2PS=$PREFIX/bin/foo2zjs-icc2ps + if [ -x $ICC2PS ]; then + case "$GAMMAFILE" in + none | none.icm | */none.icm) + ;; + *) + if [ -x /usr/bin/logger ]; then + logger -t "$BASENAME" -p lpr.info -- \ + "`basename $ICC2PS` -o $GAMMAFILE -t$INTENT > $ICCTMP.crd.ps" + fi + $ICC2PS -o $GAMMAFILE -t$INTENT > $ICCTMP.crd.ps 2>$ICCTMP.log \ + || error "Problem converting .ICM file to Postscript" + ;; + esac + + PSTOPS_OPTS="$PSTOPS_OPTS -c" + cat > $ICCTMP.usecie.ps <<-EOF + %!PS-Adobe-3.0 + <>setpagedevice + EOF + if [ "$QUALITY" = wts -o "$QUALITY" = as ]; then + if [ "$QUALITY" = wts ]; then + cat >> $ICCTMP.usecie.ps <<-EOF + << /UseWTS true >> setuserparams + EOF + else + cat >> $ICCTMP.usecie.ps <<-EOF + << /UseWTS false >> setuserparams + EOF + fi + cat >> $ICCTMP.usecie.ps <<-EOF + << + /AccurateScreens true + /HalftoneType 1 + /HalftoneName (Round Dot Screen) cvn + /SpotFunction { 180 mul cos exch 180 mul cos add 2 div} + /Frequency 137 + /Angle 37 + >> sethalftone + EOF + fi + cat > $ICCTMP.selcrd.ps <<-EOF + /Current /ColorRendering findresource setcolorrendering + EOF + case "$GAMMAFILE" in + none | none.icm | */none.icm) GAMMAFILE="$ICCTMP.usecie.ps";; + *) GAMMAFILE="$ICCTMP.usecie.ps $ICCTMP.crd.ps $ICCTMP.selcrd.ps";; + esac + else + GAMMAFILE= + fi +} + +if [ $DEBUG -gt 0 ]; then + ICCTMP=/tmp/icc +else + ICCTMP=/tmp/icc$$ +fi + +if [ "" = "$COLOR" ]; then + COLORMODE= + GAMMAFILE= +else + case "$COLORMODE" in + default) COLORMODE=$DEFAULTCOLORMODE;; + esac + case "$GAMMAFILE" in + default) GAMMAFILE=samclp300-0.icm;; + esac +fi + +CRDBASE="$PREFIX/share/foo2hbpl/crd" +case "$MODEL" in + 0) model=CLP-300;; + 1) model=CLP-600;; + 2) model=CLP-600;; + 3) model=CLP-600;; +esac + +PSTOPS_OPTS="-n" + +case "$COLORMODE" in +0|"") + # Monochrome + ;; +10|icm) + # Use old ICM method + AIB=-A + BC=-B + case "$GAMMAFILE" in + none | none.icm | */none.icm) + create_crd + ;; + *.icm|*.ICM|*.icc|*.ICC) + # + # Its really an .ICM file, not a gamma file. + # + # The file can be a full path name, or the name of a file in $SHARE/icm/ + # + if [ -r "$GAMMAFILE" ]; then + create_crd + elif [ -r "$SHARE/icm/$GAMMAFILE" ]; then + GAMMAFILE="$SHARE/icm/$GAMMAFILE" + create_crd + else + GAMMAFILE= + fi + ;; + esac + ;; +1|crd) + # CRD + GAMMAFILE="" + GAMMAFILE="$GAMMAFILE $CRDBASE/${model}cms" + GAMMAFILE="$GAMMAFILE $CRDBASE/$SCREEN" + # Black text... + TMPFILE2=/tmp/black$$ + cat $CRDBASE/black-text.ps - >$TMPFILE2 + exec <$TMPFILE2 + ;; +*.crd) + GAMMAFILE="$CRDBASE/prolog.ps" + if [ -f $COLORMODE ]; then + GAMMAFILE="$GAMMAFILE $COLORMODE" + elif [ -f $CRDBASE/$COLORMODE ]; then + GAMMAFILE="$GAMMAFILE $CRDBASE/$COLORMODE" + else + error "Can't find CRD '$COLORMODE' in . or in $CRDBASE" + fi + GAMMAFILE="$GAMMAFILE $CRDBASE/$SCREEN" + ;; +*) + error "Unknown color method '$COLORMODE'" + ;; +esac + +if [ "" != "$COLOR" ]; then + GSDEV=-sDEVICE=pamcmyk32 + $GSBIN --help | grep -q pamcmyk32 || GSDEV=-sDEVICE=ppmraw +fi + +# +# Figure out USERNAME +# +if [ "$LPUSER" != "" ]; then + USER="$LPUSER@$LPHOST" +else + USER="" +fi + +# +# Main Program, just cobble together the pipeline and run it +# +# The malarky with file descriptors 1 and 3 is to avoid a bug in +# (some versions?) of Ghostscript where Postscript's stdout gets +# intermingled with the printer drivers output, resulting in +# corrupted image data. +# +GS="$GSBIN -q -dBATCH -dSAFER -dQUIET -dNOPAUSE" + +foo2zjs-pstops $PSTOPS_OPTS | \ +$PREFILTER \ +| ($GS $PAPERSIZE -g$DIM -r$RES $GSDEV $GSOPTS \ + -sOutputFile="|cat 1>&3" $GAMMAFILE -_ >/dev/null) 3>&1 \ +| foo2hbpl1 -m$MEDIA $CLIP_ALL -J "$LPJOB" -U "$USER" + +# +# Log the command line, for debugging and problem reports +# +if [ -x /usr/bin/logger ]; then + logger -t "$BASENAME" -p lpr.info -- \ + "$GSBIN $PAPERSIZE -g$DIM -r$RES $GSDEV $GSOPTS $GAMMAFILE" + logger -t "$BASENAME" -p lpr.info -- \ + "foo2hbpl1 -m$MEDIA $CLIP_ALL" +fi + +# +# Remove cruft +# +if [ $DEBUG -eq 0 ]; then + for i in crd.ps log usecie.ps selcrd.ps + do + file="$ICCTMP.$i" + [ -f $file ] && rm -f $file + done + [ -f "$TMPFILE" ] && rm -f $TMPFILE + [ -f "$TMPFILE2" ] && rm -f $TMPFILE2 +fi + +exit 0 diff --git a/foo2hbpl1.1in b/foo2hbpl1.1in new file mode 100644 index 0000000..a6549b4 --- /dev/null +++ b/foo2hbpl1.1in @@ -0,0 +1,68 @@ +'\" t +.TH foo2hbpl1 1 "${MODpage}" "foo2hbpl1 ${MODver}" +#ifndef OLDGROFF +#include "macros.man" +#endif +'\"========================================================================== +'\" MANUAL PAGE SOURCE +'\"========================================================================== +.SH NAME +foo2hbpl1 \- Convert Ghostscript output to an HBPLv1 printer stream +.SH SYNOPSIS +.B foo2hbpl1 +.RI [ options "] <" pnm-or-pam-file " >" hbpl1-file +.SH DESCRIPTION +.B foo2hbpl1 +converts Ghostscript pbmraw, pgmraw, ppmraw, or pamcmyk32 output +formats to monochrome or color HBPL version 1 streams, to drive the +Dell 1250c, Dell C1660w, Dell C1760w, +Epson AcuLaser C1700, +and Fuji-Xerox CP105b printers. + +.SH COMMAND LINE OPTIONS +.TP +.BI \-J\0 filename +Filename string to send to printer. +.TP +.BI \-U\0 username +Username string to send to printer. +.SH EXAMPLES +Create a black and white ZJS stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -r600x600 -sDEVICE=pgmraw \ + -sOutputFile=- - < testpage.ps \ +| foo2hbpl1 >testpage.zm +.fi +.RE +.P +Create a color ZJS stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pamcmyk32 \ + -sOutputFile=- - < testpage.ps \ +| foo2hbpl1 >testpage.zc +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2hbpl1 +.SH SEE ALSO +.BR foo2hbpl1-wrapper (1), +.BR hbpldecode (1) +.SH "AUTHOR" +Rick Richardson +.br +Peter Korf +.br +Dave Coffin +.br +${URLHBPL}/ +'\" +'\" +'\" +.em pdf_outline diff --git a/foo2hbpl1.c b/foo2hbpl1.c new file mode 100644 index 0000000..fb4f448 --- /dev/null +++ b/foo2hbpl1.c @@ -0,0 +1,692 @@ +/* + +GENERAL +This program converts bilevel PBM, 8-bit PGM, 24-bit PPM, and 32-bit +CMYK PAM files (output by Ghostscript as "pbmraw", "pgmraw", "ppmraw", +and "pamcmyk32" respectively) to HBPL version 1 for the consumption +of various Dell, Epson, and Fuji-Xerox printers. + +With this utility, you can print to some Dell and Fuji printers, such as these: + - Dell 1250c B/W and Color + - Dell C1660 B/W and Color + - Dell C1760 B/W and Color + - Epson AcuLaser C1700 B/W and Color + - Fuji-Xerox DocuPrint CP105 B/W and Color + +AUTHORS +This program was originally written by Dave Coffin in March 2014. + +LICENSE +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +If you want to use this program under different license conditions, +then contact the author for an arrangement. + +*/ + +static char Version[] = "$Id: foo2hbpl1.c,v 1.3 2014/03/30 05:08:32 rick Exp $"; + +#include +#include +#include +#include +#include +#include +#include +#ifdef linux + #include +#endif + +/* + * Command line options + */ +int MediaCode = 0; +char *Username = NULL; +char *Filename = NULL; +int Clip[] = { 8,8,8,8 }; + +void +usage(void) +{ + fprintf(stderr, +"Usage:\n" +" foo2hbpl1 [options] hbpl-file\n" +"\n" +" Convert Ghostscript pbmraw, pgmraw, ppmraw, or pamcmyk32\n" +" format to HBPLv1, for the Dell C1660w and other printers.\n" +"\n" +" gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \\ \n" +" -sPAPERSIZE=letter -r600x600 -sDEVICE=pamcmyk32 \\ \n" +" -sOutputFile=- - < testpage.ps \\ \n" +" | foo2hbpl1 >testpage.zc\n" +"\n" +"Options:\n" +"-m media Media code to send to printer [1 or 6]\n" +" 1=plain, 2=bond, 3=lwcard, 4=lwgcard, 5=labels,\n" +" 6=envelope, 7=recycled, 8=plain2, 9=bond2,\n" +" 10=lwcard2, 11=lwgcard2, 12=recycled2\n" +"-u left,top,right,bottom\n" +" Erase margins of specified width [%d,%d,%d,%d]\n" +"-J filename Filename string to send to printer\n" +"-U username Username string to send to printer\n" +"-V Version %s\n" + , Clip[0], Clip[1], Clip[2], Clip[3] + , Version); +} + +void +error(int fatal, char *fmt, ...) +{ + va_list ap; + + va_start(ap, fmt); + vfprintf(stderr, fmt, ap); + va_end(ap); + + if (fatal) exit(fatal); +} + +struct stream +{ + unsigned char *buf; + int size, off, bits; +}; + +void +putbits(struct stream *s, unsigned val, int nbits) +{ + if (s->off + 16 > s->size && + !(s->buf = realloc(s->buf, s->size += 0x100000))) + error (1, "Out of memory\n"); + if (s->bits) + { + s->off--; + val |= s->buf[s->off] >> (8-s->bits) << nbits; + nbits += s->bits; + } + s->bits = nbits & 7; + while ((nbits -= 8) > 0) + s->buf[s->off++] = val >> nbits; + s->buf[s->off++] = val << -nbits; +} + +/* + Runlengths are integers between 1 and 17057 encoded as follows: + + 1 00 + 2 01 0 + 3 01 1 + 4 100 0 + 5 100 1 + 6 101 00 + 7 101 01 + 8 101 10 + 9 101 11 + 10 110 0000 + 11 110 0001 + 12 110 0010 + ... + 25 110 1111 + 26 111 000 000 + 27 111 000 001 + 28 111 000 010 + 29 111 000 011 + ... + 33 111 000 111 + 34 111 001 000 + ... + 41 111 001 111 + 42 111 010 000 + 50 111 011 0000 + 66 111 100 00000 + 98 111 101 000000 + 162 111 110 000000000 + 674 111 111 00000000000000 + 17057 111 111 11111111111111 +*/ +void +put_len(struct stream *s, unsigned val) +{ + unsigned code[] = + { + 1, 0, 2, + 2, 2, 3, + 4, 8, 4, + 6, 0x14, 5, + 10, 0x60, 7, + 26, 0x1c0, 9, + 50, 0x3b0, 10, + 66, 0x780, 11, + 98, 0xf40, 12, + 162, 0x7c00, 15, + 674, 0xfc000, 20, + 17058 + }; + int c = 0; + + if (val < 1 || val > 17057) return; + while (val >= code[c+3]) c += 3; + putbits(s, val-code[c] + code[c+1], code[c+2]); +} + +/* + CMYK byte differences are encoded as follows: + + 0 000 + +1 001 + -1 010 + 2 011s0 s = 0 for +, 1 for - + 3 011s1 + 4 100s00 + 5 100s01 + 6 100s10 + 7 100s11 + 8 101s000 + 9 101s001 + ... + 14 101s110 + 15 101s111 + 16 110s00000 + 17 110s00001 + 18 110s00010 + ... + 46 110s11110 + 47 110s11111 + 48 1110s00000 + 49 1110s00001 + ... + 78 1110s11110 + 79 1110s11111 + 80 1111s000000 + 81 1111s000001 + ... + 126 1111s101110 + 127 1111s101111 + 128 11111110000 +*/ +void +put_diff(struct stream *s, signed char val) +{ + static unsigned short code[] = + { + 2, 3, 3, 1, + 4, 4, 3, 2, + 8, 5, 3, 3, + 16, 6, 3, 5, + 48, 14, 4, 5, + 80, 15, 4, 6, + 129 + }; + int sign, abs, c = 0; + + switch (val) + { + case 0: putbits(s, 0, 3); return; + case 1: putbits(s, 1, 3); return; + case -1: putbits(s, 2, 3); return; + } + abs = ((sign = val < 0)) ? -val:val; + while (abs >= code[c+4]) c += 4; + putbits(s, code[c+1], code[c+2]); + putbits(s, sign, 1); + putbits(s, abs-code[c], code[c+3]); +} + +void +setle(unsigned char *c, int s, int i) +{ + while (s--) + { + *c++ = i; + i >>= 8; + } +} + +void +start_doc(int color) +{ + char reca[] = { 0x41,0x81,0xa1,0x00,0x82,0xa2,0x07,0x00,0x83,0xa2,0x01,0x00 }; + time_t t; + struct tm *tmp; + char datestr[16], timestr[16]; + char cname[128] = "My Computer"; + char *mname[] = + { "", + "NORMAL", + "THICK", + "HIGHQUALITY", + "COAT2", + "LABEL", + "ENVELOPE", + "RECYCLED", + "NORMALREV", + "THICKSIDE2", + "HIGHQUALITYREV", + "COATEDPAPER2REV", + "RECYCLEREV", + }; + + t = time(NULL); + tmp = localtime(&t); + strftime(datestr, sizeof datestr, "%m/%d/%Y", tmp); + strftime(timestr, sizeof timestr, "%H:%M:%S", tmp); + + #ifdef linux + { + struct utsname u; + + uname(&u); + strncpy(cname, u.nodename, 128); + cname[127] = 0; + } + #endif + +/* Lines end with \n, not \r\n */ + + printf( + "\033%%-12345X@PJL SET STRINGCODESET=UTF8\n" + "@PJL COMMENT DATE=%s\n" + "@PJL COMMENT TIME=%s\n" + "@PJL COMMENT DNAME=%s\n" + "@PJL JOB MODE=PRINTER\n" + "@PJL SET JOBATTR=\"@LUNA=%s\"\n" + "@PJL SET JOBATTR=\"@TRCH=OFF\"\n" + "@PJL SET DUPLEX=OFF\n" + "@PJL SET BINDING=LONGEDGE\n" + "@PJL SET IWAMANUALDUP=OFF\n" + "@PJL SET JOBATTR=\"@MSIP=%s\"\n" + "@PJL SET RENDERMODE=%s\n" + "@PJL SET ECONOMODE=OFF\n" + "@PJL SET RET=ON\n" + "@PJL SET JOBATTR=\"@IREC=OFF\"\n" + "@PJL SET JOBATTR=\"@TRAP=ON\"\n" + "@PJL SET JOBATTR=\"@JOAU=%s\"\n" + "@PJL SET JOBATTR=\"@CNAM=%s\"\n" + "@PJL SET COPIES=1\n" + "@PJL SET QTY=1\n" + "@PJL SET PAPERDIRECTION=SEF\n" + "@PJL SET RESOLUTION=600\n" + "@PJL SET BITSPERPIXEL=8\n" + "@PJL SET JOBATTR=\"@DRDM=XRC\"\n" + "@PJL SET JOBATTR=\"@TSCR=11\"\n" + "@PJL SET JOBATTR=\"@GSCR=11\"\n" + "@PJL SET JOBATTR=\"@ISCR=12\"\n" + "@PJL SET JOBATTR=\"@TTRC=11\"\n" + "@PJL SET JOBATTR=\"@GTRC=11\"\n" + "@PJL SET JOBATTR=\"@ITRC=12\"\n" + "@PJL SET JOBATTR=\"@TCPR=11\"\n" + "@PJL SET JOBATTR=\"@GCPR=11\"\n" + "@PJL SET JOBATTR=\"@ICPR=12\"\n" + "@PJL SET JOBATTR=\"@TUCR=11\"\n" + "@PJL SET JOBATTR=\"@GUCR=11\"\n" + "@PJL SET JOBATTR=\"@IUCR=12\"\n" + "@PJL SET JOBATTR=\"@BSPM=OFF\"\n" + "@PJL SET JOBATTR=\"@TDFT=0\"\n" + "@PJL SET JOBATTR=\"@GDFT=0\"\n" + "@PJL SET JOBATTR=\"@IDFT=0\"\n" + "@PJL ENTER LANGUAGE=HBPL\n" + , datestr, timestr + , Filename ? Filename : "" + , Username ? Username : "" + , mname[MediaCode] + , color ? "COLOR" : "GRAYSCALE" + , Username ? Username : "" + , cname); + fwrite (reca, 1, sizeof reca, stdout); +} + +#define IP (((int *)image) + off) +#define CP (((char *)image) + off) +#define DP (((char *)image) + off*deep) +#define BP(x) ((blank[(off+x) >> 3] << ((off+x) & 7)) & 128) +#define put_token(s,x) putbits(s, huff[hsel][x] >> 4, huff[hsel][x] & 15) + +void +encode_page(int color, int width, int height, char *image) +{ + unsigned char head[90] = + { + 0x43,0x91,0xa1,0x00,0x92,0xa1,0x01,0x93,0xa1,0x01,0x94,0xa1, + 0x00,0x95,0xc2,0x00,0x00,0x00,0x00,0x96,0xa1,0x00,0x97,0xc3, + 0x00,0x00,0x00,0x00,0x98,0xa1,0x00,0x99,0xa4,0x01,0x00,0x00, + 0x00,0x9a,0xc4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9b, + 0xa1,0x00,0x9c,0xa1,0x01,0x9d,0xa1,0x00,0x9e,0xa1,0x02,0x9f, + 0xa1,0x05,0xa0,0xa1,0x08,0xa1,0xa1,0x00,0xa2,0xc4,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x51,0x52,0xa3,0xa1,0x00,0xa4, + 0xb1,0xa4 + }; + unsigned char body[52] = + { + 0x20,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x10,0x32,0x04,0x00, + 0xa1,0x42,0x00,0x00,0x00,0x00,0xff + }; + static short papers[] = + { // Official sizes to nearest 1/600 inch + // will accept +-1.5mm (35/600 inch) tolerance + 0, 5100, 6600, // Letter + 2, 5100, 8400, // Legal + 4, 4961, 7016, // A4 + 6, 4350, 6300, // Executive + 13, 2475, 5700, // #10 envelope + 15, 2325, 4500, // Monarch envelope + 17, 3827, 5409, // C5 envelope + 19, 2599, 5197, // DL envelope +// ??, 4158, 5906, // B5 ISO + 22, 4299, 6071, // B5 JIS + 30, 3496, 4961, // A5 + 410, 5100, 7800, // Folio + }; + static const unsigned short huff[2][8] = + { + { 0x01,0x63,0x1c5,0x1d5,0x1e5,0x22,0x3e6 }, // for text & graphics + { 0x22,0x63,0x1c5,0x1d5,0x1e5,0x01,0x3e6 }, // for images + }; + unsigned char *blank; + static int pagenum = 0; + struct stream stream[5] = { { 0 } }; + int dirs[] = { -1,0,-1,1,2 }, rotor[] = { 0,1,2,3,4 }; + int i, j, row, col, deep, dir, run, try, bdir, brun, total; + int paper = 510, hsel = 0, off = 0, bit = 0, stat = 0; + int margin = width-96; + + for (i = 0; i < sizeof papers / sizeof *papers; i++) + if (abs(width-papers[i+1]) < 36 && abs(height-papers[i+2]) < 36) + paper = papers[i]; + if (!MediaCode) + MediaCode = paper & 1 ? 6 : 1; + if (!pagenum) + start_doc(color); + head[12] = paper >> 1; + if (paper == 510) + { + setle (head+15, 2, (width*254+300)/600); // units of 0.1mm + setle (head+17, 2, (height*254+300)/600); + head[21] = 2; + } + width = -(-width & -8); + setle (head+33, 4, ++pagenum); + setle (head+39, 4, width); + setle (head+43, 4, height); + setle (head+70, 4, width); + setle (head+74, 4, height); + head[55] = 9 + color*130; + if (color) body[6] = 1; + else body[4] = 8; + + deep = 1 + color*3; + for (i=1; i < 5; i++) + dirs[i] -= width; + if (!color) dirs[4] = -8; + + blank = calloc(height+2, width/8); + memset (blank++, -color, width/8+1); + for (row = 1; row <= height; row++) + { + for (col = deep; col < deep*2; col++) + image[row*width*deep + col] = -1; + for (col = 8; col < width*deep; col += 4) + if (*(int *)(image + row*width*deep + col)) + { + for (col = 12; col < margin/8; col++) + blank[row*(width/8)+col] = -1; + blank[row*(width/8)+col] = -2 << (~margin & 7); + break; + } + } + memset (image, -color, (width+1)*deep); + image += (width+1)*deep; + blank += width/8; + + while (off < width * height) + { + for (bdir = brun = dir = 0; dir < 5; dir++) + { + try = dirs[rotor[dir]]; + for (run = 0; run < 17057; run++, try++) + { + if (color) + { + if (IP[run] != IP[try]) break; + } + else + if (CP[run] != CP[try]) break; + + if (BP(run) != BP(try)) break; + } + if (run > brun) + { + bdir = dir; + brun = run; + } + } + if (brun == 0) + { + put_token(stream, 5); + for (i = 0; i < deep; i++) + put_diff(stream+1+i, DP[i] - DP[i-deep]); + bit = 0; + off++; + stat--; + continue; + } + if (brun > width * height - off) + brun = width * height - off; + if (bdir) + { + j = rotor[bdir]; + for (i = bdir; i; i--) + rotor[i] = rotor[i-1]; + rotor[0] = j; + } + if ((off-1+brun)/width != (off-1)/width) + { + if (abs(stat) > 8 && ((stat >> 31) & 1) != hsel) + { + hsel ^= 1; + put_token(stream, 6); + } + stat = 0; + } + stat += bdir == bit; + put_token(stream, bdir - bit); + put_len(stream, brun); + bit = brun < 17057; + off += brun; + } + + putbits(stream, 0xff, 8); + for (total = 48, i = 0; i <= deep; i++) + { + putbits(stream+i, 0xff, 8); + stream[i].off--; + setle (body+32 + i*4, 4, stream[i].off); + total += stream[i].off; + } + head[85] = 0xa2 + (total > 0xffff)*2; + setle (head+86, 4, total); + fwrite(head, 1, 88+(total > 0xffff)*2, stdout); + fwrite(body, 1, 48, stdout); + for (i = 0; i <= deep; i++) + { + fwrite(stream[i].buf, 1, stream[i].off, stdout); + free(stream[i].buf); + } + free(blank-width/8-1); + printf("SD"); +} +#undef IP +#undef CP +#undef DP +#undef BP +#undef put_token + +int +getint(FILE *fp) +{ + int c, ret; + + for (;;) + { + while (isspace(c = fgetc(fp))); + if (c == '#') + while (fgetc(fp) != '\n'); + else break; + } + if (!isdigit(c)) return -1; + for (ret = c-'0'; isdigit(c = fgetc(fp)); ) + ret = ret*10 + c-'0'; + return ret; +} + +void +do_file(FILE *fp) +{ + int type, iwide, ihigh, ideep, imax, ibyte; + int wide, deep, byte, row, col, i, k; + char tupl[128], line[128]; + unsigned char *image, *sp, *dp; + + while ((type = fgetc(fp)) != EOF) + { + type = ((type - 'P') << 8) | fgetc(fp); + tupl[0] = iwide = ihigh = ideep = deep = imax = ibyte = -1; + switch (type) + { + case '4': + deep = 1 + (ideep = 0); + goto six; + case '5': + deep = ideep = 1; + goto six; + case '6': + deep = 1 + (ideep = 3); +six: iwide = getint(fp); + ihigh = getint(fp); + imax = type == '4' ? 255 : getint(fp); + break; + case '7': + do + { + if (!fgets(line, 128, fp)) goto fail; + if (!strncmp(line, "WIDTH ",6)) + iwide = atoi(line + 6); + if (!strncmp(line, "HEIGHT ",7)) + ihigh = atoi(line + 7); + if (!strncmp(line, "DEPTH ",6)) + deep = ideep = atoi(line + 6); + if (!strncmp(line, "MAXVAL ",7)) + imax = atoi(line + 7); + if (!strncmp(line, "TUPLTYPE ",9)) + strcpy (tupl, line + 9); + } while (strcmp(line, "ENDHDR\n")); + if (ideep != 4 || strcmp(tupl, "CMYK\n")) goto fail; + break; + default: + goto fail; + } + if (iwide <= 0 || ihigh <= 0 || imax != 255) goto fail; + wide = -(-iwide & -8); + if (ideep) + ibyte = iwide * ideep; + else + ibyte = wide >> 3; + byte = wide * deep; + image = calloc (ihigh+2, byte); + for (row = 1; row <= ihigh; row++) + { + i = fread (image, ibyte, 1, fp); + sp = image; + dp = image + row*byte; + for (col = 0; col < iwide; col++) + { + dp += deep; + switch (ideep) + { + case 0: + *dp = ((image[col >> 3] >> (~col & 7)) & 1) * 255; + break; + case 1: + *dp = ~*sp; + break; + case 3: + for (k = sp[2], i = 0; i < 2; i++) + if (k < sp[i]) k = sp[i]; + *dp = ~k; + for (i = 0; i < 3; i++) + dp[i+1] = k ? (k - sp[i]) * 255 / k : 255; + break; + case 4: + for (i=0; i < 4; i++) + dp[i] = sp[((i-1) & 3)]; + break; + } + sp += ideep; + } + for (i = 0; i < deep*Clip[0]; i++) + image[row*byte + deep+i] = 0; + for (i = deep*(iwide-Clip[2]); i < byte; i++) + image[row*byte + deep+i] = 0; + } + memset(image+deep, 0, byte*(Clip[1]+1)); + memset(image+deep + byte*(ihigh-Clip[3]+1), 0, byte*Clip[3]); + encode_page(deep > 1, iwide, ihigh, (char *) image); + free(image); + } + return; +fail: + fprintf (stderr, "Not an acceptable PBM, PPM or PAM file!!!\n"); +} + +int +main(int argc, char *argv[]) +{ + int c, i; + + while ( (c = getopt(argc, argv, "m:u:J:U:V")) != EOF) + switch (c) + { + case 'm': MediaCode = atoi(optarg); break; + case 'u': if (sscanf(optarg, "%d,%d,%d,%d", + Clip, Clip+1, Clip+2, Clip+3) != 4) + error(1, "Must specify four clipping margins!\n"); + break; + case 'J': if (optarg[0]) Filename = optarg; break; + case 'U': if (optarg[0]) Username = optarg; break; + case 'V': printf("%s\n", Version); return 0; + default: usage(); return 1; + } + + argc -= optind; + argv += optind; + + if (argc == 0) + { + do_file(stdin); + } + else + { + for (i = 0; i < argc; ++i) + { + FILE *ifp; + + if (!(ifp = fopen(argv[i], "r"))) + error(1, "Can't open '%s' for reading\n", argv[i]); + do_file(ifp); + fclose(ifp); + } + } + puts("B\033%-12345X@PJL EOJ"); + return 0; +} diff --git a/foomatic-db/driver/foo2hbpl1.xml b/foomatic-db/driver/foo2hbpl1.xml new file mode 100644 index 0000000..1e33500 --- /dev/null +++ b/foomatic-db/driver/foo2hbpl1.xml @@ -0,0 +1,21 @@ + + foo2hbpl1 + http://foo2hbpl.rkkda.com/ + + + foo2hbpl1-wrapper %A + + + + This is a driver developed for the Dell 1250c, Dell C1660, Dell C1760, + Epson AcuLaser C1700, and the Fuji-Xerox DocuPrint cp105. + + + + printer/Dell-1250c + printer/Dell-C1660 + printer/Dell-C1760 + printer/Epson-AcuLaser_C1700 + printer/Fuji_Xerox-DocuPrint_CP105 + + diff --git a/foomatic-db/opt/foo2hbpl1-ColorMode.xml b/foomatic-db/opt/foo2hbpl1-ColorMode.xml new file mode 100644 index 0000000..c63e03b --- /dev/null +++ b/foomatic-db/opt/foo2hbpl1-ColorMode.xml @@ -0,0 +1,38 @@ + diff --git a/foomatic-db/opt/foo2hbpl1-ICM.xml b/foomatic-db/opt/foo2hbpl1-ICM.xml new file mode 100644 index 0000000..c98788c --- /dev/null +++ b/foomatic-db/opt/foo2hbpl1-ICM.xml @@ -0,0 +1,52 @@ + diff --git a/foomatic-db/opt/foo2hbpl1-MediaType.xml b/foomatic-db/opt/foo2hbpl1-MediaType.xml new file mode 100644 index 0000000..a4c7176 --- /dev/null +++ b/foomatic-db/opt/foo2hbpl1-MediaType.xml @@ -0,0 +1,82 @@ + diff --git a/foomatic-db/opt/foo2hbpl1-PageSize.xml b/foomatic-db/opt/foo2hbpl1-PageSize.xml new file mode 100644 index 0000000..dc655bd --- /dev/null +++ b/foomatic-db/opt/foo2hbpl1-PageSize.xml @@ -0,0 +1,80 @@ + diff --git a/foomatic-db/opt/foo2xxx-Copies.xml b/foomatic-db/opt/foo2xxx-Copies.xml index 173ef00..c96251b 100644 --- a/foomatic-db/opt/foo2xxx-Copies.xml +++ b/foomatic-db/opt/foo2xxx-Copies.xml @@ -64,6 +64,10 @@ foo2hiperc-z1 1 + + foo2hbpl1 + 1 + foo2hbpl2 1 diff --git a/foomatic-db/opt/foo2xxx-Halftone.xml b/foomatic-db/opt/foo2xxx-Halftone.xml index fe647b9..ef94d9a 100644 --- a/foomatic-db/opt/foo2xxx-Halftone.xml +++ b/foomatic-db/opt/foo2xxx-Halftone.xml @@ -67,6 +67,10 @@ foo2hiperc-z1 ev/foo2xxx-Halftone-Default + + foo2hbpl1 + ev/foo2xxx-Halftone-Default + foo2hbpl2 ev/foo2xxx-Halftone-Default diff --git a/foomatic-db/opt/foo2xxx-Nup.xml b/foomatic-db/opt/foo2xxx-Nup.xml index 9818fba..399138a 100644 --- a/foomatic-db/opt/foo2xxx-Nup.xml +++ b/foomatic-db/opt/foo2xxx-Nup.xml @@ -64,6 +64,10 @@ foo2hiperc-z1 ev/foo2xxx-Nup-1 + + foo2hbpl1 + ev/foo2xxx-Nup-1 + foo2hbpl2 ev/foo2xxx-Nup-1 diff --git a/foomatic-db/opt/foo2xxx-NupOrient.xml b/foomatic-db/opt/foo2xxx-NupOrient.xml index c109023..ee75aa3 100644 --- a/foomatic-db/opt/foo2xxx-NupOrient.xml +++ b/foomatic-db/opt/foo2xxx-NupOrient.xml @@ -64,6 +64,10 @@ foo2hiperc-z1 ev/foo2xxx-NupOrient-port + + foo2hbpl1 + ev/foo2xxx-NupOrient-port + foo2hbpl2 ev/foo2xxx-NupOrient-port diff --git a/foomatic-db/opt/foo2xxx-Quality.xml b/foomatic-db/opt/foo2xxx-Quality.xml index f608cf4..8d8d94b 100644 --- a/foomatic-db/opt/foo2xxx-Quality.xml +++ b/foomatic-db/opt/foo2xxx-Quality.xml @@ -67,6 +67,10 @@ foo2hiperc-z1 ev/foo2xxx-Quality-Normal + + foo2hbpl1 + ev/foo2xxx-Quality-Normal + foo2hbpl2 ev/foo2xxx-Quality-Normal diff --git a/foomatic-db/printer/Dell-1250c.xml b/foomatic-db/printer/Dell-1250c.xml new file mode 100644 index 0000000..339adc4 --- /dev/null +++ b/foomatic-db/printer/Dell-1250c.xml @@ -0,0 +1,70 @@ + + Dell + 1250c + + + + + + 600 + 600 + + + + + inch + 0.085 + 0.085 + 0.085 + 0.085 + + + + + http://www.pcmag.com/article2/0,2817,2380920,00.asp + + + + + + + + Dell 1250c + + + C + foo2hbpl1 + + + + The Dell 1250c is color printer with a 2014 street price of $200. + + These printers are supported by the foo2hbpl1 open software printer + driver. + + + diff --git a/foomatic-db/printer/Dell-C1660.xml b/foomatic-db/printer/Dell-C1660.xml new file mode 100644 index 0000000..6ff9335 --- /dev/null +++ b/foomatic-db/printer/Dell-C1660.xml @@ -0,0 +1,70 @@ + + Dell + C1660 + + + + + + 600 + 600 + + + + + inch + 0.085 + 0.085 + 0.085 + 0.085 + + + + + http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=04&l=en&s=bsd&sku=225-411 + + + + + + + + Dell C1660 + + + C + foo2hbpl1 + + + + The Dell C1660 is color printer with a 2014 street price of $200. + + These printers are supported by the foo2hbpl1 open software printer + driver. + + + diff --git a/foomatic-db/printer/Dell-C1760.xml b/foomatic-db/printer/Dell-C1760.xml new file mode 100644 index 0000000..f53c267 --- /dev/null +++ b/foomatic-db/printer/Dell-C1760.xml @@ -0,0 +1,70 @@ + + Dell + C1760 + + + + + + 600 + 600 + + + + + inch + 0.085 + 0.085 + 0.085 + 0.085 + + + + + http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=04&l=en&s=bsd&sku=225-4111 + + + + + + + + Dell C1760 + + + C + foo2hbpl1 + + + + The Dell C1760 is color printer with a 2014 street price of $300. + + These printers are supported by the foo2hbpl1 open software printer + driver. + + + diff --git a/foomatic-db/printer/Epson-AcuLaser_C1700.xml b/foomatic-db/printer/Epson-AcuLaser_C1700.xml new file mode 100644 index 0000000..27d12a5 --- /dev/null +++ b/foomatic-db/printer/Epson-AcuLaser_C1700.xml @@ -0,0 +1,71 @@ + + Epson + AcuLaser C1700 + + + + + + 600 + 600 + + + + + inch + 0.085 + 0.085 + 0.085 + 0.085 + + + + + http://www.epson.co.uk/gb/en/viewcon/corporatesite/products/mainunits/overview/10816 + + + + + + + + Epson AcuLaser C1700 + + + C + foo2hbpl1 + + + + The Epson AcuLaser C1700 is color printer with a 2014 street price + of $200. + + These printers are supported by the foo2hbpl1 open software printer + driver. + + + diff --git a/foomatic-db/printer/Fuji_Xerox-DocuPrint_CP105.xml b/foomatic-db/printer/Fuji_Xerox-DocuPrint_CP105.xml new file mode 100644 index 0000000..8e26a55 --- /dev/null +++ b/foomatic-db/printer/Fuji_Xerox-DocuPrint_CP105.xml @@ -0,0 +1,71 @@ + + Fuji Xerox + DocuPrint CP105 + + + + + + 600 + 600 + + + + + inch + 0.085 + 0.085 + 0.085 + 0.085 + + + + + http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=04&l=en&s=bsd&sku=225-411 + + + + + + + + Fuji Xerox DocuPrint CP105 + + + C + foo2hbpl1 + + + + The Fuji-Xerox DocuPrint CP105 is color printer with a 2014 street + price of $200. + + These printers are supported by the foo2hbpl1 open software printer + driver. + + + From 2e0880506b63b6460df2ea8028db9c3cc01e9459 Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Mon, 6 Jul 2026 18:58:51 -0700 Subject: [PATCH 02/18] Add accumilated fixes to hbpl1 files found in other similar files Doing comparisons between 2014 files versus 2026 files similar to hbpl1/hbpl2 added similar edits to hbpl1 files to get them closer for general use. NOTE: More edits are still required on several files. --- PPD/Dell-1250c.ppd | 32 +++++++++++++++---- PPD/Dell-C1660.ppd | 32 +++++++++++++++---- PPD/Dell-C1760.ppd | 32 +++++++++++++++---- PPD/Epson-AcuLaser_C1700.ppd | 32 +++++++++++++++---- PPD/Fuji_Xerox-DocuPrint_CP105.ppd | 32 +++++++++++++++---- foo2hbpl1-wrapper.1in | 20 ++++++------ foo2hbpl1-wrapper.in | 10 +++--- foo2hbpl1.1in | 14 ++++---- foomatic-db/opt/foo2hbpl1-ColorMode.xml | 18 +++++------ foomatic-db/printer/Dell-1250c.xml | 5 +-- foomatic-db/printer/Dell-C1660.xml | 5 +-- foomatic-db/printer/Dell-C1760.xml | 5 +-- foomatic-db/printer/Epson-AcuLaser_C1700.xml | 6 ++-- .../printer/Fuji_Xerox-DocuPrint_CP105.xml | 10 +++--- 14 files changed, 173 insertions(+), 80 deletions(-) diff --git a/PPD/Dell-1250c.ppd b/PPD/Dell-1250c.ppd index 828ecd6..7f14848 100644 --- a/PPD/Dell-1250c.ppd +++ b/PPD/Dell-1250c.ppd @@ -10,8 +10,8 @@ *% printer capability information. The printer must be configured with the *% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This *% file and "foomatic-rip" work together to support PPD-controlled printer -*% driver option access with arbitrary free software printer drivers and -*% printing spoolers. +*% driver option access with all supported printer drivers and printing +*% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the @@ -27,13 +27,14 @@ *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 -*PCFileName: "FOO2HBPL.PPD" +*PCFileName: "FOO2HBPL1.PPD" *Manufacturer: "Dell" *Product: "(1250c)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 -*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" +*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" *%pprRIP: foomatic-rip other *ModelName: "Dell 1250c" *ShortNickName: "Dell 1250c foo2hbpl1" @@ -45,6 +46,14 @@ *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *PSVersion: "(3010.000) 800" +*PSVersion: "(3010.000) 815" +*PSVersion: "(3010.000) 850" +*PSVersion: "(3010.000) 860" +*PSVersion: "(3010.000) 861" +*PSVersion: "(3010.000) 862" +*PSVersion: "(3010.000) 863" +*PSVersion: "(3010.000) 864" +*PSVersion: "(3010.000) 870" *LanguageLevel: "3" *ColorDevice: True *DefaultColorSpace: RGB @@ -52,11 +61,11 @@ *Throughput: "1" *LandscapeOrientation: Plus90 *TTRasterizer: Type42 -*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" +*1284DeviceID: "MFG:Dell;MDL:1250c;DRV:Dfoo2hbpl1,R1,M0,TF;" -*driverName foo2hbpl1/foo2hbpl1: "" +*driverName foo2hbpl1: "" *driverType F/Filter: "" -*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverUrl: "http://foo2hbpl1.rkkda.com/" *driverObsolete: False @@ -110,6 +119,8 @@ *FoomaticRIPOptionSetting PageSize=Letter: "-p4 " *PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" *FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p3 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " *PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" @@ -135,6 +146,7 @@ *DefaultPageRegion: Letter *PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" *PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" *PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" @@ -149,6 +161,7 @@ *DefaultImageableArea: Letter *ImageableArea Letter/Letter: "9 12.00 603 780.00" *ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea A5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" *ImageableArea Env10/Env #10: "9 12.00 288 672.00" *ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" @@ -162,6 +175,7 @@ *DefaultPaperDimension: Letter *PaperDimension Letter/Letter: "612 792" *PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" *PaperDimension Env10/Env #10: "297 684" *PaperDimension EnvC5/Env C5: "459 649" @@ -311,6 +325,10 @@ *Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" *CloseUI: *Copies +*CustomCopies True: " pop " +*ParamCustomCopies Copies/Copies: 1 int 1 100 + + *CloseGroup: General *OpenGroup: Adjustment/Adjustment diff --git a/PPD/Dell-C1660.ppd b/PPD/Dell-C1660.ppd index 61e99df..43dd51c 100644 --- a/PPD/Dell-C1660.ppd +++ b/PPD/Dell-C1660.ppd @@ -10,8 +10,8 @@ *% printer capability information. The printer must be configured with the *% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This *% file and "foomatic-rip" work together to support PPD-controlled printer -*% driver option access with arbitrary free software printer drivers and -*% printing spoolers. +*% driver option access with all supported printer drivers and printing +*% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the @@ -27,13 +27,14 @@ *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 -*PCFileName: "FOO2HBPL.PPD" +*PCFileName: "FOO2HBPL1.PPD" *Manufacturer: "Dell" *Product: "(C1660)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 -*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" +*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" *%pprRIP: foomatic-rip other *ModelName: "Dell C1660" *ShortNickName: "Dell C1660 foo2hbpl1" @@ -45,6 +46,14 @@ *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *PSVersion: "(3010.000) 800" +*PSVersion: "(3010.000) 815" +*PSVersion: "(3010.000) 850" +*PSVersion: "(3010.000) 860" +*PSVersion: "(3010.000) 861" +*PSVersion: "(3010.000) 862" +*PSVersion: "(3010.000) 863" +*PSVersion: "(3010.000) 864" +*PSVersion: "(3010.000) 870" *LanguageLevel: "3" *ColorDevice: True *DefaultColorSpace: RGB @@ -52,11 +61,11 @@ *Throughput: "1" *LandscapeOrientation: Plus90 *TTRasterizer: Type42 -*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" +*1284DeviceID: "MFG:Dell;MDL:C1660;DRV:Dfoo2hbpl1,R1,M0,TF;" -*driverName foo2hbpl1/foo2hbpl1: "" +*driverName foo2hbpl1: "" *driverType F/Filter: "" -*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverUrl: "http://foo2hbpl1.rkkda.com/" *driverObsolete: False @@ -110,6 +119,8 @@ *FoomaticRIPOptionSetting PageSize=Letter: "-p4 " *PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" *FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p3 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " *PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" @@ -135,6 +146,7 @@ *DefaultPageRegion: Letter *PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" *PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" *PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" @@ -149,6 +161,7 @@ *DefaultImageableArea: Letter *ImageableArea Letter/Letter: "9 12.00 603 780.00" *ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea A5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" *ImageableArea Env10/Env #10: "9 12.00 288 672.00" *ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" @@ -162,6 +175,7 @@ *DefaultPaperDimension: Letter *PaperDimension Letter/Letter: "612 792" *PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" *PaperDimension Env10/Env #10: "297 684" *PaperDimension EnvC5/Env C5: "459 649" @@ -311,6 +325,10 @@ *Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" *CloseUI: *Copies +*CustomCopies True: " pop " +*ParamCustomCopies Copies/Copies: 1 int 1 100 + + *CloseGroup: General *OpenGroup: Adjustment/Adjustment diff --git a/PPD/Dell-C1760.ppd b/PPD/Dell-C1760.ppd index e230a62..3bae5f8 100644 --- a/PPD/Dell-C1760.ppd +++ b/PPD/Dell-C1760.ppd @@ -10,8 +10,8 @@ *% printer capability information. The printer must be configured with the *% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This *% file and "foomatic-rip" work together to support PPD-controlled printer -*% driver option access with arbitrary free software printer drivers and -*% printing spoolers. +*% driver option access with all supported printer drivers and printing +*% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the @@ -27,13 +27,14 @@ *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 -*PCFileName: "FOO2HBPL.PPD" +*PCFileName: "FOO2HBPL1.PPD" *Manufacturer: "Dell" *Product: "(C1760)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 -*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" +*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" *%pprRIP: foomatic-rip other *ModelName: "Dell C1760" *ShortNickName: "Dell C1760 foo2hbpl1" @@ -45,6 +46,14 @@ *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *PSVersion: "(3010.000) 800" +*PSVersion: "(3010.000) 815" +*PSVersion: "(3010.000) 850" +*PSVersion: "(3010.000) 860" +*PSVersion: "(3010.000) 861" +*PSVersion: "(3010.000) 862" +*PSVersion: "(3010.000) 863" +*PSVersion: "(3010.000) 864" +*PSVersion: "(3010.000) 870" *LanguageLevel: "3" *ColorDevice: True *DefaultColorSpace: RGB @@ -52,11 +61,11 @@ *Throughput: "1" *LandscapeOrientation: Plus90 *TTRasterizer: Type42 -*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" +*1284DeviceID: "MFG:Dell;MDL:C1760;DRV:Dfoo2hbpl1,R1,M0,TF;" -*driverName foo2hbpl1/foo2hbpl1: "" +*driverName foo2hbpl1: "" *driverType F/Filter: "" -*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverUrl: "http://foo2hbpl1.rkkda.com/" *driverObsolete: False @@ -110,6 +119,8 @@ *FoomaticRIPOptionSetting PageSize=Letter: "-p4 " *PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" *FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p3 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " *PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" @@ -135,6 +146,7 @@ *DefaultPageRegion: Letter *PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" *PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" *PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" @@ -149,6 +161,7 @@ *DefaultImageableArea: Letter *ImageableArea Letter/Letter: "9 12.00 603 780.00" *ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea A5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" *ImageableArea Env10/Env #10: "9 12.00 288 672.00" *ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" @@ -162,6 +175,7 @@ *DefaultPaperDimension: Letter *PaperDimension Letter/Letter: "612 792" *PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" *PaperDimension Env10/Env #10: "297 684" *PaperDimension EnvC5/Env C5: "459 649" @@ -311,6 +325,10 @@ *Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" *CloseUI: *Copies +*CustomCopies True: " pop " +*ParamCustomCopies Copies/Copies: 1 int 1 100 + + *CloseGroup: General *OpenGroup: Adjustment/Adjustment diff --git a/PPD/Epson-AcuLaser_C1700.ppd b/PPD/Epson-AcuLaser_C1700.ppd index b758ae5..b8c0487 100644 --- a/PPD/Epson-AcuLaser_C1700.ppd +++ b/PPD/Epson-AcuLaser_C1700.ppd @@ -10,8 +10,8 @@ *% printer capability information. The printer must be configured with the *% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This *% file and "foomatic-rip" work together to support PPD-controlled printer -*% driver option access with arbitrary free software printer drivers and -*% printing spoolers. +*% driver option access with all supported printer drivers and printing +*% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the @@ -27,13 +27,14 @@ *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 -*PCFileName: "FOO2HBPL.PPD" +*PCFileName: "FOO2HBPL1.PPD" *Manufacturer: "Epson" *Product: "(AcuLaser C1700)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 -*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" +*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" *%pprRIP: foomatic-rip other *ModelName: "Epson AcuLaser C1700" *ShortNickName: "Epson AcuLaser C1700 foo2hbpl1" @@ -45,6 +46,14 @@ *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *PSVersion: "(3010.000) 800" +*PSVersion: "(3010.000) 815" +*PSVersion: "(3010.000) 850" +*PSVersion: "(3010.000) 860" +*PSVersion: "(3010.000) 861" +*PSVersion: "(3010.000) 862" +*PSVersion: "(3010.000) 863" +*PSVersion: "(3010.000) 864" +*PSVersion: "(3010.000) 870" *LanguageLevel: "3" *ColorDevice: True *DefaultColorSpace: RGB @@ -52,11 +61,11 @@ *Throughput: "1" *LandscapeOrientation: Plus90 *TTRasterizer: Type42 -*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" +*1284DeviceID: "MFG:Epson;MDL:AcuLaser C1700;DRV:Dfoo2hbpl1,R1,M0,TF;" -*driverName foo2hbpl1/foo2hbpl1: "" +*driverName foo2hbpl1: "" *driverType F/Filter: "" -*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverUrl: "http://foo2hbpl1.rkkda.com/" *driverObsolete: False @@ -110,6 +119,8 @@ *FoomaticRIPOptionSetting PageSize=Letter: "-p4 " *PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" *FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p3 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " *PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" @@ -135,6 +146,7 @@ *DefaultPageRegion: Letter *PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" *PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" *PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" @@ -149,6 +161,7 @@ *DefaultImageableArea: Letter *ImageableArea Letter/Letter: "9 12.00 603 780.00" *ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea A5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" *ImageableArea Env10/Env #10: "9 12.00 288 672.00" *ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" @@ -162,6 +175,7 @@ *DefaultPaperDimension: Letter *PaperDimension Letter/Letter: "612 792" *PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" *PaperDimension Env10/Env #10: "297 684" *PaperDimension EnvC5/Env C5: "459 649" @@ -311,6 +325,10 @@ *Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" *CloseUI: *Copies +*CustomCopies True: " pop " +*ParamCustomCopies Copies/Copies: 1 int 1 100 + + *CloseGroup: General *OpenGroup: Adjustment/Adjustment diff --git a/PPD/Fuji_Xerox-DocuPrint_CP105.ppd b/PPD/Fuji_Xerox-DocuPrint_CP105.ppd index 78e839f..5436f2a 100644 --- a/PPD/Fuji_Xerox-DocuPrint_CP105.ppd +++ b/PPD/Fuji_Xerox-DocuPrint_CP105.ppd @@ -10,8 +10,8 @@ *% printer capability information. The printer must be configured with the *% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This *% file and "foomatic-rip" work together to support PPD-controlled printer -*% driver option access with arbitrary free software printer drivers and -*% printing spoolers. +*% driver option access with all supported printer drivers and printing +*% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the @@ -27,13 +27,14 @@ *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 -*PCFileName: "FOO2HBPL.PPD" +*PCFileName: "FOO2HBPL1.PPD" *Manufacturer: "Fuji Xerox" *Product: "(DocuPrint CP105)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 -*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" +*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" *%pprRIP: foomatic-rip other *ModelName: "Fuji Xerox DocuPrint CP105" *ShortNickName: "Fuji Xerox D.P. CP105 foo2hbpl1" @@ -45,6 +46,14 @@ *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *PSVersion: "(3010.000) 800" +*PSVersion: "(3010.000) 815" +*PSVersion: "(3010.000) 850" +*PSVersion: "(3010.000) 860" +*PSVersion: "(3010.000) 861" +*PSVersion: "(3010.000) 862" +*PSVersion: "(3010.000) 863" +*PSVersion: "(3010.000) 864" +*PSVersion: "(3010.000) 870" *LanguageLevel: "3" *ColorDevice: True *DefaultColorSpace: RGB @@ -52,11 +61,11 @@ *Throughput: "1" *LandscapeOrientation: Plus90 *TTRasterizer: Type42 -*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;" +*1284DeviceID: "MFG:FUJI XEROX;MDL:DocuPrint CP105;CMD:HBPL;DRV:Dfoo2hbpl1,R1,M0,TF;" -*driverName foo2hbpl1/foo2hbpl1: "" +*driverName foo2hbpl1: "" *driverType F/Filter: "" -*driverUrl: "http://foo2hbpl.rkkda.com/" +*driverUrl: "http://foo2hbpl1.rkkda.com/" *driverObsolete: False @@ -110,6 +119,8 @@ *FoomaticRIPOptionSetting PageSize=Letter: "-p4 " *PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" *FoomaticRIPOptionSetting PageSize=A4: "-p1 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p3 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " *PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" @@ -135,6 +146,7 @@ *DefaultPageRegion: Letter *PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" *PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" *PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" @@ -149,6 +161,7 @@ *DefaultImageableArea: Letter *ImageableArea Letter/Letter: "9 12.00 603 780.00" *ImageableArea A4/A4: "9 12.00 586 830.00" +*ImageableArea A5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" *ImageableArea Env10/Env #10: "9 12.00 288 672.00" *ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" @@ -162,6 +175,7 @@ *DefaultPaperDimension: Letter *PaperDimension Letter/Letter: "612 792" *PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" *PaperDimension Env10/Env #10: "297 684" *PaperDimension EnvC5/Env C5: "459 649" @@ -311,6 +325,10 @@ *Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" *CloseUI: *Copies +*CustomCopies True: " pop " +*ParamCustomCopies Copies/Copies: 1 int 1 100 + + *CloseGroup: General *OpenGroup: Adjustment/Adjustment diff --git a/foo2hbpl1-wrapper.1in b/foo2hbpl1-wrapper.1in index 001f524..b1291e5 100644 --- a/foo2hbpl1-wrapper.1in +++ b/foo2hbpl1-wrapper.1in @@ -37,7 +37,7 @@ Print in color (else monochrome). Color correction mode [0]. .TS n l . -10 ICM color profile (using -G *.icm file) +10 ICM color profile (using \-G *.icm file) .TE .TP .BI \-d\0 duplex @@ -115,9 +115,9 @@ Print in N-up. Requires the \fBpsutils\fP package. Orientation used for N-up. .TS l l l. -Portrait -op (normal) -Landscape -ol (rotated 90 degrees anticlockwise) -Seascape -os (rotated 90 degrees clockwise) +Portrait \-op (normal) +Landscape \-ol (rotated 90 degrees anticlockwise) +Seascape \-os (rotated 90 degrees clockwise) .TE .SS Printer Tweaking Options These are the options used to customize the operation of \fBfoo2hbpl1\fP @@ -136,13 +136,13 @@ The defaults should work on the 2200DL and 2300DL, and have not been tested on any other printers. .TP .BI \-L\0 mask -Send the logical clipping values from -u/-l in the ZjStream. +Send the logical clipping values from \-u/-l in the ZjStream. \fBfoo2hbpl1-wrapper\fP always runs Ghostscript with the ideal page dimensions, so that the scale of the image is correct, regardless whether or not the printer has unprintable regions. This option is used to move the position of the clipped image back to where it belongs on the page. The default is to send -the amount which was clipped by -u and -l, and should be +the amount which was clipped by \-u and \-l, and should be good in most cases. .TS l l. @@ -168,7 +168,7 @@ These are the options used to control the quality of color output. Color correction is currently a WORK IN PROGRESS. .TP .BI \-g\0 gsopts -Additional options to pass to Ghostscript, such as -g\(lq-dDITHERPPI=nnn\(rq, +Additional options to pass to Ghostscript, such as \-g\(lq-dDITHERPPI=nnn\(rq, etc. This option may appear more than once. .TP .BI \-G\0 profile.icm @@ -213,7 +213,7 @@ examine it, and then print it using a RAW print queue: .nf foo2hbpl1-wrapper testpage.ps > testpage.prn hbpl1decode < testpage.prn -lpr -P raw testpage.prn +lpr \-P raw testpage.prn .fi .RE .P @@ -221,7 +221,7 @@ Create a color ZjStream stream from a Postscript document: .RS .nf -foo2hbpl1-wrapper -c testpage.ps > testpage.prn +foo2hbpl1-wrapper \-c testpage.ps > testpage.prn .fi .RE @@ -233,7 +233,7 @@ foo2hbpl1-wrapper -c testpage.ps > testpage.prn .SH "AUTHOR" Rick Richardson .br -${URLHBPL}/ +${URLHBPL1}/ '\" '\" '\" diff --git a/foo2hbpl1-wrapper.in b/foo2hbpl1-wrapper.in index 567e891..28f529a 100644 --- a/foo2hbpl1-wrapper.in +++ b/foo2hbpl1-wrapper.in @@ -13,8 +13,8 @@ #* GNU General Public License for more details. #* #* You should have received a copy of the GNU General Public License -#* along with this program; if not, write to the Free Software -#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +#* along with this program; if not, see +#* . #* #* Authors: Rick Richardson @@ -33,7 +33,7 @@ VERSION='$Id: foo2hbpl1-wrapper.in,v 1.3 2014/03/24 23:14:24 rick Exp $' PROGNAME="$0" BASENAME=`basename $PROGNAME` PREFIX=/usr -SHARE=$PREFIX/share/foo2hbpl +SHARE=$PREFIX/share/foo2hbpl1 PATH=$PATH:/sw/bin:/opt/local/bin # @@ -211,7 +211,7 @@ do s*) NUP_ORIENT=-r;; p*|*) NUP_ORIENT=;; esac;; - V) echo "$VERSION"; foo2hbpl -V; foo2zjs-pstops -V; exit 0;; + V) echo "$VERSION"; foo2hbpl1 -V; foo2zjs-pstops -V; exit 0;; h|\?) if [ "$CMDLINE" != "-?" -a "$CMDLINE" != -h ]; then echo "Illegal command:" @@ -456,7 +456,7 @@ else esac fi -CRDBASE="$PREFIX/share/foo2hbpl/crd" +CRDBASE="$PREFIX/share/foo2hbpl1/crd" case "$MODEL" in 0) model=CLP-300;; 1) model=CLP-600;; diff --git a/foo2hbpl1.1in b/foo2hbpl1.1in index a6549b4..123129b 100644 --- a/foo2hbpl1.1in +++ b/foo2hbpl1.1in @@ -31,9 +31,9 @@ Create a black and white ZJS stream: .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r600x600 -sDEVICE=pgmraw \ - -sOutputFile=- - < testpage.ps \ +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r600x600 \-sDEVICE=pgmraw \ + \-sOutputFile=- \- < testpage.ps \ | foo2hbpl1 >testpage.zm .fi .RE @@ -42,9 +42,9 @@ Create a color ZJS stream: .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pamcmyk32 \ - -sOutputFile=- - < testpage.ps \ +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g5100x6600 \-r600x600 \-sDEVICE=pamcmyk32 \ + \-sOutputFile=- \- < testpage.ps \ | foo2hbpl1 >testpage.zc .fi .RE @@ -61,7 +61,7 @@ Peter Korf .br Dave Coffin .br -${URLHBPL}/ +${URLHBPL1}/ '\" '\" '\" diff --git a/foomatic-db/opt/foo2hbpl1-ColorMode.xml b/foomatic-db/opt/foo2hbpl1-ColorMode.xml index c63e03b..808d8c4 100644 --- a/foomatic-db/opt/foo2hbpl1-ColorMode.xml +++ b/foomatic-db/opt/foo2hbpl1-ColorMode.xml @@ -1,8 +1,8 @@ - + + foo2hbpl1-z1 + 1 + foo2hbpl2 1 From 75d9abf967e79e4b86fdbcf1647c2a15f3497fa1 Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Sat, 11 Jul 2026 11:34:55 -0700 Subject: [PATCH 13/18] Make getint() a little more robust Exit if EOF or other errors<0, and return -1 --- foo2hbpl1.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/foo2hbpl1.c b/foo2hbpl1.c index 899ba0c..7e7f493 100644 --- a/foo2hbpl1.c +++ b/foo2hbpl1.c @@ -621,12 +621,20 @@ getint(FILE *fp) { while (isspace(c = fgetc(fp))); if (c == '#') - while (fgetc(fp) != '\n'); - else break; + { + while ((c = fgetc(fp)) != '\n') + if (c < 0) + return -1; + } + else + break; } - if (!isdigit(c)) return -1; + if (!isdigit(c)) + return -1; for (ret = c-'0'; isdigit(c = fgetc(fp)); ) ret = ret*10 + c-'0'; + if (c < 0) + return -1; return ret; } From 0746f23c7faa254bd056df1eb097ed5a5961090f Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Sun, 12 Jul 2026 16:59:45 -0700 Subject: [PATCH 14/18] Add Debug -D[level] Helps to see values generated during processing. --- foo2hbpl1-wrapper.in | 2 +- foo2hbpl1.1in | 9 ++++++++ foo2hbpl1.c | 54 +++++++++++++++++++++++++++++++++++++++----- 3 files changed, 58 insertions(+), 7 deletions(-) diff --git a/foo2hbpl1-wrapper.in b/foo2hbpl1-wrapper.in index 2e420cc..42d7fa9 100644 --- a/foo2hbpl1-wrapper.in +++ b/foo2hbpl1-wrapper.in @@ -579,7 +579,7 @@ foo2zjs-pstops $PSTOPS_OPTS | \ $PREFILTER \ | ($GS $PAPERSIZE -g$DIM -r$RES $GSDEV $GSOPTS \ -sOutputFile="|cat 1>&3" $GAMMAFILE -_ >/dev/null) 3>&1 \ -| foo2hbpl1 -m$MEDIA $COPIES $CLIP_ALL -J "$LPJOB" -U "$USER" +| foo2hbpl1 -m$MEDIA $COPIES $CLIP_ALL -J "$LPJOB" -U "$USER" -D$DEBUG # # Log the command line, for debugging and problem reports diff --git a/foo2hbpl1.1in b/foo2hbpl1.1in index ec9bb7c..78fbb80 100644 --- a/foo2hbpl1.1in +++ b/foo2hbpl1.1in @@ -79,6 +79,15 @@ _ z0 Dell 1250c / C1660 / C1760 z1 Xerox 6000 / 6010 .TE +.SS Debugging Options +These options are used for debugging \fBfoo2hbpl1\fP. +.TP +.BI \-D\0 level +Set Debug level [0]. +.TP +.BI \-V\0 +Show \fBfoo2hbpl1\fP Version. + .SH EXAMPLES Create a black and white HBPL1v1 stream: diff --git a/foo2hbpl1.c b/foo2hbpl1.c index 7e7f493..8090ff8 100644 --- a/foo2hbpl1.c +++ b/foo2hbpl1.c @@ -52,6 +52,7 @@ static char Version[] = "$Id: foo2hbpl1.c,v 1.3 2014/03/30 05:08:32 rick Exp $"; * Command line options */ int Copies = 1; // [1..999] Page Copies (default=1) +int Debug = 0; int MediaCode = -1; // -1=undefined (default to paper) int Model = -1; // -1=undefined (default -z0) int pagenum = 0; // no pages, no printer codes sent @@ -131,15 +132,31 @@ usage(void) " 1=(example: Xerox 6000/6010)\n" "\n" "Debugging Options:\n" +"-D lvl Set Debug level [%d]\n" "-V Version %s\n" , Copies , Filename ? Filename : "" , Username ? Username : "" , Clip[0], Clip[1], Clip[2], Clip[3] , Model + , Debug , Version); } +void +debug(int level, char *fmt, ...) +{ + va_list ap; + + if (Debug < level) + return; + + setvbuf(stderr, (char *) NULL, _IOLBF, BUFSIZ); + va_start(ap, fmt); + vfprintf(stderr, fmt, ap); + va_end(ap); +} + void error(int fatal, char *fmt, ...) { @@ -398,6 +415,7 @@ start_doc(int color) , Copies); fwrite (reca, 1, sizeof reca, stdout); + debug(1, "Done start_doc(%d). Init printer JOB.\n", color); pagenum++; // Now begin printing as "JOB START=1"... } @@ -480,6 +498,11 @@ encode_page(int color, int width, int height, char *image) int paper = 510, hsel = 0, off = 0, bit = 0, stat = 0; int margin = width-96; + if (Debug > 0) + fprintf(stderr,"start encode_page(%d)\n", pagenum); + + deep = 1 + color*3; + for (i = 0; i < sizeof papers / sizeof *papers; i++) if (abs(width-papers[i+1]) < 36 && abs(height-papers[i+2]) < 36) paper = papers[i]; @@ -494,6 +517,10 @@ encode_page(int color, int width, int height, char *image) setle (head+17, 2, (height*254+300)/600); head[21] = 2; } + debug(1, " width=%d height=%d color=%d deep=%d=%s\n", \ + width, height, color, deep, color ? "CYMK" : "GRAY"); + debug(1, " media=%d=%s paper#%d\n", MediaCode-1, mname[MediaCode], paper); + width = -(-width & -8); setle (head+33, 4, pagenum); setle (head+39, 4, width); @@ -504,7 +531,6 @@ encode_page(int color, int width, int height, char *image) if (color) body[6] = 1; else body[4] = 8; - deep = 1 + color*3; for (i=1; i < 5; i++) dirs[i] -= width; if (!color) dirs[4] = -8; @@ -604,6 +630,7 @@ encode_page(int color, int width, int height, char *image) } free(blank-width/8-1); printf("SD"); + debug(1, "end encode_page(%d), Copies(%d)\n", pagenum, Copies); pagenum +=Copies; } #undef IP @@ -635,6 +662,7 @@ getint(FILE *fp) ret = ret*10 + c-'0'; if (c < 0) return -1; + debug(2," getint(%d)\n", ret); return ret; } @@ -646,6 +674,9 @@ do_file(FILE *fp) char tupl[128], line[128]; unsigned char *image, *sp, *dp; + if (Debug > 0) + fprintf(stderr,"start do_file()\n get dimensions\n"); + while ((type = fgetc(fp)) != EOF) { type = ((type - 'P') << 8) | fgetc(fp); @@ -684,6 +715,8 @@ six: iwide = getint(fp); default: goto fail; } + debug(1, " iwide=%d ihigh=%d imax=%d ideep=%d\n", \ + iwide, ihigh, imax, ideep); if (iwide <= 0 || ihigh <= 0 || imax != 255) goto fail; wide = -(-iwide & -8); if (ideep) @@ -691,6 +724,10 @@ six: iwide = getint(fp); else ibyte = wide >> 3; byte = wide * deep; + + debug(1, " wide=%d deep=%d ibyte=%d byte=%d\n", \ + wide, deep, ibyte, byte); + image = calloc (ihigh+2, byte); for (row = 1; row <= ihigh; row++) { @@ -702,20 +739,20 @@ six: iwide = getint(fp); dp += deep; switch (ideep) { - case 0: + case 0: // BITMAP *dp = ((image[col >> 3] >> (~col & 7)) & 1) * 255; break; - case 1: + case 1: // GRAY *dp = ~*sp; break; - case 3: + case 3: // RGB for (k = sp[2], i = 0; i < 2; i++) if (k < sp[i]) k = sp[i]; *dp = ~k; for (i = 0; i < 3; i++) dp[i+1] = k ? (k - sp[i]) * 255 / k : 255; break; - case 4: + case 4: // CMYK for (i=0; i < 4; i++) dp[i] = sp[((i-1) & 3)]; break; @@ -732,6 +769,7 @@ six: iwide = getint(fp); encode_page(deep > 1, iwide, ihigh, (char *) image); free(image); } + debug(1, "end do_file()\n"); return; fail: fprintf (stderr, "Not an acceptable PBM, PPM or PAM file!!!\n"); @@ -742,7 +780,7 @@ main(int argc, char *argv[]) { int c, i; - while ( (c = getopt(argc, argv, "m:n:u:z:J:U:V")) != EOF) + while ( (c = getopt(argc, argv, "m:n:u:z:J:U:D:V")) != EOF) switch (c) { case 'm': MediaCode = atoi(optarg); break; @@ -757,6 +795,7 @@ main(int argc, char *argv[]) if (Model < 0 || Model > 1) error(1, "Illegal value '%s' for -z\n", optarg); break; + case 'D': Debug = atoi(optarg); break; case 'V': printf("%s\n", Version); return 0; default: usage(); return 1; } @@ -797,7 +836,10 @@ main(int argc, char *argv[]) } } if (pagenum) + { printf("\033%%-12345X@PJL EOJ\n%s", (pagenum > 0 && Model > 0 ? "@PJL RESET\n" : "")); + debug(1, "Done main(). End printer JOB.\n"); + } return 0; } From a330b42899e5d8bcff8e513cd5bfe26283c9960c Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Mon, 13 Jul 2026 00:42:44 -0700 Subject: [PATCH 15/18] Edit Mediacodes -m[1..12] and -m[1..24] for HBPLv1 --- foomatic-db/opt/foo2hbpl1-MediaType.xml | 50 ++++---- foomatic-db/opt/foo2hbpl1-z1-MediaType.xml | 142 +++++++++++++++++++++ 2 files changed, 167 insertions(+), 25 deletions(-) create mode 100644 foomatic-db/opt/foo2hbpl1-z1-MediaType.xml diff --git a/foomatic-db/opt/foo2hbpl1-MediaType.xml b/foomatic-db/opt/foo2hbpl1-MediaType.xml index a4c7176..655460a 100644 --- a/foomatic-db/opt/foo2hbpl1-MediaType.xml +++ b/foomatic-db/opt/foo2hbpl1-MediaType.xml @@ -24,19 +24,19 @@ 1 - Bond - bond - 2 + Plain Paper - Side 2 + plain2 + 8 - Light Weight Card - lwcard - 3 + Thick Stock + thick + 2 - Light Weight Glossy Card - lwgcard - 4 + Thick Stock - Side 2 + thick2 + 9 Labels @@ -49,32 +49,32 @@ 6 - Recycled Paper - recycled - 7 + High Quality + highquality + 3 - Plain Paper Side 2 - plain2 - 8 + High Quality - Side 2 + highquality2 + 10 - Bond Side 2 - bond2 - 9 + Coated Paper + coated + 4 - Light Weight Card Side 2 - lwcard2 - 10 + Coated Paper - Side 2 + coated2 + 11 - Light Weight Glossy Card Side 2 - lwgcard2 - 11 + Recycled Paper + recycled + 7 - Recycled Paper Side 2 + Recycled Paper - Side 2 recycled2 12 diff --git a/foomatic-db/opt/foo2hbpl1-z1-MediaType.xml b/foomatic-db/opt/foo2hbpl1-z1-MediaType.xml new file mode 100644 index 0000000..a4a329a --- /dev/null +++ b/foomatic-db/opt/foo2hbpl1-z1-MediaType.xml @@ -0,0 +1,142 @@ + From 64f4044f86561496a83948a5d75b4a964af1e0fb Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Mon, 13 Jul 2026 10:21:36 -0700 Subject: [PATCH 16/18] Move papers[] so that it can be accessed by other other functions All the info in papers[] is static and therefore also threadsafe, but it can also be useful to access for debugging with "-D[1+]". --- foo2hbpl1.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/foo2hbpl1.c b/foo2hbpl1.c index 8090ff8..2bc5ff5 100644 --- a/foo2hbpl1.c +++ b/foo2hbpl1.c @@ -91,6 +91,22 @@ static const char *mname[2+24] = { //Known media types "SPECIALREV" // z1/--, 24,special (side2) }; +static const short papers[11] = { // Official sizes to nearest 1/600 inch + // will accept +-1.5mm (35/600 inch) tolerance + 0, 5100, 6600, // Letter + 2, 5100, 8400, // Legal + 4, 4961, 7016, // A4 + 6, 4350, 6300, // Executive + 13, 2475, 5700, // #10 envelope + 15, 2325, 4500, // Monarch envelope + 17, 3827, 5409, // C5 envelope + 19, 2599, 5197, // DL envelope +// ??, 4158, 5906, // B5 ISO + 22, 4299, 6071, // B5 JIS + 30, 3496, 4961, // A5 + 410, 5100, 7800, // Folio +}; + void usage(void) { @@ -470,22 +486,6 @@ encode_page(int color, int width, int height, char *image) 0x00,0x00,0x00,0x00, // 44,deep3 0x00,0x00,0x00,0x00 }; - static short papers[] = - { // Official sizes to nearest 1/600 inch - // will accept +-1.5mm (35/600 inch) tolerance - 0, 5100, 6600, // Letter - 2, 5100, 8400, // Legal - 4, 4961, 7016, // A4 - 6, 4350, 6300, // Executive - 13, 2475, 5700, // #10 envelope - 15, 2325, 4500, // Monarch envelope - 17, 3827, 5409, // C5 envelope - 19, 2599, 5197, // DL envelope -// ??, 4158, 5906, // B5 ISO - 22, 4299, 6071, // B5 JIS - 30, 3496, 4961, // A5 - 410, 5100, 7800, // Folio - }; static const unsigned short huff[2][8] = { { 0x01,0x63,0x1c5,0x1d5,0x1e5,0x22,0x3e6 }, // for text & graphics From 2e58e49150bb791c6f91421072d9b6b2759d2533 Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Tue, 14 Jul 2026 12:13:35 -0700 Subject: [PATCH 17/18] Add edits and fixes to paper codes Add papers to foo2hbpl1.c, foo2hbpl1.1, foo2hbpl1-wrapper.1 Fixes to foo2hbpl1-wrapper paper, mediacodes and clipping. Ubuntu 26.04 recognizes 6010N plugged-into USB and FireFox prints, but Copies -n not propogated through ATM. Adjusted minimum foo2hbpl1.c margins from 8 to 33 (printer choked on 11). --- PPD/Dell-1250c.ppd | 115 +++++++++--------- PPD/Dell-C1660.ppd | 115 +++++++++--------- PPD/Dell-C1760.ppd | 115 +++++++++--------- PPD/Epson-AcuLaser_C1700.ppd | 115 +++++++++--------- PPD/Fuji_Xerox-DocuPrint_CP105.ppd | 115 +++++++++--------- PPD/Xerox-Phaser_6000B.ppd | 121 +++++++++---------- PPD/Xerox-Phaser_6010N.ppd | 121 +++++++++---------- foo2hbpl1-wrapper.1in | 28 ++--- foo2hbpl1-wrapper.in | 156 ++++++++++++++----------- foo2hbpl1.1in | 16 +++ foo2hbpl1.c | 124 +++++++++++++------- foomatic-db/opt/foo2hbpl1-PageSize.xml | 74 ++++++------ 12 files changed, 632 insertions(+), 583 deletions(-) diff --git a/PPD/Dell-1250c.ppd b/PPD/Dell-1250c.ppd index f7ce494..b884eff 100644 --- a/PPD/Dell-1250c.ppd +++ b/PPD/Dell-1250c.ppd @@ -114,77 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " -*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*FoomaticRIPOptionSetting PageSize=A4: "-p1 " -*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" -*FoomaticRIPOptionSetting PageSize=A5: "-p3 " +*DefaultPageSize: letter +*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*FoomaticRIPOptionSetting PageSize=letter: "-p0 " +*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*FoomaticRIPOptionSetting PageSize=a4: "-p2 " +*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*FoomaticRIPOptionSetting PageSize=a5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " -*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " -*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " -*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " -*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " -*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " -*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " -*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " -*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" -*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " +*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*FoomaticRIPOptionSetting PageSize=env10: "-p6 " +*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " +*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " +*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " +*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*FoomaticRIPOptionSetting PageSize=executive: "-p3 " +*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*FoomaticRIPOptionSetting PageSize=folio: "-p205 " +*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*FoomaticRIPOptionSetting PageSize=legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*DefaultPageRegion: letter +*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" *CloseUI: *PageRegion -*DefaultImageableArea: Letter -*ImageableArea Letter/Letter: "9 12.00 603 780.00" -*ImageableArea A4/A4: "9 12.00 586 830.00" -*ImageableArea A5/A5: "9 12.00 411 583.00" +*DefaultImageableArea: letter +*ImageableArea letter/Letter: "9 12.00 603 780.00" +*ImageableArea a4/A4: "9 12.00 586 830.00" +*ImageableArea a5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" -*ImageableArea Env10/Env #10: "9 12.00 288 672.00" -*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" -*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" -*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" -*ImageableArea Executive/Executive: "9 12.00 513 744.00" -*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" -*ImageableArea Folio/Folio: "9 12.00 603 924.00" -*ImageableArea Legal/Legal: "9 12.00 603 996.00" +*ImageableArea env10/Env #10: "9 12.00 288 672.00" +*ImageableArea envC5/Env C5: "9 12.00 450 637.00" +*ImageableArea envDL/Env DL: "9 12.00 302 611.00" +*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea executive/Executive: "9 12.00 513 744.00" +*ImageableArea folio/Folio: "9 12.00 603 924.00" +*ImageableArea legal/Legal: "9 12.00 603 996.00" -*DefaultPaperDimension: Letter -*PaperDimension Letter/Letter: "612 792" -*PaperDimension A4/A4: "595 842" -*PaperDimension A5/A5: "420 595" +*DefaultPaperDimension: letter +*PaperDimension letter/Letter: "612 792" +*PaperDimension a4/A4: "595 842" +*PaperDimension a5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" -*PaperDimension Env10/Env #10: "297 684" -*PaperDimension EnvC5/Env C5: "459 649" -*PaperDimension EnvDL/Env DL: "311 623" -*PaperDimension EnvMonarch/Env Monarch: "279 540" -*PaperDimension Executive/Executive: "522 756" -*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" -*PaperDimension Folio/Folio: "612 936" -*PaperDimension Legal/Legal: "612 1008" +*PaperDimension env10/Env #10: "297 684" +*PaperDimension envC5/Env C5: "459 649" +*PaperDimension envDL/Env DL: "311 623" +*PaperDimension envMonarch/Env Monarch: "279 540" +*PaperDimension executive/Executive: "522 756" +*PaperDimension folio/Folio: "612 936" +*PaperDimension legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A diff --git a/PPD/Dell-C1660.ppd b/PPD/Dell-C1660.ppd index 36ebd7c..5d97546 100644 --- a/PPD/Dell-C1660.ppd +++ b/PPD/Dell-C1660.ppd @@ -114,77 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " -*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*FoomaticRIPOptionSetting PageSize=A4: "-p1 " -*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" -*FoomaticRIPOptionSetting PageSize=A5: "-p3 " +*DefaultPageSize: letter +*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*FoomaticRIPOptionSetting PageSize=letter: "-p0 " +*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*FoomaticRIPOptionSetting PageSize=a4: "-p2 " +*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*FoomaticRIPOptionSetting PageSize=a5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " -*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " -*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " -*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " -*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " -*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " -*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " -*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " -*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" -*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " +*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*FoomaticRIPOptionSetting PageSize=env10: "-p6 " +*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " +*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " +*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " +*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*FoomaticRIPOptionSetting PageSize=executive: "-p3 " +*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*FoomaticRIPOptionSetting PageSize=folio: "-p205 " +*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*FoomaticRIPOptionSetting PageSize=legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*DefaultPageRegion: letter +*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" *CloseUI: *PageRegion -*DefaultImageableArea: Letter -*ImageableArea Letter/Letter: "9 12.00 603 780.00" -*ImageableArea A4/A4: "9 12.00 586 830.00" -*ImageableArea A5/A5: "9 12.00 411 583.00" +*DefaultImageableArea: letter +*ImageableArea letter/Letter: "9 12.00 603 780.00" +*ImageableArea a4/A4: "9 12.00 586 830.00" +*ImageableArea a5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" -*ImageableArea Env10/Env #10: "9 12.00 288 672.00" -*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" -*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" -*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" -*ImageableArea Executive/Executive: "9 12.00 513 744.00" -*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" -*ImageableArea Folio/Folio: "9 12.00 603 924.00" -*ImageableArea Legal/Legal: "9 12.00 603 996.00" +*ImageableArea env10/Env #10: "9 12.00 288 672.00" +*ImageableArea envC5/Env C5: "9 12.00 450 637.00" +*ImageableArea envDL/Env DL: "9 12.00 302 611.00" +*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea executive/Executive: "9 12.00 513 744.00" +*ImageableArea folio/Folio: "9 12.00 603 924.00" +*ImageableArea legal/Legal: "9 12.00 603 996.00" -*DefaultPaperDimension: Letter -*PaperDimension Letter/Letter: "612 792" -*PaperDimension A4/A4: "595 842" -*PaperDimension A5/A5: "420 595" +*DefaultPaperDimension: letter +*PaperDimension letter/Letter: "612 792" +*PaperDimension a4/A4: "595 842" +*PaperDimension a5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" -*PaperDimension Env10/Env #10: "297 684" -*PaperDimension EnvC5/Env C5: "459 649" -*PaperDimension EnvDL/Env DL: "311 623" -*PaperDimension EnvMonarch/Env Monarch: "279 540" -*PaperDimension Executive/Executive: "522 756" -*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" -*PaperDimension Folio/Folio: "612 936" -*PaperDimension Legal/Legal: "612 1008" +*PaperDimension env10/Env #10: "297 684" +*PaperDimension envC5/Env C5: "459 649" +*PaperDimension envDL/Env DL: "311 623" +*PaperDimension envMonarch/Env Monarch: "279 540" +*PaperDimension executive/Executive: "522 756" +*PaperDimension folio/Folio: "612 936" +*PaperDimension legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A diff --git a/PPD/Dell-C1760.ppd b/PPD/Dell-C1760.ppd index 92cd25c..6fed7b7 100644 --- a/PPD/Dell-C1760.ppd +++ b/PPD/Dell-C1760.ppd @@ -114,77 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " -*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*FoomaticRIPOptionSetting PageSize=A4: "-p1 " -*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" -*FoomaticRIPOptionSetting PageSize=A5: "-p3 " +*DefaultPageSize: letter +*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*FoomaticRIPOptionSetting PageSize=letter: "-p0 " +*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*FoomaticRIPOptionSetting PageSize=a4: "-p2 " +*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*FoomaticRIPOptionSetting PageSize=a5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " -*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " -*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " -*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " -*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " -*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " -*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " -*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " -*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" -*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " +*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*FoomaticRIPOptionSetting PageSize=env10: "-p6 " +*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " +*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " +*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " +*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*FoomaticRIPOptionSetting PageSize=executive: "-p3 " +*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*FoomaticRIPOptionSetting PageSize=folio: "-p205 " +*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*FoomaticRIPOptionSetting PageSize=legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*DefaultPageRegion: letter +*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" *CloseUI: *PageRegion -*DefaultImageableArea: Letter -*ImageableArea Letter/Letter: "9 12.00 603 780.00" -*ImageableArea A4/A4: "9 12.00 586 830.00" -*ImageableArea A5/A5: "9 12.00 411 583.00" +*DefaultImageableArea: letter +*ImageableArea letter/Letter: "9 12.00 603 780.00" +*ImageableArea a4/A4: "9 12.00 586 830.00" +*ImageableArea a5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" -*ImageableArea Env10/Env #10: "9 12.00 288 672.00" -*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" -*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" -*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" -*ImageableArea Executive/Executive: "9 12.00 513 744.00" -*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" -*ImageableArea Folio/Folio: "9 12.00 603 924.00" -*ImageableArea Legal/Legal: "9 12.00 603 996.00" +*ImageableArea env10/Env #10: "9 12.00 288 672.00" +*ImageableArea envC5/Env C5: "9 12.00 450 637.00" +*ImageableArea envDL/Env DL: "9 12.00 302 611.00" +*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea executive/Executive: "9 12.00 513 744.00" +*ImageableArea folio/Folio: "9 12.00 603 924.00" +*ImageableArea legal/Legal: "9 12.00 603 996.00" -*DefaultPaperDimension: Letter -*PaperDimension Letter/Letter: "612 792" -*PaperDimension A4/A4: "595 842" -*PaperDimension A5/A5: "420 595" +*DefaultPaperDimension: letter +*PaperDimension letter/Letter: "612 792" +*PaperDimension a4/A4: "595 842" +*PaperDimension a5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" -*PaperDimension Env10/Env #10: "297 684" -*PaperDimension EnvC5/Env C5: "459 649" -*PaperDimension EnvDL/Env DL: "311 623" -*PaperDimension EnvMonarch/Env Monarch: "279 540" -*PaperDimension Executive/Executive: "522 756" -*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" -*PaperDimension Folio/Folio: "612 936" -*PaperDimension Legal/Legal: "612 1008" +*PaperDimension env10/Env #10: "297 684" +*PaperDimension envC5/Env C5: "459 649" +*PaperDimension envDL/Env DL: "311 623" +*PaperDimension envMonarch/Env Monarch: "279 540" +*PaperDimension executive/Executive: "522 756" +*PaperDimension folio/Folio: "612 936" +*PaperDimension legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A diff --git a/PPD/Epson-AcuLaser_C1700.ppd b/PPD/Epson-AcuLaser_C1700.ppd index 538c7a0..c907ef1 100644 --- a/PPD/Epson-AcuLaser_C1700.ppd +++ b/PPD/Epson-AcuLaser_C1700.ppd @@ -114,77 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " -*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*FoomaticRIPOptionSetting PageSize=A4: "-p1 " -*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" -*FoomaticRIPOptionSetting PageSize=A5: "-p3 " +*DefaultPageSize: letter +*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*FoomaticRIPOptionSetting PageSize=letter: "-p0 " +*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*FoomaticRIPOptionSetting PageSize=a4: "-p2 " +*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*FoomaticRIPOptionSetting PageSize=a5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " -*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " -*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " -*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " -*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " -*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " -*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " -*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " -*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" -*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " +*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*FoomaticRIPOptionSetting PageSize=env10: "-p6 " +*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " +*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " +*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " +*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*FoomaticRIPOptionSetting PageSize=executive: "-p3 " +*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*FoomaticRIPOptionSetting PageSize=folio: "-p205 " +*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*FoomaticRIPOptionSetting PageSize=legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*DefaultPageRegion: letter +*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" *CloseUI: *PageRegion -*DefaultImageableArea: Letter -*ImageableArea Letter/Letter: "9 12.00 603 780.00" -*ImageableArea A4/A4: "9 12.00 586 830.00" -*ImageableArea A5/A5: "9 12.00 411 583.00" +*DefaultImageableArea: letter +*ImageableArea letter/Letter: "9 12.00 603 780.00" +*ImageableArea a4/A4: "9 12.00 586 830.00" +*ImageableArea a5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" -*ImageableArea Env10/Env #10: "9 12.00 288 672.00" -*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" -*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" -*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" -*ImageableArea Executive/Executive: "9 12.00 513 744.00" -*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" -*ImageableArea Folio/Folio: "9 12.00 603 924.00" -*ImageableArea Legal/Legal: "9 12.00 603 996.00" +*ImageableArea env10/Env #10: "9 12.00 288 672.00" +*ImageableArea envC5/Env C5: "9 12.00 450 637.00" +*ImageableArea envDL/Env DL: "9 12.00 302 611.00" +*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea executive/Executive: "9 12.00 513 744.00" +*ImageableArea folio/Folio: "9 12.00 603 924.00" +*ImageableArea legal/Legal: "9 12.00 603 996.00" -*DefaultPaperDimension: Letter -*PaperDimension Letter/Letter: "612 792" -*PaperDimension A4/A4: "595 842" -*PaperDimension A5/A5: "420 595" +*DefaultPaperDimension: letter +*PaperDimension letter/Letter: "612 792" +*PaperDimension a4/A4: "595 842" +*PaperDimension a5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" -*PaperDimension Env10/Env #10: "297 684" -*PaperDimension EnvC5/Env C5: "459 649" -*PaperDimension EnvDL/Env DL: "311 623" -*PaperDimension EnvMonarch/Env Monarch: "279 540" -*PaperDimension Executive/Executive: "522 756" -*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" -*PaperDimension Folio/Folio: "612 936" -*PaperDimension Legal/Legal: "612 1008" +*PaperDimension env10/Env #10: "297 684" +*PaperDimension envC5/Env C5: "459 649" +*PaperDimension envDL/Env DL: "311 623" +*PaperDimension envMonarch/Env Monarch: "279 540" +*PaperDimension executive/Executive: "522 756" +*PaperDimension folio/Folio: "612 936" +*PaperDimension legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A diff --git a/PPD/Fuji_Xerox-DocuPrint_CP105.ppd b/PPD/Fuji_Xerox-DocuPrint_CP105.ppd index 362623c..38cb674 100644 --- a/PPD/Fuji_Xerox-DocuPrint_CP105.ppd +++ b/PPD/Fuji_Xerox-DocuPrint_CP105.ppd @@ -114,77 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " -*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*FoomaticRIPOptionSetting PageSize=A4: "-p1 " -*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" -*FoomaticRIPOptionSetting PageSize=A5: "-p3 " +*DefaultPageSize: letter +*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*FoomaticRIPOptionSetting PageSize=letter: "-p0 " +*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*FoomaticRIPOptionSetting PageSize=a4: "-p2 " +*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*FoomaticRIPOptionSetting PageSize=a5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " -*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " -*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " -*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " -*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " -*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " -*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " -*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " -*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" -*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " +*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*FoomaticRIPOptionSetting PageSize=env10: "-p6 " +*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " +*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " +*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " +*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*FoomaticRIPOptionSetting PageSize=executive: "-p3 " +*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*FoomaticRIPOptionSetting PageSize=folio: "-p205 " +*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*FoomaticRIPOptionSetting PageSize=legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*DefaultPageRegion: letter +*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" *CloseUI: *PageRegion -*DefaultImageableArea: Letter -*ImageableArea Letter/Letter: "9 12.00 603 780.00" -*ImageableArea A4/A4: "9 12.00 586 830.00" -*ImageableArea A5/A5: "9 12.00 411 583.00" +*DefaultImageableArea: letter +*ImageableArea letter/Letter: "9 12.00 603 780.00" +*ImageableArea a4/A4: "9 12.00 586 830.00" +*ImageableArea a5/A5: "9 12.00 411 583.00" *ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" -*ImageableArea Env10/Env #10: "9 12.00 288 672.00" -*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00" -*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00" -*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00" -*ImageableArea Executive/Executive: "9 12.00 513 744.00" -*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00" -*ImageableArea Folio/Folio: "9 12.00 603 924.00" -*ImageableArea Legal/Legal: "9 12.00 603 996.00" +*ImageableArea env10/Env #10: "9 12.00 288 672.00" +*ImageableArea envC5/Env C5: "9 12.00 450 637.00" +*ImageableArea envDL/Env DL: "9 12.00 302 611.00" +*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea executive/Executive: "9 12.00 513 744.00" +*ImageableArea folio/Folio: "9 12.00 603 924.00" +*ImageableArea legal/Legal: "9 12.00 603 996.00" -*DefaultPaperDimension: Letter -*PaperDimension Letter/Letter: "612 792" -*PaperDimension A4/A4: "595 842" -*PaperDimension A5/A5: "420 595" +*DefaultPaperDimension: letter +*PaperDimension letter/Letter: "612 792" +*PaperDimension a4/A4: "595 842" +*PaperDimension a5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" -*PaperDimension Env10/Env #10: "297 684" -*PaperDimension EnvC5/Env C5: "459 649" -*PaperDimension EnvDL/Env DL: "311 623" -*PaperDimension EnvMonarch/Env Monarch: "279 540" -*PaperDimension Executive/Executive: "522 756" -*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" -*PaperDimension Folio/Folio: "612 936" -*PaperDimension Legal/Legal: "612 1008" +*PaperDimension env10/Env #10: "297 684" +*PaperDimension envC5/Env C5: "459 649" +*PaperDimension envDL/Env DL: "311 623" +*PaperDimension envMonarch/Env Monarch: "279 540" +*PaperDimension executive/Executive: "522 756" +*PaperDimension folio/Folio: "612 936" +*PaperDimension legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A diff --git a/PPD/Xerox-Phaser_6000B.ppd b/PPD/Xerox-Phaser_6000B.ppd index 61f9297..de6a977 100644 --- a/PPD/Xerox-Phaser_6000B.ppd +++ b/PPD/Xerox-Phaser_6000B.ppd @@ -38,7 +38,7 @@ *%pprRIP: foomatic-rip other *ModelName: "Xerox Phaser 6000B" *ShortNickName: "Xerox Phaser 6000B foo2hbpl1-z1" -*NickName: "Xerox Phaser 6000B Foomatic/foo2hbpl1 (recommended)" +*NickName: "Xerox Phaser 6000B Foomatic/foo2hbpl1-z1 (recommended)" *PSVersion: "(3010.000) 550" *PSVersion: "(3010.000) 651" *PSVersion: "(3010.000) 652" @@ -114,77 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " -*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*FoomaticRIPOptionSetting PageSize=A4: "-p1 " -*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" -*FoomaticRIPOptionSetting PageSize=A5: "-p3 " +*DefaultPageSize: letter +*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*FoomaticRIPOptionSetting PageSize=letter: "-p0 " +*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*FoomaticRIPOptionSetting PageSize=a4: "-p2 " +*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*FoomaticRIPOptionSetting PageSize=a5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " -*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " -*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " -*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " -*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " -*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " -*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " -*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " -*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" -*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " +*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*FoomaticRIPOptionSetting PageSize=env10: "-p6 " +*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " +*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " +*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " +*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*FoomaticRIPOptionSetting PageSize=executive: "-p3 " +*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*FoomaticRIPOptionSetting PageSize=folio: "-p205 " +*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*FoomaticRIPOptionSetting PageSize=legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*DefaultPageRegion: letter +*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" *CloseUI: *PageRegion -*DefaultImageableArea: Letter -*ImageableArea Letter/Letter: "11.62 11.62 600.38 780.38" -*ImageableArea A4/A4: "11.62 11.62 583.38 830.38" -*ImageableArea A5/A5: "11.62 11.62 408.38 583.38" -*ImageableArea B5jis/B5 (JIS): "11.62 11.62 504.38 717.38" -*ImageableArea Env10/Env #10: "11.62 11.62 285.38 672.38" -*ImageableArea EnvC5/Env C5: "11.62 11.62 447.38 637.38" -*ImageableArea EnvDL/Env DL: "11.62 11.62 300.38 612.38" -*ImageableArea EnvMonarch/Env Monarch: "11.62 11.62 267.38 528.38" -*ImageableArea Executive/Executive: "11.62 11.62 510.38 744.38" -*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "11.62 11.62 600.38 996.38" -*ImageableArea Folio/Folio: "11.62 11.62 600.38 924.38" -*ImageableArea Legal/Legal: "11.62 11.62 600.38 996.38" +*DefaultImageableArea: letter +*ImageableArea letter/Letter: "9 12.00 603 780.00" +*ImageableArea a4/A4: "9 12.00 586 830.00" +*ImageableArea a5/A5: "9 12.00 411 583.00" +*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" +*ImageableArea env10/Env #10: "9 12.00 288 672.00" +*ImageableArea envC5/Env C5: "9 12.00 450 637.00" +*ImageableArea envDL/Env DL: "9 12.00 302 611.00" +*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea executive/Executive: "9 12.00 513 744.00" +*ImageableArea folio/Folio: "9 12.00 603 924.00" +*ImageableArea legal/Legal: "9 12.00 603 996.00" -*DefaultPaperDimension: Letter -*PaperDimension Letter/Letter: "612 792" -*PaperDimension A4/A4: "595 842" -*PaperDimension A5/A5: "420 595" -*PaperDimension B5jis/B5 (JIS): "516 729" -*PaperDimension Env10/Env #10: "297 684" -*PaperDimension EnvC5/Env C5: "459 649" -*PaperDimension EnvDL/Env DL: "312 624" -*PaperDimension EnvMonarch/Env Monarch: "279 540" -*PaperDimension Executive/Executive: "522 756" -*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" -*PaperDimension Folio/Folio: "612 936" -*PaperDimension Legal/Legal: "612 1008" +*DefaultPaperDimension: letter +*PaperDimension letter/Letter: "612 792" +*PaperDimension a4/A4: "595 842" +*PaperDimension a5/A5: "420 595" +*PaperDimension B5jis/B5 (JIS): "518 727" +*PaperDimension env10/Env #10: "297 684" +*PaperDimension envC5/Env C5: "459 649" +*PaperDimension envDL/Env DL: "311 623" +*PaperDimension envMonarch/Env Monarch: "279 540" +*PaperDimension executive/Executive: "522 756" +*PaperDimension folio/Folio: "612 936" +*PaperDimension legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A diff --git a/PPD/Xerox-Phaser_6010N.ppd b/PPD/Xerox-Phaser_6010N.ppd index 2eee997..567778b 100644 --- a/PPD/Xerox-Phaser_6010N.ppd +++ b/PPD/Xerox-Phaser_6010N.ppd @@ -38,7 +38,7 @@ *%pprRIP: foomatic-rip other *ModelName: "Xerox Phaser 6010N" *ShortNickName: "Xerox Phaser 6010N foo2hbpl1-z1" -*NickName: "Xerox Phaser 6010N Foomatic/foo2hbpl1 (recommended)" +*NickName: "Xerox Phaser 6010N Foomatic/foo2hbpl1-z1 (recommended)" *PSVersion: "(3010.000) 550" *PSVersion: "(3010.000) 651" *PSVersion: "(3010.000) 652" @@ -114,77 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*FoomaticRIPOptionSetting PageSize=Letter: "-p4 " -*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*FoomaticRIPOptionSetting PageSize=A4: "-p1 " -*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" -*FoomaticRIPOptionSetting PageSize=A5: "-p3 " +*DefaultPageSize: letter +*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*FoomaticRIPOptionSetting PageSize=letter: "-p0 " +*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*FoomaticRIPOptionSetting PageSize=a4: "-p2 " +*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*FoomaticRIPOptionSetting PageSize=a5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 " -*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*FoomaticRIPOptionSetting PageSize=Env10: "-p9 " -*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 " -*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 " -*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 " -*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*FoomaticRIPOptionSetting PageSize=Executive: "-p5 " -*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 " -*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*FoomaticRIPOptionSetting PageSize=Folio: "-p6 " -*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" -*FoomaticRIPOptionSetting PageSize=Legal: "-p7 " +*FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " +*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*FoomaticRIPOptionSetting PageSize=env10: "-p6 " +*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " +*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " +*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " +*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*FoomaticRIPOptionSetting PageSize=executive: "-p3 " +*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*FoomaticRIPOptionSetting PageSize=folio: "-p205 " +*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*FoomaticRIPOptionSetting PageSize=legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" -*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" -*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*DefaultPageRegion: letter +*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" +*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" -*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" -*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" -*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" -*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" -*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal" -*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" -*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" +*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" +*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" +*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" +*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" +*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" +*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" *CloseUI: *PageRegion -*DefaultImageableArea: Letter -*ImageableArea Letter/Letter: "11.62 11.62 600.38 780.38" -*ImageableArea A4/A4: "11.62 11.62 583.38 830.38" -*ImageableArea A5/A5: "11.62 11.62 408.38 583.38" -*ImageableArea B5jis/B5 (JIS): "11.62 11.62 504.38 717.38" -*ImageableArea Env10/Env #10: "11.62 11.62 285.38 672.38" -*ImageableArea EnvC5/Env C5: "11.62 11.62 447.38 637.38" -*ImageableArea EnvDL/Env DL: "11.62 11.62 300.38 612.38" -*ImageableArea EnvMonarch/Env Monarch: "11.62 11.62 267.38 528.38" -*ImageableArea Executive/Executive: "11.62 11.62 510.38 744.38" -*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "11.62 11.62 600.38 996.38" -*ImageableArea Folio/Folio: "11.62 11.62 600.38 924.38" -*ImageableArea Legal/Legal: "11.62 11.62 600.38 996.38" +*DefaultImageableArea: letter +*ImageableArea letter/Letter: "9 12.00 603 780.00" +*ImageableArea a4/A4: "9 12.00 586 830.00" +*ImageableArea a5/A5: "9 12.00 411 583.00" +*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" +*ImageableArea env10/Env #10: "9 12.00 288 672.00" +*ImageableArea envC5/Env C5: "9 12.00 450 637.00" +*ImageableArea envDL/Env DL: "9 12.00 302 611.00" +*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" +*ImageableArea executive/Executive: "9 12.00 513 744.00" +*ImageableArea folio/Folio: "9 12.00 603 924.00" +*ImageableArea legal/Legal: "9 12.00 603 996.00" -*DefaultPaperDimension: Letter -*PaperDimension Letter/Letter: "612 792" -*PaperDimension A4/A4: "595 842" -*PaperDimension A5/A5: "420 595" -*PaperDimension B5jis/B5 (JIS): "516 729" -*PaperDimension Env10/Env #10: "297 684" -*PaperDimension EnvC5/Env C5: "459 649" -*PaperDimension EnvDL/Env DL: "312 624" -*PaperDimension EnvMonarch/Env Monarch: "279 540" -*PaperDimension Executive/Executive: "522 756" -*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008" -*PaperDimension Folio/Folio: "612 936" -*PaperDimension Legal/Legal: "612 1008" +*DefaultPaperDimension: letter +*PaperDimension letter/Letter: "612 792" +*PaperDimension a4/A4: "595 842" +*PaperDimension a5/A5: "420 595" +*PaperDimension B5jis/B5 (JIS): "518 727" +*PaperDimension env10/Env #10: "297 684" +*PaperDimension envC5/Env C5: "459 649" +*PaperDimension envDL/Env DL: "311 623" +*PaperDimension envMonarch/Env Monarch: "279 540" +*PaperDimension executive/Executive: "522 756" +*PaperDimension folio/Folio: "612 936" +*PaperDimension legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A diff --git a/foo2hbpl1-wrapper.1in b/foo2hbpl1-wrapper.1in index 9390579..3a3915c 100644 --- a/foo2hbpl1-wrapper.1in +++ b/foo2hbpl1-wrapper.1in @@ -70,23 +70,19 @@ special \- \- 23 24 .TE .TP .BI \-p\0 paper -Paper size code to send to printer [1]. +Paper code sizes autodetected by printer [0]. .TS -l r. -_ -Paper HBPL -_ -A4 1 -B5jis 2 -letter 4 -executive 5 -fanfold german legal 6 -folio 6 -legal 7 -env#10 9 -envMonarch 10 -envC5 11 -envDL 12 +box; +| n l | n l. +0 Letter 1 Legal +2 A4 3 Executive +\- \- \- \- +6 env #10 7 env Monarch +8 env C5 9 env DL +\- \- 11 B5jis +\- \- \- \- +\- \- 15 A5 +205 Folio 255 Custom (X x Y) .TE .TP .BI \-n\0 copies diff --git a/foo2hbpl1-wrapper.in b/foo2hbpl1-wrapper.in index 42d7fa9..d9a0770 100644 --- a/foo2hbpl1-wrapper.in +++ b/foo2hbpl1-wrapper.in @@ -72,8 +72,9 @@ Normal Options: 21=user, 22=user (side2), 23=special, 24=special (side2) -p paper Paper code [$PAPER] - letter, legal, a4, executive, env10, monarch, - c5, envDL, isob5, jisb5, a5, folio, CustomWxH + 0=letter, 1=legal, 2=A4, 3=executive, 6=env#10, + 7=envMonarch, 8=envC5, 9=envDL, 11=B5jis, + 15=A5, 205=folio, 255=custom (XxY) -n copies Number of copies [$COPIES] Resolution is always 600x600 -t Draft mode. Every other pixel is white. @@ -104,10 +105,8 @@ EOF exit 1 } -# -# Report an error and exit -# error() { + # Report an error and exit echo "$BASENAME: $1" >&2 exit 1 } @@ -119,6 +118,27 @@ dbgcmd() { "$@" } +set_clipping() { + # Set clipping region if it isn't already set + if [ "$CLIP_ALL" = "" ]; then + clipleft="$1" + cliptop="$2" + clipright="$3" + clipbottom="$4" + if [ "$clipleft" -le 10 ]; then clipleft=11; fi + if [ "$cliptop" -le 10 ]; then cliptop=11; fi + if [ "$clipright" -le 10 ]; then clipright=11; fi + if [ "$clipbottom" -le 10 ]; then clipbottom=11; fi + if [ "$MODEL" -lt 1 ]; then + if [ "$clipleft" -le 32 ]; then clipleft=33; fi + if [ "$cliptop" -le 32 ]; then cliptop=33; fi + if [ "$clipright" -le 32 ]; then clipright=33; fi + if [ "$clipbottom" -le 32 ]; then clipbottom=33; fi + fi + CLIP_ALL="-u $clipleft,$cliptop,$clipright,$clipbottom" + fi +} + # # N-up-ify the job. Requires psnup from psutils package # @@ -156,9 +176,9 @@ DEBUG=0 COLOR= COLORMODE=default MODEL=0 -MEDIA=1 +MEDIA= COPIES=1 -PAPER=letter +PAPER= RES=600x600 # do not change this SOURCE=1 NUP= @@ -245,38 +265,6 @@ if [ $# -ge 1 ]; then exec < $1 fi -# -# Validate media code -# -case "$MEDIA" in -1|plain) MEDIA=1;; -2|thick) MEDIA=2;; -3|highquality) MEDIA=3;; -4|coated) MEDIA=4;; -5|labels) MEDIA=5;; -6|envelope) MEDIA=6;; -7|recycled) MEDIA=7;; -8|plain2) MEDIA=8;; -9|thick2) MEDIA=9;; -10|highquality2) MEDIA=10;; -11|coated2) MEDIA=11;; -12|recycled2) MEDIA=12;; -13|letterhead) MEDIA=13;; # -z1 -14|letterhead2) MEDIA=14;; # -z1 -15|preprinted) MEDIA=15;; # -z1 -16|preprinted2) MEDIA=16;; # -z1 -17|prepunched) MEDIA=17;; # -z1 -18|prepunched2) MEDIA=18;; # -z1 -19|color) MEDIA=19;; # -z1 -20|color2) MEDIA=20;; # -z1 -21|custom) MEDIA=21;; # -z1 -22|custom2) MEDIA=22;; # -z1 -23|special) MEDIA=23;; # -z1 -24|special2) MEDIA=24;; # -z1 -[0-9]*) ;; -*) error "Unknown media code $MEDIA";; -esac - # # Validate source (InputSlot) code # @@ -296,14 +284,8 @@ esac # engines react differently when asked to print into their # unprintable regions. # -set_clipping() { - - # Set clipping region if it isn't already set - if [ "$CLIP_ALL" = "" ]; then - CLIP_ALL="-u $1,$2,$3,$4" - fi -} +if [ "$PAPER" = "" ]; then PAPER=letter; fi case "$PAPER" in Custom*x*) # Command line only @@ -317,8 +299,7 @@ Custom*x*) fi XDIM=`dc -e "$XDIM 600* 72/p"` YDIM=`dc -e "$YDIM 600* 72/p"` - PAPER=21; paper=letter; MEDIA=21 - DIM="${XDIM}x${YDIM}" + PAPER=255; paper=custom; set_clipping 50 50 50 50 ;; Custom*) #%%BeginFeature: *CustomPageSize True @@ -356,35 +337,80 @@ Custom*) esac XDIM=`dc -e "$XDIM 600* 72/p"` YDIM=`dc -e "$YDIM 600* 72/p"` - PAPER=21; paper=letter; MEDIA=21 - DIM="${XDIM}x${YDIM}" + PAPER=255; paper=custom; set_clipping 50 50 50 50 ;; # Use names that Ghostscript recognizes, referring to # /usr/share/ghostscript/9.10/Resource/Init/gs_statd.ps # foo2hbpl1 will provide the appropriate numeric value -4|letter|Letter) DIM=5100x6600 ;; -7|legal|Legal) DIM=5100x8400 ;; -1|a4|A4) DIM=4961x7016 ;; -5|executive|Executive) DIM=4350x6300 ;; -9|env10|Env10) DIM=2475x5700 ;; -10|monarch|EnvMonarch) DIM=2325x4500 ;; -11|c5|EnvC5) DIM=3827x5409 ;; -12|envDL|EnvDL) DIM=2599x5197 ;; -isob5|b5) DIM=4158x5906 ;; -2|jisb5|B5jis) DIM=4299x6071 ;; -3|a5|a5) DIM=3496x4961 ;; -6|folio|Folio) DIM=5100x7800 ;; -pa4) DIM=4961x6600 ;; -archA) DIM=5400x7200 ;; +0|letter) PAPER=0; paper=letter + XDIM="5100"; YDIM="6600"; set_clipping 50 50 50 50;; +1|legal) PAPER=1; paper=legal + XDIM="5100"; YDIM="8400"; set_clipping 50 50 50 50;; +2|A4|a4) PAPER=2; paper=a4 + XDIM="4960"; YDIM="7016"; set_clipping 50 50 50 50;; +3|executive) PAPER=3; paper=executive + XDIM="4350"; YDIM="6300"; set_clipping 50 50 50 50;; +6|env10|"env#10") PAPER=6; paper=env10 + XDIM="2475"; YDIM="5700"; set_clipping 50 50 50 50 + if [ "$MEDIA" = "" ]; then MEDIA=envelope; fi;; +7|monarch|envMonarch) PAPER=7; paper=envMonarch + XDIM="2325"; YDIM="4500"; set_clipping 50 50 50 50 + if [ "$MEDIA" = "" ]; then MEDIA=envelope; fi;; +8|C5|c5|envC5) PAPER=8; paper=envC5 + XDIM="3827"; YDIM="5400"; set_clipping 50 50 50 50 + if [ "$MEDIA" = "" ]; then MEDIA=envelope; fi;; +9|DL|dl|envDL) PAPER=9; paper=envD5 + XDIM="2600"; YDIM="5197"; set_clipping 50 50 50 50 + if [ "$MEDIA" = "" ]; then MEDIA=envelope; fi;; +11|jisB5|B5jis|b5jis) + PAPER=11; paper=b5 + XDIM="4299"; YDIM="6070"; set_clipping 50 50 50 50;; +15|A5|a5) PAPER=15; paper=a5 + XDIM="3496"; YDIM="4960"; set_clipping 50 50 50 50;; +205|folio) PAPER=205; paper=folio + XDIM="5100"; YDIM="7800"; set_clipping 50 50 50 50;; *) error "Unimplemented paper code $PAPER";; esac +DIM="${XDIM}x${YDIM}" +PAPERSIZE="-sPAPERSIZE=$paper"; #set_clipping 47 48 51 46 # exact values for Dell C1660w on letter paper set_clipping 51 51 51 51 # default is 0.085 inches all around -PAPERSIZE="-sPAPERSIZE=$PAPER"; +# +# Validate media code +# +if [ "$MEDIA" = "" ]; then MEDIA=plain; fi +case "$MEDIA" in +1|plain) MEDIA=1;; +2|thick) MEDIA=2;; +3|highquality) MEDIA=3;; +4|coated) MEDIA=4;; +5|labels) MEDIA=5;; +6|envelope) MEDIA=6;; +7|recycled) MEDIA=7;; +8|plain2) MEDIA=8;; +9|thick2) MEDIA=9;; +10|highquality2) MEDIA=10;; +11|coated2) MEDIA=11;; +12|recycled2) MEDIA=12;; +13|letterhead) MEDIA=13;; # -z1 +14|letterhead2) MEDIA=14;; # -z1 +15|preprinted) MEDIA=15;; # -z1 +16|preprinted2) MEDIA=16;; # -z1 +17|prepunched) MEDIA=17;; # -z1 +18|prepunched2) MEDIA=18;; # -z1 +19|color) MEDIA=19;; # -z1 +20|color2) MEDIA=20;; # -z1 +21|custom) MEDIA=21;; # -z1 +22|custom2) MEDIA=22;; # -z1 +23|special) MEDIA=23;; # -z1 +24|special2) MEDIA=24;; # -z1 +[0-9]*) ;; +*) error "Unknown media code $MEDIA";; +esac # -z0 does not accept this option, -z1+ accepts -n[1..999] case "$MODEL" in diff --git a/foo2hbpl1.1in b/foo2hbpl1.1in index 78fbb80..a76cde4 100644 --- a/foo2hbpl1.1in +++ b/foo2hbpl1.1in @@ -49,6 +49,22 @@ user1 \- \- 21 22 special \- \- 23 24 .TE .TP +.BI \-p\0 paper +Paper code sizes autodetected by printer [0]. +.TS +box; +| n l | n l. +0 Letter 1 Legal +2 A4 3 Executive +\- \- \- \- +6 env #10 7 env Monarch +8 env C5 9 env DL +\- \- 11 B5jis +\- \- \- \- +\- \- 15 A5 +205 Folio 255 Custom (X x Y) +.TE +.TP .BI \-n\0 copies Number of copies of each page [1]. Only available for \-z1 printers. .TS diff --git a/foo2hbpl1.c b/foo2hbpl1.c index 2bc5ff5..9f56a8e 100644 --- a/foo2hbpl1.c +++ b/foo2hbpl1.c @@ -54,11 +54,12 @@ static char Version[] = "$Id: foo2hbpl1.c,v 1.3 2014/03/30 05:08:32 rick Exp $"; int Copies = 1; // [1..999] Page Copies (default=1) int Debug = 0; int MediaCode = -1; // -1=undefined (default to paper) +int PaperCode = 0; // (default=letter) int Model = -1; // -1=undefined (default -z0) int pagenum = 0; // no pages, no printer codes sent char *Username = NULL; char *Filename = NULL; -int Clip[] = { 8,8,8,8 }; +int Clip[] = { 33,33,33,33 }; static const char *mname[2+24] = { //Known media types "COATEDPAPER2", // z1/--, 4=coated, light weight glossy card? (z1) @@ -91,20 +92,49 @@ static const char *mname[2+24] = { //Known media types "SPECIALREV" // z1/--, 24,special (side2) }; -static const short papers[11] = { // Official sizes to nearest 1/600 inch +static const char *pname[12] = { //Known paper types + "LETTER", // 0 + "LEGAL", // 1 + "A4", // 2 + "EXECUTIVE", // 3 +// unknown 4,5 + "COM10", // 6 + "MONARCH", // 7 + "C5", // 8 + "DL", // 9 +// unknown 10 + "JISB5", // 11 +// unknown 12,13,14 + "A5", // 15 + "FOLIO", // 205 +// fanfold german legal + "CUSTOM" // 255 +}; + +static const short papers[] = { // Official sizes to nearest 1/600 inch + // Official sizes to nearest 1/600 inch // will accept +-1.5mm (35/600 inch) tolerance - 0, 5100, 6600, // Letter - 2, 5100, 8400, // Legal - 4, 4961, 7016, // A4 - 6, 4350, 6300, // Executive - 13, 2475, 5700, // #10 envelope - 15, 2325, 4500, // Monarch envelope - 17, 3827, 5409, // C5 envelope - 19, 2599, 5197, // DL envelope -// ??, 4158, 5906, // B5 ISO - 22, 4299, 6071, // B5 JIS - 30, 3496, 4961, // A5 - 410, 5100, 7800, // Folio + // NOTE: printer appears only able to accept < 22cm max paper width + // {codeHBPL, media=[envelope=6,default=1], sizeX, sizeY} + 0, 5100, 6600, //0,l, 8.50" x 11.0" / 215.9mm x 279.4mm Letter + 2, 5100, 8400, //1,l, 8.50" x 14.0" / 215.9mm x 355.6mm Legal + 4, 4961, 7016, //2,l, 210.0mm x 297.0mm / 8.27" x 11.7" A4 + 6, 4350, 6300, //3,l, 7.25" x 10.5" / 184.2mm x 266.7mm Executive +// unknown 4 +// unknown 5 + 13, 2475, 5700, //6,e, 4.125" x 9.5" / 104.8mm x 241.3mm #10 envelope + 15, 2325, 4500, //7,e, 3.875" x 7.5" / 98.4mm x 190.5mm Monarch envelope + 17, 3827, 5409, //8,e, 162.0mm x 229.0mm / 6.38" x 9.02" C5 envelope + 19, 2599, 5197, //9,e, 110.0mm x 220.0mm / 4.33" x 8.67" DL envelope +// unknown 10 + 22, 4299, 6071, //11,l, 182.0mm x 257.0mm / 7.17" x 10.1" B5jis +// unknown 12 +// unknown 13 +// unknown 14 + 30, 3496, 4961, //15,l, 148.0mm x 210.0mm / 5.83" x 8.27" A5 + 410, 5100, 7800, //205,l, 8.50" x 13.0" / 215.9mm x 330.2mm Folio +// 205, 5100, 7800, //205,l, 8.5" x 13.0" / 215.9mm x 330.2mm fanfold german legal + 510 //255,l, Custom paper size (needs also X and Y) }; void @@ -136,6 +166,10 @@ usage(void) " 19=color, 20=color (side2),\n" " 21=user, 22=user (side2),\n" " 23=special, 24=special (side2)\n" +"-p paper Paper code autodetected by printer [%d]\n" +" 0=letter, 1=legal, 2=A4, 3=executive, 6=env#10,\n" +" 7=envMonarch, 8=envC5, 9=envDL, 11=B5jis,\n" +" 15=A5, 205=folio, 255=custom (XxY)\n" "-n copies Number of copies [%d]\n" "-J filename Filename string to send to printer [%s]\n" "-U username Username string to send to printer [%s]\n" @@ -150,6 +184,7 @@ usage(void) "Debugging Options:\n" "-D lvl Set Debug level [%d]\n" "-V Version %s\n" + , PaperCode , Copies , Filename ? Filename : "" , Username ? Username : "" @@ -498,28 +533,34 @@ encode_page(int color, int width, int height, char *image) int paper = 510, hsel = 0, off = 0, bit = 0, stat = 0; int margin = width-96; - if (Debug > 0) - fprintf(stderr,"start encode_page(%d)\n", pagenum); + debug(1, "start encode_page(%d)\n", pagenum); deep = 1 + color*3; - for (i = 0; i < sizeof papers / sizeof *papers; i++) + // autodetect paper size (portrait) + for (i = 0; papers[i] < 255*2; i+=3) if (abs(width-papers[i+1]) < 36 && abs(height-papers[i+2]) < 36) - paper = papers[i]; + { + paper = i; + goto psize; + } + paper = i; // 255, use custom paper size if you are here + setle (head+15, 2, (width*254+300)/600); // units of 0.1mm + setle (head+17, 2, (height*254+300)/600); + head[21] = 2; +psize: + head[12] = papers[paper]>>1; if (MediaCode < 0) - MediaCode = paper & 1 ? 6+1 : 1+1; + MediaCode = ((papers[paper] & 1) ? 6+1 : 1+1); + + debug(2, " width=%d height=%d color=%d deep=%d=%s\n", \ + width, height, color, deep, color ? "CYMK" : "GRAY"); + debug(2, " paper#%d,%d=%s media=%d=%s\n", \ + paper, papers[paper]>>1, pname[paper], \ + (MediaCode >= 1+1 ? MediaCode-1 : MediaCode), mname[MediaCode]); + if (!pagenum) start_doc(color); - head[12] = paper >> 1; - if (paper == 510) - { - setle (head+15, 2, (width*254+300)/600); // units of 0.1mm - setle (head+17, 2, (height*254+300)/600); - head[21] = 2; - } - debug(1, " width=%d height=%d color=%d deep=%d=%s\n", \ - width, height, color, deep, color ? "CYMK" : "GRAY"); - debug(1, " media=%d=%s paper#%d\n", MediaCode-1, mname[MediaCode], paper); width = -(-width & -8); setle (head+33, 4, pagenum); @@ -662,7 +703,7 @@ getint(FILE *fp) ret = ret*10 + c-'0'; if (c < 0) return -1; - debug(2," getint(%d)\n", ret); + debug(3, " getint(%d)\n", ret); return ret; } @@ -674,8 +715,7 @@ do_file(FILE *fp) char tupl[128], line[128]; unsigned char *image, *sp, *dp; - if (Debug > 0) - fprintf(stderr,"start do_file()\n get dimensions\n"); + debug(1, "start do_file()\n get dimensions\n"); while ((type = fgetc(fp)) != EOF) { @@ -715,7 +755,7 @@ six: iwide = getint(fp); default: goto fail; } - debug(1, " iwide=%d ihigh=%d imax=%d ideep=%d\n", \ + debug(2, " iwide=%d ihigh=%d imax=%d ideep=%d\n", \ iwide, ihigh, imax, ideep); if (iwide <= 0 || ihigh <= 0 || imax != 255) goto fail; wide = -(-iwide & -8); @@ -725,7 +765,7 @@ six: iwide = getint(fp); ibyte = wide >> 3; byte = wide * deep; - debug(1, " wide=%d deep=%d ibyte=%d byte=%d\n", \ + debug(2, " wide=%d deep=%d ibyte=%d byte=%d\n", \ wide, deep, ibyte, byte); image = calloc (ihigh+2, byte); @@ -780,11 +820,12 @@ main(int argc, char *argv[]) { int c, i; - while ( (c = getopt(argc, argv, "m:n:u:z:J:U:D:V")) != EOF) + while ( (c = getopt(argc, argv, "m:n:p:u:z:J:U:D:V")) != EOF) switch (c) { case 'm': MediaCode = atoi(optarg); break; case 'n': Copies = atoi(optarg); break; + case 'p': PaperCode = atoi(optarg); break; case 'u': if (sscanf(optarg, "%d,%d,%d,%d", Clip, Clip+1, Clip+2, Clip+3) != 4) error(1, "Must specify four clipping margins!\n"); @@ -806,15 +847,20 @@ main(int argc, char *argv[]) (Model == 1 && MediaCode > 24)))) error(1, "Illegal value for -m. For -z%d range is -m[1..%d]\n", \ Model, (Model ? 24 : 12), optarg); - if (Model > 0) { - if (MediaCode == 4) MediaCode = 0-1; - else if (MediaCode == 7) MediaCode = 1-1; + if (MediaCode != -1) + { + MediaCode++; + if (Model > 0) { + if (MediaCode == 4+1) MediaCode = 0; + else if (MediaCode == 7+1) MediaCode = 1; + } } - MediaCode++; if (Model <= 0 && Copies !=1) error(1, "Illegal value for -n. Must be 1 for -z0 printers!\n"); if (Copies < 1 || Copies > 999) error(1, "Illegal value for -n%d. Must be a number [1..999]!\n", Copies); + for (i = 0; i < 4; ++i) + if (Clip[i] < 33) Clip[i] = 33; argc -= optind; argv += optind; diff --git a/foomatic-db/opt/foo2hbpl1-PageSize.xml b/foomatic-db/opt/foo2hbpl1-PageSize.xml index dc655bd..a458c27 100644 --- a/foomatic-db/opt/foo2hbpl1-PageSize.xml +++ b/foomatic-db/opt/foo2hbpl1-PageSize.xml @@ -17,63 +17,63 @@ - A4 + A4 (210 x 297mm) A4 - 1 + 2 - B5 (JIS) + B5 (JIS) (182 x 257mm) B5jis - 2 + 11 + + + A5 (148 x 210mm) + A5 + 15 - Letter - Letter - 4 + Letter (8.5 x 11") + letter + 0 - Executive - Executive - 5 + Executive (7.25 x 10.5") + executive + 3 - Fanfold German Legal - FanfoldGermanLegal - 6 - - - Folio - Folio - 6 + Folio (8.5 x 13") + folio + 205 - Legal - Legal - 7 + Legal (8.5 x 14") + legal + 1 + + + Env #10 (4.125 x 9.5") + env10 + 6 - Env #10 - Env10 - 9 + Env Monarch (3.875 x 7.5") + monarch + 7 - Env Monarch - EnvMonarch - 10 + Env C5 (162 x 229mm) + C5 + 8 - Env C5 - EnvC5 - 11 + Env DL (110 x 220mm) + DL + 9 - Env DL - EnvDL - 12 - - - Custom - Custom + Custom (X x Y) + custom Custom.%0x%1 From 60dc647d85484d14cb737a3a68e04242112ae05c Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Tue, 14 Jul 2026 22:04:32 -0700 Subject: [PATCH 18/18] Added small HBPL1 touchups, bumped-up versions for wrapper and C Edit border minimums to allow headers and footers to fit without getting chopped off by clipping for 6000B and 6010N. Did not try to adjust -z0 printer borders as they might be some different value. Add missing black-text.ps needed for monochome printouts. Reset Copies for manual creation since the blocker might be cups or something else, otherwise Copies works ok with -z1 and 6010N. Suspect Fuji CP105, and maybe 215, are similar to 6000B or 6010N because internet references suggest using 6000B or 6010N drivers to substitute for them, however I left these as -z0 PPD files so that they should still work okay. Upgrading these is better left for someone else to try that has one of these types of printers. --- Makefile | 9 ++ PPD/Dell-1250c.ppd | 64 ++++++------ PPD/Dell-C1660.ppd | 64 ++++++------ PPD/Dell-C1760.ppd | 64 ++++++------ PPD/Epson-AcuLaser_C1700.ppd | 64 ++++++------ PPD/Fuji_Xerox-DocuPrint_CP105.ppd | 64 ++++++------ PPD/Xerox-Phaser_6000B.ppd | 116 ++++++++++----------- PPD/Xerox-Phaser_6010N.ppd | 116 ++++++++++----------- crd/hbpl1/black-text.ps | Bin 0 -> 5942 bytes foo2hbpl1-wrapper.in | 2 +- foo2hbpl1.1in | 2 + foo2hbpl1.c | 11 +- foomatic-db/printer/Xerox-Phaser_6000B.xml | 7 +- foomatic-db/printer/Xerox-Phaser_6010N.xml | 5 +- 14 files changed, 301 insertions(+), 287 deletions(-) create mode 100644 crd/hbpl1/black-text.ps diff --git a/Makefile b/Makefile index ef6d994..40740fb 100644 --- a/Makefile +++ b/Makefile @@ -205,6 +205,7 @@ FILES = \ osx-hotplug/*.plist \ ppd-adjust \ PPD/*.ppd \ + crd/hbpl1/*.ps \ crd/zjs/*.crd \ crd/zjs/*.ps \ crd/qpdl/*cms* \ @@ -771,6 +772,14 @@ install-crd: for i in crd/qpdl/*cms* crd/qpdl/*.ps; do \ $(INSTALL) -c -m 644 $$i $(SHAREQPDL)/crd/; \ done + # + # Install prebuilt CRD files + # + $(INSTALL) -d $(SHAREHBPL1)/ + $(INSTALL) $(LPuid) $(LPgid) -m 755 -d $(SHAREHBPL1)/crd/ + for i in crd/hbpl1/*cms* crd/hbpl1/*.ps; do \ + $(INSTALL) -c -m 644 $$i $(SHAREHBPL1)/crd/; \ + done install-psfiles: # diff --git a/PPD/Dell-1250c.ppd b/PPD/Dell-1250c.ppd index b884eff..d370ab0 100644 --- a/PPD/Dell-1250c.ppd +++ b/PPD/Dell-1250c.ppd @@ -114,45 +114,45 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: letter -*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*FoomaticRIPOptionSetting PageSize=letter: "-p0 " -*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*FoomaticRIPOptionSetting PageSize=a4: "-p2 " -*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" -*FoomaticRIPOptionSetting PageSize=a5: "-p15 " +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p0 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p2 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " -*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*FoomaticRIPOptionSetting PageSize=env10: "-p6 " -*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " -*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " -*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " -*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*FoomaticRIPOptionSetting PageSize=executive: "-p3 " -*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*FoomaticRIPOptionSetting PageSize=folio: "-p205 " -*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" -*FoomaticRIPOptionSetting PageSize=legal: "-p1 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p6 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p8 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p9 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p7 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p3 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p205 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: letter -*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *CloseUI: *PageRegion *DefaultImageableArea: letter diff --git a/PPD/Dell-C1660.ppd b/PPD/Dell-C1660.ppd index 5d97546..7bd5431 100644 --- a/PPD/Dell-C1660.ppd +++ b/PPD/Dell-C1660.ppd @@ -114,45 +114,45 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: letter -*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*FoomaticRIPOptionSetting PageSize=letter: "-p0 " -*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*FoomaticRIPOptionSetting PageSize=a4: "-p2 " -*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" -*FoomaticRIPOptionSetting PageSize=a5: "-p15 " +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p0 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p2 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " -*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*FoomaticRIPOptionSetting PageSize=env10: "-p6 " -*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " -*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " -*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " -*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*FoomaticRIPOptionSetting PageSize=executive: "-p3 " -*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*FoomaticRIPOptionSetting PageSize=folio: "-p205 " -*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" -*FoomaticRIPOptionSetting PageSize=legal: "-p1 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p6 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p8 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p9 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p7 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p3 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p205 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: letter -*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *CloseUI: *PageRegion *DefaultImageableArea: letter diff --git a/PPD/Dell-C1760.ppd b/PPD/Dell-C1760.ppd index 6fed7b7..2b23130 100644 --- a/PPD/Dell-C1760.ppd +++ b/PPD/Dell-C1760.ppd @@ -114,45 +114,45 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: letter -*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*FoomaticRIPOptionSetting PageSize=letter: "-p0 " -*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*FoomaticRIPOptionSetting PageSize=a4: "-p2 " -*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" -*FoomaticRIPOptionSetting PageSize=a5: "-p15 " +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p0 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p2 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " -*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*FoomaticRIPOptionSetting PageSize=env10: "-p6 " -*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " -*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " -*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " -*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*FoomaticRIPOptionSetting PageSize=executive: "-p3 " -*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*FoomaticRIPOptionSetting PageSize=folio: "-p205 " -*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" -*FoomaticRIPOptionSetting PageSize=legal: "-p1 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p6 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p8 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p9 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p7 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p3 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p205 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: letter -*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *CloseUI: *PageRegion *DefaultImageableArea: letter diff --git a/PPD/Epson-AcuLaser_C1700.ppd b/PPD/Epson-AcuLaser_C1700.ppd index c907ef1..fc5059f 100644 --- a/PPD/Epson-AcuLaser_C1700.ppd +++ b/PPD/Epson-AcuLaser_C1700.ppd @@ -114,45 +114,45 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: letter -*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*FoomaticRIPOptionSetting PageSize=letter: "-p0 " -*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*FoomaticRIPOptionSetting PageSize=a4: "-p2 " -*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" -*FoomaticRIPOptionSetting PageSize=a5: "-p15 " +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p0 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p2 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " -*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*FoomaticRIPOptionSetting PageSize=env10: "-p6 " -*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " -*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " -*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " -*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*FoomaticRIPOptionSetting PageSize=executive: "-p3 " -*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*FoomaticRIPOptionSetting PageSize=folio: "-p205 " -*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" -*FoomaticRIPOptionSetting PageSize=legal: "-p1 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p6 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p8 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p9 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p7 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p3 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p205 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: letter -*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *CloseUI: *PageRegion *DefaultImageableArea: letter diff --git a/PPD/Fuji_Xerox-DocuPrint_CP105.ppd b/PPD/Fuji_Xerox-DocuPrint_CP105.ppd index 38cb674..d4bc3d3 100644 --- a/PPD/Fuji_Xerox-DocuPrint_CP105.ppd +++ b/PPD/Fuji_Xerox-DocuPrint_CP105.ppd @@ -114,45 +114,45 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: letter -*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*FoomaticRIPOptionSetting PageSize=letter: "-p0 " -*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*FoomaticRIPOptionSetting PageSize=a4: "-p2 " -*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" -*FoomaticRIPOptionSetting PageSize=a5: "-p15 " +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p0 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p2 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " -*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*FoomaticRIPOptionSetting PageSize=env10: "-p6 " -*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " -*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " -*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " -*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*FoomaticRIPOptionSetting PageSize=executive: "-p3 " -*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*FoomaticRIPOptionSetting PageSize=folio: "-p205 " -*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" -*FoomaticRIPOptionSetting PageSize=legal: "-p1 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p6 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p8 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p9 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p7 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p3 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p205 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: letter -*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *CloseUI: *PageRegion *DefaultImageableArea: letter diff --git a/PPD/Xerox-Phaser_6000B.ppd b/PPD/Xerox-Phaser_6000B.ppd index de6a977..0a380c7 100644 --- a/PPD/Xerox-Phaser_6000B.ppd +++ b/PPD/Xerox-Phaser_6000B.ppd @@ -31,7 +31,7 @@ *Manufacturer: "Xerox" *Product: "(Phaser 6000B)" *cupsVersion: 1.0 -*cupsManualCopies: False +*cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" @@ -71,7 +71,7 @@ -*HWMargins: 11 11 11 11 +*HWMargins: 20 20 20 20 *VariablePaperSize: True *MaxMediaWidth: 100000 *MaxMediaHeight: 100000 @@ -114,72 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: letter -*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*FoomaticRIPOptionSetting PageSize=letter: "-p0 " -*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*FoomaticRIPOptionSetting PageSize=a4: "-p2 " -*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" -*FoomaticRIPOptionSetting PageSize=a5: "-p15 " +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p0 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p2 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " -*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*FoomaticRIPOptionSetting PageSize=env10: "-p6 " -*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " -*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " -*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " -*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*FoomaticRIPOptionSetting PageSize=executive: "-p3 " -*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*FoomaticRIPOptionSetting PageSize=folio: "-p205 " -*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" -*FoomaticRIPOptionSetting PageSize=legal: "-p1 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p6 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p8 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p9 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p7 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p3 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p205 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: letter -*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *CloseUI: *PageRegion -*DefaultImageableArea: letter -*ImageableArea letter/Letter: "9 12.00 603 780.00" -*ImageableArea a4/A4: "9 12.00 586 830.00" -*ImageableArea a5/A5: "9 12.00 411 583.00" -*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" -*ImageableArea env10/Env #10: "9 12.00 288 672.00" -*ImageableArea envC5/Env C5: "9 12.00 450 637.00" -*ImageableArea envDL/Env DL: "9 12.00 302 611.00" -*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" -*ImageableArea executive/Executive: "9 12.00 513 744.00" -*ImageableArea folio/Folio: "9 12.00 603 924.00" -*ImageableArea legal/Legal: "9 12.00 603 996.00" +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "20 20.00 592 772.00" +*ImageableArea A4/A4: "20 20.00 575 822.00" +*ImageableArea A5/A5: "20 20.00 400 575.00" +*ImageableArea B5jis/B5 (JIS): "20 20.00 498 707.00" +*ImageableArea Env10/Env #10: "20 20.00 277 664.00" +*ImageableArea EnvC5/Env C5: "20 20.00 439 629.00" +*ImageableArea EnvDL/Env DL: "20 20.00 291 603.00" +*ImageableArea EnvMonarch/Env Monarch: "20 20.00 259 520.00" +*ImageableArea Executive/Executive: "20 20.00 502 736.00" +*ImageableArea Folio/Folio: "20 20.00 598 916.00" +*ImageableArea Legal/Legal: "20 20.00 598 988.00" -*DefaultPaperDimension: letter -*PaperDimension letter/Letter: "612 792" -*PaperDimension a4/A4: "595 842" -*PaperDimension a5/A5: "420 595" +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" -*PaperDimension env10/Env #10: "297 684" -*PaperDimension envC5/Env C5: "459 649" -*PaperDimension envDL/Env DL: "311 623" -*PaperDimension envMonarch/Env Monarch: "279 540" -*PaperDimension executive/Executive: "522 756" -*PaperDimension folio/Folio: "612 936" -*PaperDimension legal/Legal: "612 1008" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension Folio/Folio: "612 936" +*PaperDimension Legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A @@ -237,7 +237,7 @@ *OpenUI *Copies/Copies: PickOne *FoomaticRIPOption Copies: int CmdLine A -*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionPrototype Copies: "-z1 -n%s " *FoomaticRIPOptionRange Copies: 1 100 *OrderDependency: 220 AnySetup *Copies *DefaultCopies: 1 diff --git a/PPD/Xerox-Phaser_6010N.ppd b/PPD/Xerox-Phaser_6010N.ppd index 567778b..3aabb2a 100644 --- a/PPD/Xerox-Phaser_6010N.ppd +++ b/PPD/Xerox-Phaser_6010N.ppd @@ -31,7 +31,7 @@ *Manufacturer: "Xerox" *Product: "(Phaser 6010N)" *cupsVersion: 1.0 -*cupsManualCopies: False +*cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" @@ -71,7 +71,7 @@ -*HWMargins: 11 11 11 11 +*HWMargins: 20 20 20 20 *VariablePaperSize: True *MaxMediaWidth: 100000 *MaxMediaHeight: 100000 @@ -114,72 +114,72 @@ *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 135 AnySetup *PageSize -*DefaultPageSize: letter -*PageSize letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*FoomaticRIPOptionSetting PageSize=letter: "-p0 " -*PageSize a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*FoomaticRIPOptionSetting PageSize=a4: "-p2 " -*PageSize a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" -*FoomaticRIPOptionSetting PageSize=a5: "-p15 " +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p0 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p2 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p15 " *PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" *FoomaticRIPOptionSetting PageSize=B5jis: "-p11 " -*PageSize env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*FoomaticRIPOptionSetting PageSize=env10: "-p6 " -*PageSize envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*FoomaticRIPOptionSetting PageSize=envC5: "-p8 " -*PageSize envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*FoomaticRIPOptionSetting PageSize=envDL: "-p9 " -*PageSize envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*FoomaticRIPOptionSetting PageSize=envMonarch: "-p7 " -*PageSize executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*FoomaticRIPOptionSetting PageSize=executive: "-p3 " -*PageSize folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*FoomaticRIPOptionSetting PageSize=folio: "-p205 " -*PageSize legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" -*FoomaticRIPOptionSetting PageSize=legal: "-p1 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p6 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p8 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p9 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p7 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p3 " +*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*FoomaticRIPOptionSetting PageSize=Folio: "-p205 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p1 " *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 135 AnySetup *PageRegion -*DefaultPageRegion: letter -*PageRegion letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" -*PageRegion a4/A4: "%% FoomaticRIPOptionSetting: PageSize=a4" -*PageRegion a5/A5: "%% FoomaticRIPOptionSetting: PageSize=a5" +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis" -*PageRegion env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=env10" -*PageRegion envC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=envC5" -*PageRegion envDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=envDL" -*PageRegion envMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=envMonarch" -*PageRegion executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=executive" -*PageRegion folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=folio" -*PageRegion legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=legal" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *CloseUI: *PageRegion -*DefaultImageableArea: letter -*ImageableArea letter/Letter: "9 12.00 603 780.00" -*ImageableArea a4/A4: "9 12.00 586 830.00" -*ImageableArea a5/A5: "9 12.00 411 583.00" -*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00" -*ImageableArea env10/Env #10: "9 12.00 288 672.00" -*ImageableArea envC5/Env C5: "9 12.00 450 637.00" -*ImageableArea envDL/Env DL: "9 12.00 302 611.00" -*ImageableArea envMonarch/Env Monarch: "9 12.00 270 528.00" -*ImageableArea executive/Executive: "9 12.00 513 744.00" -*ImageableArea folio/Folio: "9 12.00 603 924.00" -*ImageableArea legal/Legal: "9 12.00 603 996.00" +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "20 20.00 592 772.00" +*ImageableArea A4/A4: "20 20.00 575 822.00" +*ImageableArea A5/A5: "20 20.00 400 575.00" +*ImageableArea B5jis/B5 (JIS): "20 20.00 498 707.00" +*ImageableArea Env10/Env #10: "20 20.00 277 664.00" +*ImageableArea EnvC5/Env C5: "20 20.00 439 629.00" +*ImageableArea EnvDL/Env DL: "20 20.00 291 603.00" +*ImageableArea EnvMonarch/Env Monarch: "20 20.00 259 520.00" +*ImageableArea Executive/Executive: "20 20.00 502 736.00" +*ImageableArea Folio/Folio: "20 20.00 598 916.00" +*ImageableArea Legal/Legal: "20 20.00 598 988.00" -*DefaultPaperDimension: letter -*PaperDimension letter/Letter: "612 792" -*PaperDimension a4/A4: "595 842" -*PaperDimension a5/A5: "420 595" +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" *PaperDimension B5jis/B5 (JIS): "518 727" -*PaperDimension env10/Env #10: "297 684" -*PaperDimension envC5/Env C5: "459 649" -*PaperDimension envDL/Env DL: "311 623" -*PaperDimension envMonarch/Env Monarch: "279 540" -*PaperDimension executive/Executive: "522 756" -*PaperDimension folio/Folio: "612 936" -*PaperDimension legal/Legal: "612 1008" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension Folio/Folio: "612 936" +*PaperDimension Legal/Legal: "612 1008" *OpenUI *MediaType/Media Type: PickOne *FoomaticRIPOption MediaType: enum CmdLine A @@ -237,7 +237,7 @@ *OpenUI *Copies/Copies: PickOne *FoomaticRIPOption Copies: int CmdLine A -*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionPrototype Copies: "-z1 -n%s " *FoomaticRIPOptionRange Copies: 1 100 *OrderDependency: 220 AnySetup *Copies *DefaultCopies: 1 diff --git a/crd/hbpl1/black-text.ps b/crd/hbpl1/black-text.ps new file mode 100644 index 0000000000000000000000000000000000000000..d3f31368e64876f1a4332a6c16f21f64be430a7f GIT binary patch literal 5942 zcmeI0OK;mo6ouF3uQ(f_N#LlwcQ|}>nRL;hNf98~1VvGd#gRmqA_bDNYZU$OJ$Gcc zKp#MWF1m;S+knV9XD-jjx$?|vm919zE>02MjCnjnydURf-b~$b!FHT5$7Sh;9hQB> zE*uU4ccDMU8K*g24mW*7KaRJjBdyHs<37$2i`|&fj>A_A{~` zn`K78yiB3n?H9;P!66)v9JYQmdv#iP>ER}(;%>(F0ry?sW83XcEPCYaRQ2O@-4<_f zoW{GZWeF^KiHBn!mWXd&KL4XWJ}Q6g>9*t8TTx*ePeV)VWsl9+^Uh{unVY2>2iEz+ zIB>45IocCGCeRJMU`8Dy2&`r~4Y5tWHnqAu$G30s5Eoi}7_kl0HQt!PKHNnN*Nn+e^YY|(CThv|@hXE_84hXNiY zD%5BoyeJTbI7k8Ulw7THa6CU`QbH<74QZe`lm<$^&;shACA5Op&;~AtQ`1snVkep7 zWDc%?^Kd0x1y{p0C~_2nLQ$}m0)IO}YM$jl4ho(SdfvqSpapSY5L{p(*w3aQy&6#e_cys2PGvM6w zm#OBAHD|6l$0Z1IwW8Q;L?jbKVoVH*P-7$vg|Q$EAq^o8ArB!CArT=GArsMx7-*2p zw915tgp7oc#8JeUg=mCqgm8p(gm{E}gn)#EgouQUq;NE&K{6{`CPXG=CWIyhMT}jD zO2|qGOGrzIOUO$IOh`P zT_s&5T_s&5UA3iVYb`A{j#C0KgJh;IQ(Jtt`fT~x`m+T{x@^1rr8(&;=_=_e=_=_e z=_=`}BLFi1g&n^tLu!17OXIsVzDwh~G`=sP@qLPYKi;Rl z_i*WZm%exDdzZfVCG@>lec0Tlws-rV+g{omU3R*coi4Y2m!0lqr^`L~|G(4y)%L%K z6Hn*X9-(cqx$AH~(~H0GByz_SOB>R5cfV!-IQYB|{>;JWe;z+`@VVvweK1c^)0r@j KsfT$Rr|frM2jS!Z literal 0 HcmV?d00001 diff --git a/foo2hbpl1-wrapper.in b/foo2hbpl1-wrapper.in index d9a0770..3e50e1b 100644 --- a/foo2hbpl1-wrapper.in +++ b/foo2hbpl1-wrapper.in @@ -18,7 +18,7 @@ #* #* Authors: Rick Richardson -VERSION='$Id: foo2hbpl1-wrapper.in,v 1.3 2014/03/24 23:14:24 rick Exp $' +VERSION='$Id: foo2hbpl1-wrapper.in,v 1.4 2026/07/14 12:00:00 joe Exp $' # # Printer Notes: diff --git a/foo2hbpl1.1in b/foo2hbpl1.1in index a76cde4..ec87fde 100644 --- a/foo2hbpl1.1in +++ b/foo2hbpl1.1in @@ -139,6 +139,8 @@ Peter Korf .br Dave Coffin .br +Joe Da Silva +.br ${URLHBPL1}/ '\" '\" diff --git a/foo2hbpl1.c b/foo2hbpl1.c index 9f56a8e..93baa72 100644 --- a/foo2hbpl1.c +++ b/foo2hbpl1.c @@ -16,7 +16,10 @@ With this utility, you can print to some Dell and Fuji printers, such as these: - Xerox Phaser 6010N B/W and Color -z1 AUTHORS -This program was originally written by Dave Coffin in March 2014. +This program began life as Robert Szalai's 'pbmtozjs' program, +and then overhauled by Rick Richardson with several improvements. +foo2hbpl1.c originally began life as foo2hbpl2.c and was modified +for use with HBPLv1 type printers by Dave Coffin in March 2014. LICENSE This program is free software; you can redistribute it and/or modify @@ -35,7 +38,7 @@ along with this program; if not, see */ -static char Version[] = "$Id: foo2hbpl1.c,v 1.3 2014/03/30 05:08:32 rick Exp $"; +static char Version[] = "$Id: foo2hbpl1.c,v 1.4 2026/07/14 12:00:00 joe Exp $"; #include #include @@ -59,7 +62,7 @@ int Model = -1; // -1=undefined (default -z0) int pagenum = 0; // no pages, no printer codes sent char *Username = NULL; char *Filename = NULL; -int Clip[] = { 33,33,33,33 }; +int Clip[] = { 20,20,20,20 }; static const char *mname[2+24] = { //Known media types "COATEDPAPER2", // z1/--, 4=coated, light weight glossy card? (z1) @@ -860,7 +863,7 @@ main(int argc, char *argv[]) if (Copies < 1 || Copies > 999) error(1, "Illegal value for -n%d. Must be a number [1..999]!\n", Copies); for (i = 0; i < 4; ++i) - if (Clip[i] < 33) Clip[i] = 33; + if (Clip[i] < 20) Clip[i] = 20; argc -= optind; argv += optind; diff --git a/foomatic-db/printer/Xerox-Phaser_6000B.xml b/foomatic-db/printer/Xerox-Phaser_6000B.xml index ade278e..d53b641 100644 --- a/foomatic-db/printer/Xerox-Phaser_6000B.xml +++ b/foomatic-db/printer/Xerox-Phaser_6000B.xml @@ -44,14 +44,13 @@ - + Xerox Phaser 6000B + Xerox Phaser 6000B diff --git a/foomatic-db/printer/Xerox-Phaser_6010N.xml b/foomatic-db/printer/Xerox-Phaser_6010N.xml index 6e1d2f1..95108bd 100644 --- a/foomatic-db/printer/Xerox-Phaser_6010N.xml +++ b/foomatic-db/printer/Xerox-Phaser_6010N.xml @@ -44,12 +44,13 @@ - + MFG:Xerox;CMD:HBPL;MDL:Phaser 6010N;CLS:PRINTER;STATUS:BUSY; Xerox Phaser 6010N HBPL - + Xerox Phaser 6010N + Xerox Phaser 6010