debian/0000775000000000000000000000000012300762726007175 5ustar debian/compat0000664000000000000000000000000212276370602010373 0ustar 9 debian/control0000664000000000000000000000462512300762130010574 0ustar Source: foo2zjs Section: text Priority: optional Maintainer: Debian Printing Team Uploaders: Luca Capello , Didier Raboud Build-Depends: debhelper (>= 9), ghostscript, foomatic-filters, foomatic-db-engine, libcups2-dev, dc, time, pyppd (>= 1.0.2-1~), libjbig-dev Standards-Version: 3.9.5 Homepage: http://foo2zjs.rkkda.com/ Vcs-Git: git://anonscm.debian.org/collab-maint/foo2zjs.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/foo2zjs.git Package: printer-driver-foo2zjs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${ubuntu:mscompress}, foomatic-filters, dc, printer-driver-foo2zjs-common (>= ${source:Version}) Recommends: wget, unzip, ${debian:mscompress}, cups, cups-client Suggests: psutils, hannah-foo2zjs Breaks: udev (<< 136-1), cups (<< 1.5.0-3~), foo2zjs (<< 20111023dfsg0-1~) Replaces: foo2zjs (<< 20111023dfsg0-1~) Description: printer driver for ZjStream-based printers foo2zjs is an open source printer driver for printers that use the Zenographics ZjStream wire protocol for their print data, such as the Minolta magicolor 2200/2300/2430 DL, Minolta Color PageWorks/Pro L and HP LaserJet 1000/1005/1018/1020/1022. These printers are often erroneously referred to as "winprinters" or "GDI printers". . This package provides the following drivers: foo2hblp2, foo2hiperc, foo2hp, foo2lava, foo2oak, foo2qpdl, foo2slx, foo2xqx, foo2zjs. . The psutils package is needed to enable n-up printing support. Package: printer-driver-foo2zjs-common Architecture: all Depends: ${misc:Depends} Recommends: tk, printer-driver-foo2zjs (>= ${source:Version}) Suggests: tix Enhances: printer-driver-foo2zjs (>= ${source:Version}) Breaks: udev (<< 136-1), cups (<< 1.5.0-3~), foo2zjs (<< 20111023dfsg0-1~), printer-driver-foo2zjs (<< 20131225dfsg0-5~) Replaces: foo2zjs (<< 20111023dfsg0-1~), printer-driver-foo2zjs (<< 20131225dfsg0-5~) Description: printer driver for ZjStream-based printers - common files foo2zjs is an open source printer driver for printers that use the Zenographics ZjStream wire protocol for their print data, such as the Minolta magicolor 2200/2300/2430 DL, Minolta Color PageWorks/Pro L and HP LaserJet 1000/1005/1018/1020/1022. These printers are often erroneously referred to as "winprinters" or "GDI printers". . This package contains the architecture-independent files for printer-driver-foo2zjs. debian/printer-driver-foo2zjs.preinst0000664000000000000000000000062612276370602015155 0ustar #!/bin/sh set -e if [ "$1" = install ] || [ "$1" = upgrade ]; then if [ -e "/etc/udev/rules.d/11-hplj10xx.rules" ]; then if [ "`md5sum \"/etc/udev/rules.d/11-hplj10xx.rules\" | sed -e \"s/ .*//\"`" = \ "`dpkg-query -W -f='${Conffiles}' foo2zjs | sed -n -e \"\\\\' /etc/udev/rules.d/11-hplj10xx.rules's/.* //p\"`" ] then rm -f "/etc/udev/rules.d/11-hplj10xx.rules" fi fi fi #DEBHELPER# debian/printer-driver-foo2zjs-common.doc-base0000664000000000000000000000060612276370602016432 0ustar Document: foo2zjs Title: foo2zjs Manual Author: Rick Richardson Abstract: foo2zjs is an open source printer driver for printers that use the Zenographics ZjStream wire protocol for their print data. This document contains all the manual pages for the different binaries included with foo2zjs. Section: System/Hardware Format: PDF Files: /usr/share/doc/printer-driver-foo2zjs/manual.pdf debian/patches/0000775000000000000000000000000012276370602010624 5ustar debian/patches/91-spelling-fixes.patch0000664000000000000000000000617512276370602015036 0ustar Description: Fix various spelling errors: precission supress Author: Didier Raboud Last-Update: 2014-02-11 --- a/icc2ps/cmsio1.c +++ b/icc2ps/cmsio1.c @@ -1162,7 +1162,7 @@ AdjustEndianessArray16(NewLUT ->T, NewLUT->Tsize / sizeof(WORD)); } else { - cmsSignalError(LCMS_ERRC_ABORTED, "Unknow precission of '%d'", CLUT.prec); + cmsSignalError(LCMS_ERRC_ABORTED, "Unknow precision of '%d'", CLUT.prec); return FALSE; } --- a/icc2ps/icc2ps.c +++ b/icc2ps/icc2ps.c @@ -139,8 +139,8 @@ fprintf(stderr, "%cb - Black point compensation (CRD only)\n", SW); fprintf(stderr, "%cu - Do NOT generate resource name on CRD\n", SW); - fprintf(stderr, "%cc<0,1,2> - Precission (0=LowRes, 1=Normal (default), 2=Hi-res) (CRD only)\n", SW); - fprintf(stderr, "%cn - Alternate way to set precission, number of CLUT points (CRD only)\n", SW); + fprintf(stderr, "%cc<0,1,2> - Precision (0=LowRes, 1=Normal (default), 2=Hi-res) (CRD only)\n", SW); + fprintf(stderr, "%cn - Alternate way to set precision, number of CLUT points (CRD only)\n", SW); fprintf(stderr, "\n"); fprintf(stderr, "This program is intended to be a demo of the little cms\n" --- a/icc2ps/cmscgats.c +++ b/icc2ps/cmscgats.c @@ -620,7 +620,7 @@ if (it8->ch == '.') { // Decimal point double frac = 0.0; // fraction - int prec = 0; // precission + int prec = 0; // precision NextCh(it8); // Eats dec. point --- a/icc2ps/cmsps2.c +++ b/icc2ps/cmsps2.c @@ -54,7 +54,7 @@ Color Space Arrays (CSA) ================================================================================== - In order to obtain precission, code chooses between three ways to implement + In order to obtain precision, code chooses between three ways to implement the device -> XYZ transform. These cases identifies monochrome profiles (often implemented as a set of curves), matrix-shaper and LUT-based. @@ -1456,7 +1456,7 @@ OutputFormat = CHANNELS_SH(nChannels) | BYTES_SH(2); // For absolute colorimetric, the LUT is encoded as relative - // in order to preserve precission. + // in order to preserve precision. RelativeEncodingIntent = Intent; if (RelativeEncodingIntent == INTENT_ABSOLUTE_COLORIMETRIC) --- a/icc2ps/cmsmatsh.c +++ b/icc2ps/cmsmatsh.c @@ -75,7 +75,7 @@ AllLinear += cmsIsLinear(PtrW, p16 -> nSamples); } - // If is all linear, then supress table interpolation (this + // If is all linear, then suppress table interpolation (this // will speed greately some trivial operations. // Return 1 if present, 0 if all linear @@ -192,7 +192,7 @@ AllLinear += cmsIsLinear(PtrW, NewMatShaper -> p16.nSamples); } - // If is all linear, then supress table interpolation (this + // If is all linear, then suppress table interpolation (this // will speed greately some trivial operations if (AllLinear != 3) debian/patches/70-printer-profile.patch0000664000000000000000000001362612276370602015222 0ustar Don't delete printer-profile in clean target --- /dev/null +++ b/printer-profile.in @@ -0,0 +1,296 @@ +#!/bin/sh + +PROGNAME="$0" + +usage() { + cat <&2 + exit 1 +} + +debug() { + if [ $DEBUG -ge $1 ]; then + echo "`basename $PROGNAME`: $2" >&2 + fi +} + +# +# Execute a command as root +# +root() { + if [ -x /usr/bin/root ]; then + /usr/bin/root $@ + else + su -c "$*" + fi +} + +# +# trap on error +# +trap "exit 1" ERR + +# +# Process the options +# +REMPRINT=amd +REMSCAN=mac +REMSCAN=none +RGB=rgb +PATCHES=196 #Per page! +BPP=1 +RES= +DEBUG=0 +while getopts "b:r:P:S:D:h?" opt +do + case $opt in + b) BPP="$OPTARG";; + r) RES="$OPTARG";; + P) REMPRINT="$OPTARG";; + S) REMSCAN="$OPTARG";; + D) DEBUG="$OPTARG";; + h|\?) usage;; + esac +done +shift `expr $OPTIND - 1` + +# +# Main Program +# +if [ $# -lt 2 ]; then + usage +fi + +MANUF="$1" +MODEL="$2" +if [ $# -ge 3 ]; then + RGB="$3" +fi +if [ $# -ge 4 ]; then + PATCHES="$4" +fi +INK="$5" + +BPP_b="-b$BPP" +RES_r= +if [ "$RES" != "" ]; then + RES_r="-r$RES" +fi + +case "$MANUF" in +km) + MANUF=km + case "$MODEL" in + *1600*) + FOO=foo2lava + WRAPPER="foo2lava-wrapper $RES_r -z2 -c -C10 -Gnone.icm" + OUT="root cp xxx.prn /dev/usb/lp1" + ;; + *2530*) + FOO=foo2lava + WRAPPER="foo2lava-wrapper $RES_r -z0 -c -C10 -Gnone.icm" + OUT="nc 192.168.1.13 9100 < xxx.prn" + ;; + *2300*) + FOO=foo2zjs + WRAPPER="foo2zjs-wrapper $RES_r -c -C10 -Gnone.icm" + OUT="nc 192.168.1.10 9100 < xxx.prn" + ;; + *) + usage + ;; + esac + ;; +sam*) + MANUF=sam + FOO=foo2qpdl + case "$MODEL" in + *300*) + WRAPPER="foo2qpdl-wrapper $RES_r -z0 -c -C10 -Gnone.icm" + OUT="nc 192.168.1.11 9100 < xxx.prn" + ;; + *315*) + WRAPPER="foo2qpdl-wrapper $RES_r -z2 -c -C10 -Gnone.icm" + OUT="root cp xxx.prn /dev/usb/lp1" + ;; + *) + usage + ;; + esac + ;; +hp*) + MANUF=hp + FOO=foo2hp + case "$MODEL" in + *2600*) + WRAPPER="foo2hp2600-wrapper $RES_r $BPP_b -z0 -c -C10 -Gnone.icm" + OUT="nc 192.168.1.12 9100 < xxx.prn" + ;; + *cp1215*) + WRAPPER="foo2hp2600-wrapper $RES_r $BPP_b -z1 -c -C10 -Gnone.icm" + OUT="root cp xxx.prn /dev/usb/lp2" + ;; + *) + usage + ;; + esac + ;; +*) + usage + ;; +esac + +mrp="$MANUF-$MODEL-$RGB-$PATCHES" +if [ "$INK" != "" ]; then + mrp="$mrp-ink$INK" +fi +if [ "$BPP" != "" ]; then + mrp="$mrp-bpp$BPP" +fi +if [ "$RES" != "" ]; then + mrp="$mrp-$RES" +fi +echo "$mrp" + + +BETABIN=~/src/Argyll_V1.1.0_Beta/bin +if [ ! -x $BETABIN/printtarg ]; then + error "No beta bin in $BETABIN!" +fi + +targen_opts= +case "$RGB" in +rgb|RGB) targen_opts="$targen_opts -d3";; +cmyk|CMYK) targen_opts="$targen_opts -d4";; +*) error "Parm2: Must be rgb or cmyk";; +esac + +targen_opts="$targen_opts -f$PATCHES" + +if [ "$INK" != "" ]; then + targen_opts="$targen_opts -l$INK" +fi + +echo +echo "******************************** targen ********************************" +echo "targen $targen_opts $mrp" +if ! targen $targen_opts $mrp >$mrp.err1; then + cat $mrp.err1 + exit 1 +fi + +echo +echo "******************************* printtarg ******************************" +echo "$BETABIN/printtarg -h -v -iCM -p Letter -R0 $mrp" +$BETABIN/printtarg -h -v -iCM -p Letter -R0 $mrp + +evince $mrp.ps & + +echo +echo "******************************* print it *******************************" +echo "$WRAPPER" +case "$REMPRINT" in +''|none) + $WRAPPER <$mrp.ps >$mrp.prn + ;; +*) + ssh $REMPRINT "$WRAPPER" <$mrp.ps >$mrp.prn + ;; +esac +ls -l $mrp.prn +echo -n "Print it? [y|n]? " +read yes +case "$yes" in +y|Y) + cp $mrp.prn xxx.prn + echo " $OUT" + eval $OUT + rm -f xxx.prn +esac + +echo +echo "******************************* chartread ******************************" +case "$REMSCAN" in +''|none) + echo "$BETABIN/chartread $mrp" + $BETABIN/chartread $mrp + ;; +*) + echo "scp $mrp.ti2 mac:" + scp $mrp.ti2 mac: + echo "$BETABIN/chartread $mrp" + echo -n "Scanned on remote system $REMSCAN? [y/n]? " + read yes + case "$yes" in + y|Y) + scp $REMSCAN:$mrp.ti3 . + ;; + esac + ;; +esac + +echo +echo "******************************** colprof *******************************" +case $RGB in +rgb) + echo "colprof -v -D\"$mrp\" -qm -cmt -dpp $mrp" + colprof -v -D"$mrp" -qm -cmt -dpp $mrp + ;; +cymk) + echo "colprof -v -D\"$mrp\" -qm -cmt -dpp -kr $mrp" + colprof -v -D"$mrp" -qm -cmt -dpp -kr $mrp + ;; +esac + +root cp $mrp.icc /usr/share/$FOO/icm/testing.icm +echo "/usr/share/$FOO/icm/testing.icm created!" +ls -l /usr/share/$FOO/icm/ debian/patches/40-desktop-direct-launch.patch0000664000000000000000000000114212276370602016255 0ustar Description: Launch the _gui.tcl directly (instead of launching wish outside of it), avoids a lintian warning. Author: Didier Raboud Last-Update: 2011-07-24 --- a/hplj1020.desktop +++ b/hplj1020.desktop @@ -2,7 +2,7 @@ Name=Reactivate HP LaserJet 1018/1020 after reloading paper Comment=Click the button in this program when your printer ran out of paper and you have refilled the paper # zExec=usb_printerid /dev/usb/lp0 -Exec=wish /usr/share/foo2zjs/hplj10xx_gui.tcl +Exec=/usr/share/foo2zjs/hplj10xx_gui.tcl Terminal=false Type=Application Icon=/usr/share/pixmaps/hplj1020_icon.png debian/patches/12-fix-implicit-declaration.patch0000664000000000000000000000151312276370602016746 0ustar Description: Include unistd.h to make sure the swab function is not implicitely declared, also declare _XOPEN_SOURCE to have it available through unistd.h, and therefore declare _GNU_SOURCE to have strcasecmp() and vsnprintf() Author: Didier Raboud Last-Update: 2014-01-08 --- a/icc2ps/cmsio1.c +++ b/icc2ps/cmsio1.c @@ -71,6 +71,7 @@ #undef STEP } #else +#include #define xswab swab #endif --- a/icc2ps/Makefile +++ b/icc2ps/Makefile @@ -10,6 +10,10 @@ cmslut.c cmsmatsh.c cmsmtrx.c cmsnamed.c cmspack.c cmspcs.c cmsps2.c \ cmssamp.c cmswtpnt.c cmsxform.c cmsio0.c cmsvirt.c CFLAGS+= -O3 + +# _XOPEN_SOURCE is required for swab() but undefines strcasecmp(), so add _GNU_SOURCE as well: +CFLAGS+= -D_XOPEN_SOURCE -D_GNU_SOURCE + INSTALL=install ifeq ($(UNAME),SunOS) INSTALL=/usr/ucb/install debian/patches/40-desktop-encoding-correction.patch0000664000000000000000000000052112276370602017466 0ustar Remove the now useless Encoding key --- a/hplj1020.desktop +++ b/hplj1020.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 Name=Reactivate HP LaserJet 1018/1020 after reloading paper Comment=Click the button in this program when your printer ran out of paper and you have refilled the paper # zExec=usb_printerid /dev/usb/lp0 debian/patches/95-udev-firmware-script-no-hplip-rules-removal.patch0000664000000000000000000000150212276370602022474 0ustar Description: Removed the lines in the UDEV script for the automatic firmware upload into the printer which remove the UDEV rules files for HPLIP's automatic firmware upload. Author: Till Kamppeter Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/foo2zjs/+bug/783389 Last-Update: 2011-07-23 --- a/hplj1000 +++ b/hplj1000 @@ -151,16 +151,6 @@ esac # -# Remove HPLIP proprietary rules! -# -model=` echo "$MODEL" | tr 'A-Z' 'a-z' ` -rm -f /etc/udev/rules.d/*hpmud*laserjet_${model}* -rm -f /etc/udev/rules.d/*hpmud_support.rules -rm -f /etc/udev/rules.d/*hpmud_plugin.rules -rm -f /lib/udev/rules.d/*hpmud_support.rules -rm -f /lib/udev/rules.d/*hpmud_plugin.rules - -# # The special command line argument "install-usermap" will install # the proper entry into the /etc/hotplug/usb.usermap file # debian/patches/20-PDF-input-data-in-PPDs.patch0000664000000000000000000000264512276370602015760 0ustar Add "*cupsFilter" line to accept PDF input data to the PPDs, see: NB, this is done in debian/rules, so it will automatically apply to every new PPD which gets added to this package in the future. The patch should however not be deleted, so it does show up when looking at the differences with upstream. --- foo2zjs_20100728dfsg.orig/PPD/Generic-OAKT_Printer.ppd +++ foo2zjs_20100728dfsg/PPD/Generic-OAKT_Printer.ppd @@ -33,7 +33,8 @@ *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: "Generic OAKT Printer" *ShortNickName: "Generic OAKT Printer foo2oak" --- foo2zjs_20100728dfsg.orig/PPD/Generic-ZjStream_Printer.ppd +++ foo2zjs_20100728dfsg/PPD/Generic-ZjStream_Printer.ppd @@ -33,7 +33,8 @@ *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: "Generic ZjStream Printer" *ShortNickName: "Generic ZjStre. Printer foo2zjs" debian/patches/90-manpages.patch0000664000000000000000000012430512276370602013673 0ustar Fixes errors and hyphen-as-minus in manpages Last-Update: 2014-01-07 --- a/foo2hiperc.1in +++ b/foo2hiperc.1in @@ -11,13 +11,13 @@ HIPERC printer stream .SH SYNOPSIS .B foo2hiperc -.RI [ options "] <" pbmraw-file " >" hiperc-file +.RI [ options "] <" pbmraw\-file " >" hiperc\-file .sp 1 .B foo2hiperc -.RI [ options "] <" bitcmyk-file " >" hiperc-file +.RI [ options "] <" bitcmyk\-file " >" hiperc\-file .sp 1 .B foo2hiperc -.RI [ options "] <" pksmraw-file " >" hiperc-file +.RI [ options "] <" pksmraw\-file " >" hiperc\-file .SH DESCRIPTION .B foo2hiperc converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats to monochrome @@ -63,7 +63,7 @@ box; | n l | n l. 1 A4 2 letter -3 legal - - +3 legal \- \- 5 A5 6 B5jis 7 A6 8 env Monarch 9 env DL 10 env C5 @@ -108,7 +108,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the HIPERC stream [3]. +Send logical clipping amounts implied by \-u/-l in the HIPERC stream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -147,10 +147,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r600x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2hiperc -r600x600 -g5100x6600 -p0 >testpage.zm +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r600x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2hiperc \-r600x600 \-g5100x6600 \-p0 >testpage.zm .fi .RE .P @@ -158,10 +158,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk \ - -sOutputFile=- - < testpage.ps \ -| foo2hiperc -r600x600 -g5100x6600 -p0 >testpage.zc +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g5100x6600 \-r600x600 \-sDEVICE=bitcmyk \ + \-sOutputFile=- \- < testpage.ps \ +| foo2hiperc \-r600x600 \-g5100x6600 \-p0 >testpage.zc .fi .RE --- a/macros.man +++ b/macros.man @@ -26,11 +26,11 @@ .\} .el \{\ . ie !r ps4html \{\ -'\" \(br\|\s-1\f(CB\\$1\fP\s+1\|\(br\l'|0\(rn'\l'|0\(ul' +'\" \(br\|\s\-1\f(CB\\$1\fP\s+1\|\(br\l'|0\(rn'\l'|0\(ul' . ft CW . nr par*bxw \w'\\$1'+.4m -\Z'\v'.25m'\D'l 0 -1m'\D'l \\n[par*bxw]u 0'\D'l 0 1m'\D'l -\\n[par*bxw]u 0''\ -\Z'\h'.2m'\s-1\\$1\s+1'\ +\Z'\v'.25m'\D'l 0 \-1m'\D'l \\n[par*bxw]u 0'\D'l 0 1m'\D'l \-\\n[par*bxw]u 0''\ +\Z'\h'.2m'\s\-1\\$1\s+1'\ \h'\\n[par*bxw]u'\\$2 . ft P . \} @@ -53,26 +53,26 @@ '\" .if n .defcolor orange rgb #ffff00 '\" -'\" color - set the current color (ignores request with old groff) +'\" color \- set the current color (ignores request with old groff) '\" .de color .if mred \m[\\$1]\c .. '\" -'\" colorword - colorize a word (ignored by old groff) +'\" colorword \- colorize a word (ignored by old groff) '\" .de colorword .ie m\\$1 \m[\\$1]\\$2\mP\c .el \\$2\c .. '\" -'\" colbox - colorize a word in a filled box +'\" colbox \- colorize a word in a filled box '\" .de colbox .ie mred \M[\\$2]\ \v'+.167v'\ -\D'P 0 -0.9v \w'\\$3'u 0 0 +0.9v -\w'\\$3'u 0'\ -\v'-.167v'\ +\D'P 0 \-0.9v \w'\\$3'u 0 0 +0.9v \-\w'\\$3'u 0'\ +\v'\-.167v'\ \m[\\$1]\\$3\mP\MP .el \\$3\c .. @@ -94,7 +94,7 @@ '\" pdfdest LINKNAME '\" .de pdfdest -.pdfmark "/Dest /\\$1 /View [/XYZ -5 PL null] /DEST" +.pdfmark "/Dest /\\$1 /View [/XYZ \-5 PL null] /DEST" .. '\" '\" pdfbookmark COUNT LINKNAME STRING @@ -140,7 +140,7 @@ . \} . \} . ds hhh \\*[rr_labels!\\n[rr_i]] -. pdfbookmark -\\n[rr_count] Link\\n[rr_i] "\\*[hhh]" +. pdfbookmark \-\\n[rr_count] Link\\n[rr_i] "\\*[hhh]" .\} .. '\" @@ -159,7 +159,7 @@ /Subject (\*[an-title] Manual Page) \ /Author (Rick Richardson) \ /Keywords (printing) \ - /Creator (groff \n(.x.\n(.y.\n(.Y -man) \ + /Creator (groff \n(.x.\n(.y.\n(.Y \-man) \ /CreationDate (\*[an-extra1]) \ /ModDate (\*[an-extra1]) \ /DOCINFO" --- a/icc2ps/foo2zjs-icc2ps.1in +++ b/icc2ps/foo2zjs-icc2ps.1in @@ -1,16 +1,16 @@ -.TH foo2zjs-icc2ps 1 "Sun Jun 20 04:33:46 2010" "foo2zjs-icc2ps 0.0" +.TH foo2zjs\-icc2ps 1 "Sun Jun 20 04:33:46 2010" "foo2zjs\-icc2ps 0.0" #ifndef OLDGROFF #include "../macros.man" #endif .SH NAME -foo2zjs-icc2ps - little cms PostScript converter. +foo2zjs\-icc2ps \- little cms PostScript converter. .SH SYNOPSIS -.B foo2zjs-icc2ps +.B foo2zjs\-icc2ps .RI [ options ] .SH DESCRIPTION lcms is a standalone CMM engine, which deals with the color management. It implements a fast transformation between ICC profiles. -.B foo2zjs-icc2ps +.B foo2zjs\-icc2ps is little cms PostScript converter. .SH COMMAND LINE OPTIONS .TP @@ -18,7 +18,7 @@ Black point compensation (CRD only). .TP .B \-c <0,1,2> -Precision (0=LowRes, 1=Normal (default), 2=Hi-res) (CRD only) +Precision (0=LowRes, 1=Normal (default), 2=Hi\-res) (CRD only) .TP .BI \-i\ profile Input profile: Generates Color Space Array (CSA). @@ -27,7 +27,6 @@ Alternate way to set precision, number of CLUT points (CRD only) .TP .BI \-o\ profile -.p Output profile: Generates Color Rendering Dictionary(CRD). .TP .B \-t <0,1,2,3> @@ -38,17 +37,14 @@ .SH FILES .BR /usr/share/foo2*/icm/* .SH SEE ALSO -.BR foo2hiperc-wrapper (1), -.BR foo2hp2600-wrapper (1), -.BR foo2lava-wrapper (1), -.BR foo2oak-wrapper (1), -.BR foo2qpdl-wrapper (1), -.BR foo2zjs-wrapper (1), +.BR foo2hiperc\-wrapper (1), +.BR foo2hp2600\-wrapper (1), +.BR foo2lava\-wrapper (1), +.BR foo2oak\-wrapper (1), +.BR foo2qpdl\-wrapper (1), +.BR foo2zjs\-wrapper (1), .SH "AUTHOR" Rick Richardson .br http://foo2zjs.rkkda.com/ -'/" -'/" -'/" .em pdf_outline --- a/foo2zjs.1in +++ b/foo2zjs.1in @@ -50,7 +50,7 @@ _ Media 2300DL 2200DL HP 1018 HP P1102 HP \^ HP 1005 HP 1020 HP P1606 CP1025 -\^ -z0 -z0 -z1 -z2 -z3 +\^ \-z0 \-z0 \-z1 \-z2 \-z3 _ standard 1 1 1 1 1 transparency 2 2 2 2 2 @@ -79,7 +79,7 @@ _ Paper MC 2300DL HP 1018 HP P1102 HP \^ HP 1005 HP 1020 HP P1606 CP1025 -\^ -z0 -z1 -z2 -z3 +\^ \-z0 \-z1 \-z2 \-z3 _ letter 1 1 1 1 legal 5 5 5 5 @@ -95,9 +95,11 @@ postcard (japan) na 260 43 43 B5iso na 259 na na A6 na 262 70 70 -double postcard rotated na 261 82 82 +double postcard na 261 82 82 + rotated \^ \^ \^ \^ 16k 197x273 na 257 257 257 fanfold german legal na 258 258 258 + legal \^ \^ \^ \^ 16k 184x260 na na 263 263 16k 195x270 na na 264 264 photo 4x6 na na na 268 @@ -143,7 +145,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the ZjStream [3]. +Send logical clipping amounts implied by \-u/-l in the ZjStream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -201,10 +203,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zm +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r1200x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2zjs \-r1200x600 \-g10200x6600 \-p1 >testpage.zm .fi .RE .P @@ -212,10 +214,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ - -sOutputFile=- - < testpage.ps \ -| foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zc +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g10200x6600 \-r1200x600 \-sDEVICE=bitcmyk \ + \-sOutputFile=- \- < testpage.ps \ +| foo2zjs \-r1200x600 \-g10200x6600 \-p1 >testpage.zc .fi .RE --- a/foo2zjs-wrapper.1in +++ b/foo2zjs-wrapper.1in @@ -38,7 +38,7 @@ 1 Photos (using m2300w CRDs) 2 Photos and text (using m2300w CRDs) 3 Graphics and text (using m2300w CRDs) -10 ICM color profile (using -G *.icm file) +10 ICM color profile (using \-G *.icm file) .TE .TP .BI \-d\0 duplex @@ -55,7 +55,7 @@ _ Media 2300DL 2200DL HP 1018 HP P1102 HP \^ HP 1005 HP 1020 HP P1606 CP1025 -\^ -z0 -z0 -z1 -z2 -z3 +\^ \-z0 \-z0 \-z1 \-z2 \-z3 _ standard 1 1 1 1 1 transparency 2 2 2 2 2 @@ -84,7 +84,7 @@ _ Paper MC 2300DL HP 1018 HP P1102 HP \^ HP 1005 HP 1020 HP P1606 CP1025 -\^ -z0 -z1 -z2 -z3 +\^ \-z0 \-z1 \-z2 \-z3 _ letter 1 1 1 1 legal 5 5 5 5 @@ -100,9 +100,11 @@ postcard (japan) na 260 43 43 B5iso na 259 na na A6 na 262 70 70 -double postcard rotated na 261 82 82 +double postcard na 261 82 82 + rotated \^ \^ \^ \^ 16k 197x273 na 257 257 257 -fanfold german legal na 258 258 258 +fanfold german na 258 258 258 + legal \^ \^ \^ \^ 16k 184x260 na na 263 263 16k 195x270 na na 264 264 photo 4x6 na na na 268 @@ -137,9 +139,9 @@ 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 \fBfoo2zjs\fP @@ -158,13 +160,13 @@ 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. \fBfoo2zjs-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. @@ -200,7 +202,7 @@ 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 @@ -245,7 +247,7 @@ .nf foo2zjs-wrapper testpage.ps > testpage.zm zjsdecode < testpage.zm -lpr -P raw testpage.zm +lpr \-P raw testpage.zm .fi .RE .P @@ -253,7 +255,7 @@ .RS .nf -foo2zjs-wrapper -c testpage.ps > testpage.zc +foo2zjs-wrapper \-c testpage.ps > testpage.zc .fi .RE --- a/foo2hbpl2-wrapper.1in +++ b/foo2hbpl2-wrapper.1in @@ -40,7 +40,7 @@ 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 @@ -118,9 +118,9 @@ 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 \fBfoo2hbpl2\fP @@ -139,13 +139,13 @@ 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. \fBfoo2hbpl2-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. @@ -171,7 +171,7 @@ 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 @@ -216,7 +216,7 @@ .nf foo2hbpl2-wrapper testpage.ps > testpage.prn hbpl2decode < testpage.prn -lpr -P raw testpage.prn +lpr \-P raw testpage.prn .fi .RE .P @@ -224,7 +224,7 @@ .RS .nf -foo2hbpl2-wrapper -c testpage.ps > testpage.prn +foo2hbpl2-wrapper \-c testpage.ps > testpage.prn .fi .RE --- a/foo2hbpl2.1in +++ b/foo2hbpl2.1in @@ -124,7 +124,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the ZjStream [3]. +Send logical clipping amounts implied by \-u/-l in the ZjStream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -172,10 +172,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2hbpl2 -r1200x600 -g10200x6600 -p1 >testpage.zm +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r1200x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2hbpl2 \-r1200x600 \-g10200x6600 \-p1 >testpage.zm .fi .RE .P @@ -183,10 +183,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ - -sOutputFile=- - < testpage.ps \ -| foo2hbpl2 -r1200x600 -g10200x6600 -p1 >testpage.zc +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g10200x6600 \-r1200x600 \-sDEVICE=bitcmyk \ + \-sOutputFile=- \- < testpage.ps \ +| foo2hbpl2 \-r1200x600 \-g10200x6600 \-p1 >testpage.zc .fi .RE --- a/foo2hiperc-wrapper.1in +++ b/foo2hiperc-wrapper.1in @@ -37,7 +37,7 @@ 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 @@ -66,7 +66,7 @@ box; | n l | n l. 1 A4 2 letter -3 legal - - +3 legal \- \- 5 A5 6 B5jis 7 A6 8 env Monarch 9 env DL 10 env C5 @@ -100,9 +100,9 @@ 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 \fBfoo2hiperc\fP @@ -117,13 +117,13 @@ lower right corner, in pixels [varies with paper size]. .TP .BI \-L\0 mask -Send the logical clipping values from -u/-l in the HIPERC stream. +Send the logical clipping values from \-u/-l in the HIPERC stream. \fBfoo2hiperc-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. @@ -145,7 +145,7 @@ 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 @@ -198,7 +198,7 @@ .RS .nf -foo2hiperc-wrapper -c testpage.ps > testpage.hc +foo2hiperc-wrapper \-c testpage.ps > testpage.hc .fi .RE --- a/foo2hp.1in +++ b/foo2hp.1in @@ -123,7 +123,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the ZjStream [3]. +Send logical clipping amounts implied by \-u/-l in the ZjStream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -171,10 +171,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r600x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2hp -r600x600 -g5100x6600 -p1 >testpage.zm +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r600x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2hp \-r600x600 \-g5100x6600 \-p1 >testpage.zm .fi .RE .P @@ -182,10 +182,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk \ - -sOutputFile=- - < testpage.ps \ -| foo2hp -r600x600 -g5100x6600 -p1 >testpage.zc +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g5100x6600 \-r600x600 \-sDEVICE=bitcmyk \ + \-sOutputFile=- \- < testpage.ps \ +| foo2hp \-r600x600 \-g5100x6600 \-p1 >testpage.zc .fi .RE --- a/foo2hp2600-wrapper.1in +++ b/foo2hp2600-wrapper.1in @@ -107,9 +107,9 @@ 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 \fBfoo2hp\fP @@ -128,13 +128,13 @@ 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. \fBfoo2hp2600-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. @@ -147,7 +147,7 @@ .BI \-O\0 parm=val Alignment of CMYK. \fIparm\fP is c, m, y, or k. \fIval\fP is in rows. Multiple options are allowed. -The default is "-Oc=0 -Om=0 -Oy=0 -Ok=0". +The default is "\-Oc=0 \-Om=0 \-Oy=0 \-Ok=0". .TP .BI \-P Do not send START_PLANE codes on monochrome output. May be @@ -168,7 +168,7 @@ 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 @@ -214,7 +214,7 @@ .nf foo2hp2600-wrapper testpage.ps > testpage.zm zjsdecode < testpage.zm -lpr -P raw testpage.zm +lpr \-P raw testpage.zm .fi .RE .P @@ -222,7 +222,7 @@ .RS .nf -foo2hp2600-wrapper -c testpage.ps > testpage.zc +foo2hp2600-wrapper \-c testpage.ps > testpage.zc .fi .RE --- a/foo2lava-wrapper.1in +++ b/foo2lava-wrapper.1in @@ -42,7 +42,7 @@ 1 Photos (using m2300w CRDs) 2 Photos and text (using m2300w CRDs) 3 Graphics and text (using m2300w CRDs) -10 ICM color profile (using -G *.icm file) +10 ICM color profile (using \-G *.icm file) .TE .TP .BI \-d\0 duplex @@ -108,9 +108,9 @@ 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 \fBfoo2lava\fP @@ -129,13 +129,13 @@ been tested on any other printers. .TP .BI \-L\0 mask -Send the logical clipping values from -u/-l in the LAVAFLOW stream. +Send the logical clipping values from \-u/-l in the LAVAFLOW stream. \fBfoo2lava-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. @@ -162,7 +162,7 @@ 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 @@ -207,7 +207,7 @@ .nf foo2lava-wrapper testpage.ps > testpage.zm lavadecode < testpage.zm -lpr -P raw testpage.zm +lpr \-P raw testpage.zm .fi .RE .P @@ -215,7 +215,7 @@ .RS .nf -foo2lava-wrapper -c testpage.ps > testpage.zc +foo2lava-wrapper \-c testpage.ps > testpage.zc .fi .RE --- a/foo2lava.1in +++ b/foo2lava.1in @@ -111,7 +111,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the LAVAFLOW stream [3]. +Send logical clipping amounts implied by \-u/-l in the LAVAFLOW stream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -160,10 +160,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2lava -r1200x600 -g10200x6600 -p1 >testpage.zm +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r1200x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2lava \-r1200x600 \-g10200x6600 \-p1 >testpage.zm .fi .RE .P @@ -171,10 +171,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ - -sOutputFile=- - < testpage.ps \ -| foo2lava -r1200x600 -g10200x6600 -p1 >testpage.zc +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g10200x6600 \-r1200x600 \-sDEVICE=bitcmyk \ + \-sOutputFile=- \- < testpage.ps \ +| foo2lava \-r1200x600 \-g10200x6600 \-p1 >testpage.zc .fi .RE --- a/foo2oak-wrapper.1in +++ b/foo2oak-wrapper.1in @@ -49,7 +49,7 @@ l n n. _ Media HP CLJ 1500 KM-1635 - -z0 -z1 + \-z0 \-z1 _ autoselect 0 0 plain 1 1 @@ -110,9 +110,9 @@ 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 \fBfoo2oak\fP @@ -131,13 +131,13 @@ been tested on any other printers. .TP .BI \-L\0 mask -Send the logical clipping values from -u/-l in the OAKT stream. +Send the logical clipping values from \-u/-l in the OAKT stream. \fBfoo2oak-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. @@ -155,7 +155,7 @@ 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 @@ -200,7 +200,7 @@ .nf foo2oak-wrapper testpage.ps > testpage.oak oakdecode < testpage.oak -lpr -P raw testpage.oak +lpr \-P raw testpage.oak .fi .RE .P @@ -208,7 +208,7 @@ .RS .nf -foo2oak-wrapper -c testpage.ps > testpage.oak +foo2oak-wrapper \-c testpage.ps > testpage.oak .fi .RE --- a/foo2oak.1in +++ b/foo2oak.1in @@ -122,7 +122,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the OAKT stream [3]. +Send logical clipping amounts implied by \-u/-l in the OAKT stream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -167,10 +167,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r600x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2oak -r600x600 -g5100x6600 -p1 >testpage.oak +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r600x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2oak \-r600x600 \-g5100x6600 \-p1 >testpage.oak .fi .RE .P @@ -178,10 +178,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk \ - -sOutputFile=- - < testpage.ps \ -| foo2oak -r600x600 -g5100x6600 -p1 >testpage.oak +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g5100x6600 \-r600x600 \-sDEVICE=bitcmyk \ + \-sOutputFile=- \- < testpage.ps \ +| foo2oak \-r600x600 \-g5100x6600 \-p1 >testpage.oak .fi .RE --- a/foo2qpdl-wrapper.1in +++ b/foo2qpdl-wrapper.1in @@ -39,7 +39,7 @@ .TS n l . 1 CRD -10 ICM color profile (using -G *.icm file) +10 ICM color profile (using \-G *.icm file) .TE .TP .BI \-d\0 duplex @@ -112,9 +112,9 @@ 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 \fBfoo2qpdl\fP @@ -129,13 +129,13 @@ lower right corner, in pixels [varies with paper size]. .TP .BI \-L\0 mask -Send the logical clipping values from -u/-l in the QPDL stream. +Send the logical clipping values from \-u/-l in the QPDL stream. \fBfoo2qpdl-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 @@ This only works when the -z3 (e.g. CLP-365) model is set! .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 @@ .nf foo2qpdl-wrapper testpage.ps > testpage.zm qpdldecode < testpage.zm -lpr -P raw testpage.zm +lpr \-P raw testpage.zm .fi .RE .P @@ -221,7 +221,7 @@ .RS .nf -foo2qpdl-wrapper -c testpage.ps > testpage.zc +foo2qpdl-wrapper \-c testpage.ps > testpage.zc .fi .RE --- a/foo2qpdl.1in +++ b/foo2qpdl.1in @@ -125,7 +125,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the QPDL stream [3]. +Send logical clipping amounts implied by \-u/-l in the QPDL stream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -172,10 +172,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2qpdl -r1200x600 -g10200x6600 -p0 >testpage.zm +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r1200x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2qpdl \-r1200x600 \-g10200x6600 \-p0 >testpage.zm .fi .RE .P @@ -183,10 +183,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ - -sOutputFile=- - < testpage.ps \ -| foo2qpdl -r1200x600 -g10200x6600 -p0 >testpage.zc +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g10200x6600 \-r1200x600 \-sDEVICE=bitcmyk \ + \-sOutputFile=- \- < testpage.ps \ +| foo2qpdl \-r1200x600 \-g10200x6600 \-p0 >testpage.zc .fi .RE --- a/foo2slx-wrapper.1in +++ b/foo2slx-wrapper.1in @@ -83,9 +83,9 @@ 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 \fBfoo2slx\fP @@ -104,13 +104,13 @@ 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. \fBfoo2slx-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. @@ -124,7 +124,7 @@ 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 @@ -169,7 +169,7 @@ .nf foo2slx-wrapper testpage.ps > testpage.zm slxdecode < testpage.zm -lpr -P raw testpage.zm +lpr \-P raw testpage.zm .fi .RE .P @@ -177,7 +177,7 @@ .RS .nf -foo2slx-wrapper -c testpage.ps > testpage.zc +foo2slx-wrapper \-c testpage.ps > testpage.zc .fi .RE --- a/foo2slx.1in +++ b/foo2slx.1in @@ -93,7 +93,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the ZjStream [3]. +Send logical clipping amounts implied by \-u/-l in the ZjStream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -130,10 +130,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2slx -r1200x600 -g10200x6600 -p1 >testpage.zm +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r1200x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2slx \-r1200x600 \-g10200x6600 \-p1 >testpage.zm .fi .RE .P @@ -141,10 +141,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ - -sOutputFile=- - < testpage.ps \ -| foo2slx -r1200x600 -g10200x6600 -p1 >testpage.zc +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-g10200x6600 \-r1200x600 \-sDEVICE=bitcmyk \ + \-sOutputFile=- \- < testpage.ps \ +| foo2slx \-r1200x600 \-g10200x6600 \-p1 >testpage.zc .fi .RE --- a/foo2xqx-wrapper.1in +++ b/foo2xqx-wrapper.1in @@ -100,9 +100,9 @@ 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 \fBfoo2xqx\fP @@ -121,13 +121,13 @@ 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. \fBfoo2xqx-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. @@ -150,7 +150,7 @@ .nf foo2xqx-wrapper testpage.ps > testpage.xqx xqxdecode < testpage.xqx -lpr -P raw testpage.xqx +lpr \-P raw testpage.xqx .fi .RE --- a/foo2xqx.1in +++ b/foo2xqx.1in @@ -110,7 +110,7 @@ lower right corner, in pixels [0x0]. .TP .BI \-L\0 mask -Send logical clipping amounts implied by -u/-l in the ZjStream [3]. +Send logical clipping amounts implied by \-u/-l in the ZjStream [3]. .TS l l. 0 don't send any logical clipping amounts @@ -146,10 +146,10 @@ .RS .nf -gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ - -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ - -sOutputFile=- - < testpage.ps \ -| foo2xqx -r1200x600 -g10200x6600 -p1 >testpage.zm +gs \-q \-dBATCH \-dSAFER \-dQUIET \-dNOPAUSE \ + \-sPAPERSIZE=letter \-r1200x600 \-sDEVICE=pbmraw \ + \-sOutputFile=- \- < testpage.ps \ +| foo2xqx \-r1200x600 \-g10200x6600 \-p1 >testpage.zm .fi .RE --- a/gipddecode.1in +++ b/gipddecode.1in @@ -39,7 +39,7 @@ .nf .ft CW -$ gipddecode -h x500-mono.prn +$ gipddecode \-h x500-mono.prn 0: OFST 0 len=128 80: OFST 1 len=128 100: OFST 2 len=128 --- a/hbpldecode.1in +++ b/hbpldecode.1in @@ -49,12 +49,12 @@ .nf .ft CW -$ hbpldecode -h 1250c-mono.prn +$ hbpldecode \-h 1250c-mono.prn 0: \\033%-12345X@PJL JOB MODE=PRINTER 1f: @PJL SET STRINGCODESET=UTF8 3b: @PJL COMMENT DATE=06/01/2011 58: @PJL COMMENT TIME=13:28:30 - 73: @PJL COMMENT DNAME=empty - Notepad + 73: @PJL COMMENT DNAME=empty \- Notepad 96: @PJL SET JOBATTR="@LUNA=rick" b4: @PJL SET COPIES=1 c6: @PJL SET QTY=1 @@ -129,7 +129,7 @@ .nf .ft CW -$ hbpldecode -h 6015c-color.prn +$ hbpldecode \-h 6015c-color.prn 0: \033%-12345X@PJL JOB NAME=PRINTER 20: @PJL SET JOBATTR="HOST:dual.rkkda.org" 48: @PJL SET JOBATTR="USER:rick" @@ -155,28 +155,28 @@ w,h=5120x6406 res=600 color=1 mediatype=Plain(1) papersize=Letter(4) 1cc: Cyan BIH: - DL = 0, D = 0, P = 1, - = 0, XY = 10240 x 6406 + DL = 0, D = 0, P = 1, \- = 0, XY = 10240 x 6406 L0 = 128, MX = 0, MY = 0 Order = 0 Options = 64 LRLTWO 51 stripes, 0 layers, 1 planes ...cyan data skipped... 2ac: Magenta BIH: - DL = 0, D = 0, P = 1, - = 0, XY = 10240 x 6406 + DL = 0, D = 0, P = 1, \- = 0, XY = 10240 x 6406 L0 = 128, MX = 0, MY = 0 Order = 0 Options = 64 LRLTWO 51 stripes, 0 layers, 1 planes ...magenta data skipped... 38c: Yellow BIH: - DL = 0, D = 0, P = 1, - = 0, XY = 10240 x 6406 + DL = 0, D = 0, P = 1, \- = 0, XY = 10240 x 6406 L0 = 128, MX = 0, MY = 0 Order = 0 Options = 64 LRLTWO 51 stripes, 0 layers, 1 planes ...yellow data skipped... 46c: Black BIH: - DL = 0, D = 0, P = 1, - = 0, XY = 10240 x 6406 + DL = 0, D = 0, P = 1, \- = 0, XY = 10240 x 6406 L0 = 128, MX = 0, MY = 0 Order = 0 Options = 64 LRLTWO --- a/hipercdecode.1in +++ b/hipercdecode.1in @@ -40,7 +40,7 @@ .nf .ft CW -$ foo2hiperc-wrapper testpage.ps | hipercdecode -h +$ foo2hiperc-wrapper testpage.ps | hipercdecode \-h 0: \\033%-12345X@PJL f: @PJL RDYMSG DISPLAY = "Unknown" 30: @PJL SET OKIJOBACCOUNTJOB USERID="Unknown" JOBNAME="Unknown" @@ -62,7 +62,7 @@ 289: RECTYPE 0 (len=52,0x34 cnt=1) 291: BLKNUM 0, nbie=1, pn=3 [black] uc=0,0, wid=4864 ud=0,100 2a5: BLKNUM 1 (len=20), uncompressed=1, bie: - DL = 48, D = 48, P = 49, - = 48, XY = 4864 x 6816 + DL = 48, D = 48, P = 49, \- = 48, XY = 4864 x 6816 L0 = 256, MX = 0, MY = 0 Order = 0 Options = 0 --- a/lavadecode.1in +++ b/lavadecode.1in @@ -37,7 +37,7 @@ .nf .ft CW -$ lavadecode -h < testpage.prn +$ lavadecode \-h < testpage.prn 0: \\033%-12345X@PJL JOB NAME="stdin" 1f: \\033%-12345X@PJL JOB USERNAME="" 3d: \\033%-12345X@PJL JOB TIMESTAMP="07/20/2007" @@ -67,7 +67,7 @@ 133: \\033*p200Y Y OFFSET: [200] 13a: \\033*r1A [Page 1] 13f: \\033*b20V [black] - DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9792 x 6400 L0 = 128, MX = 0, MY = 0 Order = 3 ILEAVE SMID Options = 92 LRLTWO TPDON TPBON DPON --- a/oakdecode.1in +++ b/oakdecode.1in @@ -55,7 +55,7 @@ 15 (16) (no args) bih0 w h l0 bih5 dlen plen unk yOff P subP 3c (64) 00010000 2176 256 256 58030020 1050 1056 000 64 3 0 - DL = 0, D = 0, P = 1, - = 0, XY = 2176 x 256 + DL = 0, D = 0, P = 1, \- = 0, XY = 2176 x 256 L0 = 256, MX = 32, MY = 0 Order = 3 ILEAVE SMID Options = 88 LRLTWO TPDON TPBON --- a/opldecode.1in +++ b/opldecode.1in @@ -33,11 +33,11 @@ Set Debug level [0]. .SH EXAMPLES -Decode an Raster Object stream file created by foo2lava-wrapper -z1. +Decode an Raster Object stream file created by foo2lava-wrapper \-z1. .nf .ft CW -$ foo2lava-wrapper -z1 testpage.ps | opldecode -h +$ foo2lava-wrapper \-z1 testpage.ps | opldecode \-h 0: Event=StartOfJob; 11: OSVersion=WindowsXP; 25: DrvVersion=2.0.1410.0; @@ -53,7 +53,7 @@ 11e: RasterObject.Height=6400; 137: RasterObject.Data#20= - DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9792 x 6400 L0 = 128, MX = 0, MY = 0 Order = 3 ILEAVE SMID Options = 92 LRLTWO TPDON TPBON DPON @@ -66,7 +66,7 @@ 10e4a: RasterObject.Height=6400; 10e63: RasterObject.Data#20= - DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9792 x 6400 L0 = 128, MX = 0, MY = 0 Order = 3 ILEAVE SMID Options = 92 LRLTWO TPDON TPBON DPON @@ -79,7 +79,7 @@ 25a17: RasterObject.Height=6400; 25a30: RasterObject.Data#20= - DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9792 x 6400 L0 = 128, MX = 0, MY = 0 Order = 3 ILEAVE SMID Options = 92 LRLTWO TPDON TPBON DPON @@ -93,7 +93,7 @@ 3f68c: RasterObject.Height=6400; 3f6a5: RasterObject.Data#20= - DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9792 x 6400 L0 = 128, MX = 0, MY = 0 Order = 3 ILEAVE SMID Options = 92 LRLTWO TPDON TPBON DPON --- a/osx-hotplug/osx-hplj-hotplug.1in +++ b/osx-hotplug/osx-hplj-hotplug.1in @@ -3,7 +3,7 @@ #include "../macros.man" #endif .SH NAME -osx-hplj-hotplug - Daemon for downloading firmware files for Mac OS X +osx-hplj-hotplug \- Daemon for downloading firmware files for Mac OS X .SH SYNOPSIS .B osx-hplj-hotplug .RI [ options ] --- a/printer-profile.1in +++ b/printer-profile.1in @@ -29,11 +29,11 @@ Edit the script for additional models. .SH OPTIONS - -b 1|2 Bits per pixel (1) - -r XRESxYRES Resolution. Default=''. () - -P rem-print Remote print (64-bit) machine, or none (amd) - -S rem-scan Remote scan (ColorMunki) machine, or none (mac) - -D lvl Debug level + \-b 1|2 Bits per pixel (1) + \-r XRESxYRES Resolution. Default=''. () + \-P rem-print Remote print (64-bit) machine, or none (amd) + \-S rem-scan Remote scan (ColorMunki) machine, or none (mac) + \-D lvl Debug level .SH EXAMPLES Profile the Samsung clp-315: --- a/qpdldecode.1in +++ b/qpdldecode.1in @@ -54,7 +54,7 @@ len=56(0x38) magic=0x39abcdef, len=20(0x14), unk=0,0,0,0,0,0, checksum=0x356 - DL = 0, D = 0, P = 1, - = 0, XY = 9984 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9984 x 6400 L0 = 6400, MX = 0, MY = 0 Order = 0 Options = 72 LRLTWO TPBON @@ -64,7 +64,7 @@ len=56(0x38) magic=0x39abcdef, len=20(0x14), unk=0,0,0,0,0,0, checksum=0x356 - DL = 0, D = 0, P = 1, - = 0, XY = 9984 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9984 x 6400 L0 = 6400, MX = 0, MY = 0 Order = 0 Options = 72 LRLTWO TPBON @@ -74,7 +74,7 @@ len=56(0x38) magic=0x39abcdef, len=20(0x14), unk=0,0,0,0,0,0, checksum=0x356 - DL = 0, D = 0, P = 1, - = 0, XY = 9984 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9984 x 6400 L0 = 6400, MX = 0, MY = 0 Order = 0 Options = 72 LRLTWO TPBON @@ -84,7 +84,7 @@ len=56(0x38) magic=0x39abcdef, len=20(0x14), unk=0,0,0,0,0,0, checksum=0x356 - DL = 0, D = 0, P = 1, - = 0, XY = 9984 x 6400 + DL = 0, D = 0, P = 1, \- = 0, XY = 9984 x 6400 L0 = 6400, MX = 0, MY = 0 Order = 0 Options = 72 LRLTWO TPBON --- a/slxdecode.1in +++ b/slxdecode.1in @@ -80,7 +80,7 @@ SLI_0x10f, 1 (0x1) SLT_JBIG_BIH, 0 items Data: 20 bytes - DL = 0, D = 0, P = 1, - = 0, XY = 4896 x 6392 + DL = 0, D = 0, P = 1, \- = 0, XY = 4896 x 6392 L0 = 128, MX = 0, MY = 0 Order = 0 Options = 8 TPBON --- a/xqxdecode.1in +++ b/xqxdecode.1in @@ -37,7 +37,7 @@ .nf .ft CW -$ xqxdecode -h < testpage.xm +$ xqxdecode \-h < testpage.xm 0: \\033%-12345X@PJL JOB 12: @PJL SET JAMRECOVERY=OFF 2b: @PJL SET DENSITY=3 @@ -78,7 +78,7 @@ 230: XQXI_0x80000000, 64 (0x40) 23c: XQXI_0x40000000, 0 (0x0) 248: XQXI_BIH(0x40000002) - DL = 0, D = 0, P = 1, - = 0, XY = 9856 x 6432 + DL = 0, D = 0, P = 1, \- = 0, XY = 9856 x 6432 L0 = 128, MX = 16, MY = 0 Order = 3 ILEAVE SMID Options = 92 LRLTWO TPDON TPBON DPON --- a/zjsdecode.1in +++ b/zjsdecode.1in @@ -74,7 +74,7 @@ ZJI_MINOLTA_PAGE_NUMBER, 1 (0x1) ZJT_JBIG_BIH, 0 items Data: 20 bytes - DL = 0, D = 0, P = 1, - = 0, XY = 10200 x 6600 + DL = 0, D = 0, P = 1, \- = 0, XY = 10200 x 6600 L0 = 128, MX = 16, MY = 0 Order = 3 ILEAVE SMID Options = 92 LRLTWO TPDON TPBON DPON debian/patches/40-path-correction.patch0000664000000000000000000000045112276370602015167 0ustar Correct the path for the usb_printerid program --- a/hplj1000 +++ b/hplj1000 @@ -59,7 +59,7 @@ # [snip] # # Mount all other filesystems (except for NFS and /proc, which is already # -PRINTERID=/bin/usb_printerid +PRINTERID=`which usb_printerid` # # Figure out how to log our messages debian/patches/series0000664000000000000000000000111612276370602012040 0ustar 10-makefile.patch 12-fix-implicit-declaration.patch 20-system-libjbig.patch # in debian/rules: 20-honour-papersize.patch # in debian/rules: 20-PDF-input-data-in-PPDs.patch 30-udev-rules.patch 40-desktop-encoding-correction.patch 40-desktop-nodisplay-true.patch 40-desktop-direct-launch.patch 40-path-correction.patch 60-getweb.in.patch 60-hplj1000.patch 70-lib-firwmare-hp.patch 70-printer-profile.patch 90-manpages.patch 91-spelling-fixes.patch 92-udev-firmware-script-fixes.patch 95-udev-firmware-script-no-hplip-rules-removal.patch 96-hplj1000-fix-cups-usb-backend-firmware-upload.patch debian/patches/20-system-libjbig.patch0000664000000000000000000000101612276370602015006 0ustar Description: Use the Debian-provided libjbig. Author: Didier Raboud Last-Update: 2012-04-26 --- a/Makefile +++ b/Makefile @@ -125,10 +125,6 @@ Makefile \ foo2zjs.c \ foo2zjs.1in \ - jbig.c \ - jbig.h \ - jbig_ar.c \ - jbig_ar.h \ zjsdecode.c \ zjsdecode.1in \ zjs.h \ @@ -280,7 +276,7 @@ MANPAGES+= gipddecode.1 MANPAGES+= foo2zjs-pstops.1 arm2hpdl.1 usb_printerid.1 MANPAGES+= printer-profile.1 -LIBJBG = jbig.o jbig_ar.o +LIBJBG = -ljbig BINPROGS= ifeq ($(UNAME),Linux) debian/patches/70-lib-firwmare-hp.patch0000664000000000000000000000230412276370602015055 0ustar Firmware directory is /lib/firmware/hp/ (Closes: #517957) --- a/getweb.in +++ b/getweb.in @@ -125,7 +125,7 @@ putfw() { inputname=$1 outputname=$2 - $ARM2HPDL $inputname > /usr/share/foo2zjs/firmware/$outputname + $ARM2HPDL $inputname > /lib/firmware/hp/$outputname rm $inputname } --- a/hplj1000 +++ b/hplj1000 @@ -47,7 +47,7 @@ # # Directory to find downloadable HP firmware files sihpMMMM.dl # -FWDIR=/usr/share/foo2zjs/firmware +FWDIR=/lib/firmware/hp # # Program used to determine USB printer id information --- a/usb_printerid.1in +++ b/usb_printerid.1in @@ -26,7 +26,7 @@ MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;\e DES:HP LaserJet 1020; -# cp /usr/share/foo2zjs/firmware/sihp1020.dl /dev/usb/lp0 +# cp /lib/firmware/hp/sihp1020.dl /dev/usb/lp0 # usb_printerid /dev/usb/lp0 GET_DEVICE_ID string: @@ -37,7 +37,7 @@ .SH FILES .BR /usr/bin/usb_printerid, -.BR /usr/share/foo2*/firmware/* +.BR /lib/firmware/hp/* .SH SEE ALSO .BR arm2hpdl (1) .SH "AUTHOR" --- a/arm2hpdl.1in +++ b/arm2hpdl.1in @@ -31,7 +31,7 @@ .SH FILES .BR /usr/bin/arm2hpdl, -.BR /usr/share/foo2*/firmware/ +.BR /lib/firmware/hp/* .SH SEE ALSO .BR foo2zjs (1) .SH "AUTHOR" debian/patches/60-getweb.in.patch0000664000000000000000000001503312276370602013754 0ustar Improve getweb also for installing the firmware --- a/getweb.in +++ b/getweb.in @@ -1,8 +1,10 @@ #!/bin/sh +set -e + # # (c) Copyright Rick Richardson 2008 -# +# This version has been modified by Debian # # PLEASE don't remove the copyright statements. They should @@ -12,6 +14,13 @@ VERSION='$Id: getweb.in,v 1.112 2013/12/25 21:00:11 rick Exp $' WGETOPTS="--passive-ftp -q" +ARM2HPDL="/usr/bin/arm2hpdl" + +if [ $(id -ru) -ne 0 ]; then + echo "You need to be root" + exit 1 +fi + usage() { cat </dev/null` +WGET=`which wget` if [ "$SYSTEM" = Darwin -a "$WGET" = "" ] then WGETOPTS= @@ -115,6 +122,18 @@ } fi +putfw() { + inputname=$1 + outputname=$2 + $ARM2HPDL $inputname > /usr/share/foo2zjs/firmware/$outputname + rm $inputname +} + +puticm() { + drivername=$1 + mv *.icm /usr/share/"$drivername"/icm/ +} + # # Download a .EXE file from the web, unzip it, and extract the # files we want @@ -161,6 +180,7 @@ #lj1488en.exe \ #sihp1000.img copyright "(c) Copyright Hewlett-Packard 2001" + putfw sihp1000.img sihp1000.dl ;; lj1005|1005) gettgz \ @@ -176,12 +196,14 @@ http://foo2zjs.rkkda.com/firmware sihpP1005.tar.gz \ "" copyright "(c) Copyright Hewlett-Packard 2009" + putfw sihp1005.img sihp1005.dl ;; lj1018|1018) gettgz \ http://foo2zjs.rkkda.com/firmware sihp1018.tar.gz \ "" copyright "(c) Copyright Hewlett-Packard 2005" + putfw sihp1018.img sihp1018.dl ;; lj1020|1020) # http://ftp.hp.com/pub/softlib/software8/COL14041/lj-39322-2/hp_LJ_1020-1022_Full_Solution.exe @@ -189,24 +211,28 @@ http://foo2zjs.rkkda.com/firmware sihp1020.tar.gz \ "" copyright "(c) Copyright Hewlett-Packard 2005" + putfw sihp1020.img sihp1020.dl ;; [pP]100[57]) gettgz \ http://foo2zjs.rkkda.com/firmware sihpP1005.tar.gz \ "" copyright "(c) Copyright Hewlett-Packard 2009" + putfw sihpP1005.img sihpP1005.dl ;; [pP]100[68]) gettgz \ http://foo2zjs.rkkda.com/firmware sihpP1006.tar.gz \ "" copyright "(c) Copyright Hewlett-Packard 2009" + putfw sihpP1006.img sihpP1006.dl ;; [pP]1505) gettgz \ http://foo2zjs.rkkda.com/firmware sihpP1505.tar.gz \ "" copyright "(c) Copyright Hewlett-Packard 2009" + putfw sihpP1505.img sihpP1505.dl ;; 2200dl|2200) if true; then @@ -219,6 +245,7 @@ "*.icm" fi copyright "(c) Copyright Minolta-QMS 1999" + puticm foo2zjs ;; 2300dl|2300) if true; then @@ -234,6 +261,7 @@ http://foo2zjs.rkkda.com/icm km2430.tar.gz \ "" copyright "(c) Copyright Minolta-QMS 2001" + puticm foo2zjs ;; 2300dl_fw) # 2300DL firmware upgrade to v2.55 @@ -262,12 +290,14 @@ done fi copyright "(c) Copyright Minolta-QMS 1998" + puticm foo2zjs ;; 2430) gettgz \ http://foo2zjs.rkkda.com/icm km2430.tar.gz \ "" copyright "(c) Copyright Konica Minolta 2003" + puticm foo2zjs ;; 2530|2490|6115|2480|1600w|1680|1690|4690|110|6121) gettgz \ @@ -279,6 +309,7 @@ http://foo2lava.rkkda.com/icm km-1600.tar.gz \ "" copyright "(c) Copyright Rick Richardson 2009. All Rights Reserved" + puticm foo2lava ;; 1500) gettgz \ @@ -290,12 +321,14 @@ "" copyright "(c) Copyright Hewlett-Packard 2003" copyright "(c) Copyright Rick Richardson 2006. All Rights Reserved" + puticm foo2oak ;; 1025) gettgz \ http://foo2zjs.rkkda.com/icm hp-cp1025.tar.gz \ "" copyright "(c) Copyright Rick Richardson 2010. All Rights Reserved" + puticm foo2zjs ;; 1215|1600|2600*) gettgz \ @@ -310,6 +343,7 @@ http://foo2hp.rkkda.com/icm hp1215.tar.gz \ "" copyright "(c) Copyright Rick Richardson 2008. All Rights Reserved" + puticm foo2hp ;; 300|310|315|325|365|2160|3160|3175|3185|6110) gettgz \ @@ -320,6 +354,7 @@ http://foo2qpdl.rkkda.com/icm samclp315.tar.gz \ "" copyright "(c) Copyright Rick Richardson 2008. All Rights Reserved" + puticm foo2qpdl ;; 600|610) ;; @@ -329,6 +364,7 @@ http://foo2slx.rkkda.com/icm lexc500.tar.gz \ "" copyright "(c) Copyright Lexmark 2006" + puticm foo2slx ;; oki) @@ -344,42 +380,49 @@ mv "$base.ICM" "$base.icm" done copyright "(c) Copyright Okidata 2005, 2006" + puticm foo2hiperc ;; 301) gettgz \ http://foo2hiperc.rkkda.com/icm okic301.tar.gz \ "" copyright "(c) Copyright Okidata 2012" + puticm foo2hiperc ;; c310) gettgz \ http://foo2hiperc.rkkda.com/icm okic310.tar.gz \ "" copyright "(c) Copyright Okidata 2010" + puticm foo2hiperc ;; c810) gettgz \ http://foo2hiperc.rkkda.com/icm okic810.tar.gz \ "" copyright "(c) Copyright Okidata 2008" + puticm foo2hiperc ;; 3100|3200|5100|5150|5200|5250) gettgz \ http://foo2hiperc.rkkda.com/icm okic3200.tar.gz \ "" copyright "(c) Copyright Okidata 2005" + puticm foo2hiperc ;; 3300|3400|3530) gettgz \ http://foo2hiperc.rkkda.com/icm okic3400.tar.gz \ "" copyright "(c) Copyright Okidata 2006" + puticm foo2hiperc ;; 5500|5600|5800|160) gettgz \ http://foo2hiperc.rkkda.com/icm okic5600.tar.gz \ "" copyright "(c) Copyright Okidata 2006" + puticm foo2hiperc ;; xPPD) @@ -435,23 +478,6 @@ # | sed -e 's/\(^\*NickName.*\)"/\1 (foo2zjs recommended)"/' done ;; - update) - url=${URLZJS} - file=foo2zjs.tar.gz - wget $WGETOPTS -O $file $url/$file || - error "Couldn't download $url/$exefile" - mv getweb getweb.old - HERE=`pwd` - cd .. - tar zxf $HERE/$file - cd $HERE - echo "The tarball is extracted and the current directory is up to date." - echo -e "Remove the tarball (y/n)? \c" - read ans - if [ "$ans" = y ]; then - rm -f $file - fi - ;; "") usage ;; @@ -466,6 +492,10 @@ usage fi +OLDPWD=`pwd` +NEWPWD=`mktemp --tmpdir --directory foo2zjs.XXXXXX` +cd "$NEWPWD" + for i in $* do case "$1" in @@ -509,3 +539,6 @@ ;; esac done + +cd "$OLDPWD" +rmdir "$NEWPWD" debian/patches/10-makefile.patch0000664000000000000000000001516412276370602013647 0ustar Description: Patch the Makefiles This patch makes the Makefiles work correctly with LDFLAGS, Debian PREFIX usages, etc. Author: Steffen Joeris Author: Luca Capello Author: Didier Raboud Last-Update: 2014-01-07 --- a/Makefile +++ b/Makefile @@ -17,9 +17,7 @@ VERSION=0.0 # Installation prefix... -PREFIX=/usr/local PREFIX=/usr -PREFIX=$(DESTDIR)/usr # Pathnames for this package... BIN=$(PREFIX)/bin @@ -38,7 +36,7 @@ ROOT=root # Pathnames for referenced packages... -FOODB=$(DESTDIR)/usr/share/foomatic/db/source +FOODB=$(PREFIX)/share/foomatic/db/source # User ID's LPuid=-oroot @@ -450,32 +448,32 @@ foo2zjs: foo2zjs.o $(LIBJBG) - $(CC) $(CFLAGS) -o $@ foo2zjs.o $(LIBJBG) + $(CC) $(CFLAGS) -o $@ foo2zjs.o $(LIBJBG) $(LDFLAGS) foo2hp: foo2hp.o $(LIBJBG) - # $(CC) $(CFLAGS) -o $@ foo2hp.o $(LIBJBG) /usr/local/lib/libdmalloc.a - $(CC) $(CFLAGS) -o $@ foo2hp.o $(LIBJBG) + # $(CC) $(CFLAGS) -o $@ foo2hp.o $(LIBJBG) $(LDFLAGS) /usr/local/lib/libdmalloc.a + $(CC) $(CFLAGS) -o $@ foo2hp.o $(LIBJBG) $(LDFLAGS) foo2xqx: foo2xqx.o $(LIBJBG) - $(CC) $(CFLAGS) -o $@ foo2xqx.o $(LIBJBG) + $(CC) $(CFLAGS) -o $@ foo2xqx.o $(LIBJBG) $(LDFLAGS) foo2lava: foo2lava.o $(LIBJBG) - $(CC) $(CFLAGS) -o $@ foo2lava.o $(LIBJBG) + $(CC) $(CFLAGS) -o $@ foo2lava.o $(LIBJBG) $(LDFLAGS) foo2qpdl: foo2qpdl.o $(LIBJBG) - $(CC) $(CFLAGS) -o $@ foo2qpdl.o $(LIBJBG) + $(CC) $(CFLAGS) -o $@ foo2qpdl.o $(LIBJBG) $(LDFLAGS) foo2oak: foo2oak.o $(LIBJBG) - $(CC) $(CFLAGS) -o $@ foo2oak.o $(LIBJBG) + $(CC) $(CFLAGS) -o $@ foo2oak.o $(LIBJBG) $(LDFLAGS) foo2slx: foo2slx.o $(LIBJBG) - $(CC) $(CFLAGS) -o $@ foo2slx.o $(LIBJBG) + $(CC) $(CFLAGS) -o $@ foo2slx.o $(LIBJBG) $(LDFLAGS) foo2hiperc: foo2hiperc.o $(LIBJBG) - $(CC) $(CFLAGS) -o $@ foo2hiperc.o $(LIBJBG) + $(CC) $(CFLAGS) -o $@ foo2hiperc.o $(LIBJBG) $(LDFLAGS) foo2hbpl2: foo2hbpl2.o $(LIBJBG) - $(CC) $(CFLAGS) -o $@ foo2hbpl2.o $(LIBJBG) + $(CC) $(CFLAGS) -o $@ foo2hbpl2.o $(LIBJBG) $(LDFLAGS) foo2zjs-wrapper: foo2zjs-wrapper.in Makefile @@ -555,46 +553,46 @@ endif ok: ok.o $(LIBJBG) - $(CC) $(CFLAGS) ok.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) ok.o $(LIBJBG) -o $@ $(LDFLAGS) gipddecode: gipddecode.o $(LIBJBG) - $(CC) $(CFLAGS) gipddecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) gipddecode.o $(LIBJBG) -o $@ $(LDFLAGS) hbpldecode: hbpldecode.o $(LIBJBG) - $(CC) $(CFLAGS) hbpldecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) hbpldecode.o $(LIBJBG) -o $@ $(LDFLAGS) hipercdecode: hipercdecode.o $(LIBJBG) - $(CC) $(CFLAGS) hipercdecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) hipercdecode.o $(LIBJBG) -o $@ $(LDFLAGS) lavadecode: lavadecode.o $(LIBJBG) - $(CC) $(CFLAGS) lavadecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) lavadecode.o $(LIBJBG) -o $@ $(LDFLAGS) oakdecode: oakdecode.o $(LIBJBG) - $(CC) $(CFLAGS) -g oakdecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) -g oakdecode.o $(LIBJBG) -o $@ $(LDFLAGS) opldecode: opldecode.o $(LIBJBG) - $(CC) $(CFLAGS) -g opldecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) -g opldecode.o $(LIBJBG) -o $@ $(LDFLAGS) qpdldecode: qpdldecode.o $(LIBJBG) - $(CC) $(CFLAGS) qpdldecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) qpdldecode.o $(LIBJBG) -o $@ $(LDFLAGS) splcdecode: splcdecode.o $(LIBJBG) - $(CC) $(CFLAGS) splcdecode.o $(LIBJBG) -lz -o $@ + $(CC) $(CFLAGS) splcdecode.o $(LIBJBG) -lz -o $@ $(LDFLAGS) slxdecode: slxdecode.o $(LIBJBG) - $(CC) $(CFLAGS) slxdecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) slxdecode.o $(LIBJBG) -o $@ $(LDFLAGS) xqxdecode: xqxdecode.o $(LIBJBG) - $(CC) $(CFLAGS) xqxdecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) xqxdecode.o $(LIBJBG) -o $@ $(LDFLAGS) zjsdecode: zjsdecode.o $(LIBJBG) - $(CC) $(CFLAGS) zjsdecode.o $(LIBJBG) -o $@ + $(CC) $(CFLAGS) zjsdecode.o $(LIBJBG) -o $@ $(LDFLAGS) command2foo2lava-pjl: command2foo2lava-pjl.o - $(CC) $(CFLAGS) -L/usr/local/lib command2foo2lava-pjl.o -lcups -o $@ + $(CC) $(CFLAGS) -L/usr/local/lib command2foo2lava-pjl.o -lcups -o $@ $(LDFLAGS) command2foo2lava-pjl.o: command2foo2lava-pjl.c - $(CC) $(CFLAGS) -I/usr/local/include -c command2foo2lava-pjl.c + $(CC) $(CPPFLAGS) $(CFLAGS) -I/usr/local/include -c command2foo2lava-pjl.c # # Installation rules @@ -638,8 +636,6 @@ # -UDEVBIN=$(DESTDIR)/bin/ - install-prog: # # Install driver, wrapper, and development tools @@ -647,8 +643,7 @@ $(INSTALL) -d $(BIN) $(INSTALL) -c $(PROGS) $(SHELLS) $(BIN)/ if [ "$(BINPROGS)" != "" ]; then \ - $(INSTALL) -d $(UDEVBIN); \ - $(INSTALL) -c $(BINPROGS) $(UDEVBIN); \ + $(INSTALL) -c $(BINPROGS) $(BIN); \ fi # # Install gamma correction files. These are just templates, @@ -834,10 +829,10 @@ fi; \ done -MODEL=$(DESTDIR)/usr/share/cups/model -LOCALMODEL=$(DESTDIR)/usr/local/share/cups/model +MODEL=$(PREFIX)/share/cups/model +LOCALMODEL=$(PREFIX)/local/share/cups/model MACMODEL=/Library/Printers/PPDs/Contents/Resources -PPD=$(DESTDIR)/usr/share/ppd +PPD=$(PREFIX)/share/ppd VARPPD=/var/lp/ppd install-ppd: # @@ -895,9 +890,9 @@ done; \ fi -APPL=$(DESTDIR)/usr/share/applications -OLDAPPL=$(DESTDIR)/usr/share/gnome/apps/System -PIXMAPS=$(DESTDIR)/usr/share/pixmaps +APPL=$(PREFIX)/share/applications +OLDAPPL=$(PREFIX)/share/gnome/apps/System +PIXMAPS=$(PREFIX)/share/pixmaps install-desktop: # @@ -1029,6 +1024,7 @@ install-filter: if [ "$(CUPS_SERVERBIN)" != "" ]; then \ + mkdir -p $(CUPS_SERVERBIN)/filter/; \ ln -sf $(BIN)/command2foo2lava-pjl $(CUPS_SERVERBIN)/filter/; \ fi @@ -1412,10 +1408,9 @@ *) driver=foo2zjs;; \ esac; \ echo $$driver - $$printer; \ - ENGINE=../foomatic/foomatic-db-engine; \ PERL5LIB=$$ENGINE/lib \ FOOMATICDB=foomatic-db \ - $$ENGINE/foomatic-ppdfile \ + /usr/bin/foomatic-ppdfile \ -d $$driver -p $$printer \ > PPD/$$printer.ppd; \ done @@ -1844,7 +1839,7 @@ misc: pksm2bitcmyk phorum-logo.gif pksm2bitcmyk: pksm2bitcmyk.c - $(CC) $(CFLAGS) pksm2bitcmyk.c -lnetpbm -o $@ + $(CC) $(CFLAGS) pksm2bitcmyk.c -lnetpbm -o $@ $(LDFLAGS) phorum-logo.gif: archhp.fig fig2dev -L gif -m.25 archhp.fig | giftrans -t "#ffffff" -o $@ --- a/icc2ps/Makefile +++ b/icc2ps/Makefile @@ -9,7 +9,7 @@ LIB= cmscam97.c cmscnvrt.c cmserr.c cmsgamma.c cmsgmt.c cmsintrp.c cmsio1.c \ cmslut.c cmsmatsh.c cmsmtrx.c cmsnamed.c cmspack.c cmspcs.c cmsps2.c \ cmssamp.c cmswtpnt.c cmsxform.c cmsio0.c cmsvirt.c -CFLAGS= -O3 +CFLAGS+= -O3 INSTALL=install ifeq ($(UNAME),SunOS) INSTALL=/usr/ucb/install @@ -21,7 +21,7 @@ all: foo2zjs-icc2ps man foo2zjs-icc2ps: $(SRC) $(LIB) - $(CC) $(CFLAGS) $(SRC) $(LIB) -lm -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(SRC) $(LIB) -lm -o $@ $(LDFLAGS) install: all $(INSTALL) -c foo2zjs-icc2ps $(BIN) debian/patches/20-honour-papersize.patch0000664000000000000000000000203512276370602015376 0ustar Support /etc/papersize NB, this is now done in debian/rules, so it will automatically apply to every new wrapper script which gets added to this package in the future. The patch should however not be deleted, so it does show up when looking at the differences with upstream. --- foo2zjs_20100728.orig/foo2hp2600-wrapper.in +++ foo2zjs_20100728/foo2hp2600-wrapper.in @@ -204,7 +204,8 @@ MEDIA=1 COPIES=1 -PAPER=1 +test -r /etc/papersize && PAPER=$(cat /etc/papersize) +test "$PAPER" || PAPER=1 RES=600x600 SOURCE=7 NUP= --- foo2zjs_20100728.orig/foo2oak-wrapper.in +++ foo2zjs_20100728/foo2oak-wrapper.in @@ -160,7 +160,8 @@ QUALITY=wts MEDIA=1 COPIES=1 -PAPER=1 +test -r /etc/papersize && PAPER=$(cat /etc/papersize) +test "$PAPER" || PAPER=1 RES=600x600 SOURCE=7 NUP= --- foo2zjs_20100728.orig/foo2zjs-wrapper.in +++ foo2zjs_20100728/foo2zjs-wrapper.in @@ -194,7 +194,8 @@ QUALITY=wts MEDIA=1 COPIES=1 -PAPER=1 +test -r /etc/papersize && PAPER=$(cat /etc/papersize) +test "$PAPER" || PAPER=1 RES=1200x600 SOURCE=7 NUP= debian/patches/40-desktop-nodisplay-true.patch0000664000000000000000000000031412276370602016512 0ustar Do not display the icon by default (see #579154) --- a/hplj1020.desktop +++ b/hplj1020.desktop @@ -9,3 +9,4 @@ StartupNotify=true Categories=System; X-Desktop-File-Install-Version=0.10 +NoDisplay=true debian/patches/60-hplj1000.patch0000664000000000000000000000456712276370602013342 0ustar Use the same firmware folder for all HP LJ printers --- a/hplj1000 +++ b/hplj1000 @@ -89,37 +89,31 @@ MODEL=P1005; FWMODEL=$MODEL USB1=0x03f0 #Vendor USB2=0x3d17 #Model - FWDIR=/usr/share/foo2xqx/firmware ;; *P1006) MODEL=P1006; FWMODEL=$MODEL USB1=0x03f0 #Vendor USB2=0x3e17 #Model - FWDIR=/usr/share/foo2xqx/firmware ;; *P1007) MODEL=P1007; FWMODEL=P1005 # Alias USB1=0x03f0 #Vendor USB2=0x4817 #Model - FWDIR=/usr/share/foo2xqx/firmware ;; *P1008) MODEL=P1008; FWMODEL=P1006 # Alias USB1=0x03f0 #Vendor USB2=0x4917 #Model - FWDIR=/usr/share/foo2xqx/firmware ;; *P1505) MODEL=P1505; FWMODEL=$MODEL USB1=0x03f0 #Vendor USB2=0x3f17 #Model - FWDIR=/usr/share/foo2xqx/firmware ;; *P1505n) MODEL=P1505n; FWMODEL=$MODEL USB1=0x03f0 #Vendor USB2=0x4017 #Model - FWDIR=/usr/share/foo2xqx/firmware ;; *1000) MODEL=1000; FWMODEL=$MODEL --- a/hplj10xx.conf +++ b/hplj10xx.conf @@ -15,35 +15,35 @@ attach 100 { match "vendor" "0x03f0"; match "product" "0x3d17"; - action "cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/$device-name"; + action "cat /lib/firmware/hp/sihpP1005.dl > /dev/$device-name"; }; # Firmware download HP LaserJet P1006 printer attach 100 { match "vendor" "0x03f0"; match "product" "0x3e17"; - action "cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/$device-name"; + action "cat /lib/firmware/hp/sihpP1006.dl > /dev/$device-name"; }; # Firmware download HP LaserJet P1007 printer attach 100 { match "vendor" "0x03f0"; match "product" "0x4817"; - action "cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/$device-name"; + action "cat /lib/firmware/hp/sihpP1005.dl > /dev/$device-name"; }; # Firmware download HP LaserJet P1008 printer attach 100 { match "vendor" "0x03f0"; match "product" "0x4917"; - action "cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/$device-name"; + action "cat /lib/firmware/hp/sihpP1006.dl > /dev/$device-name"; }; # Firmware download HP LaserJet P1505 printer attach 100 { match "vendor" "0x03f0"; match "product" "0x3f17"; - action "cat /usr/share/foo2xqx/firmware/sihpP1505.dl > /dev/$device-name"; + action "cat /lib/firmware/hp/sihpP1505.dl > /dev/$device-name"; }; # Firmware download HP LaserJet 1000 printer debian/patches/30-udev-rules.patch0000664000000000000000000000750412276370602014166 0ustar Description: Correct the udev rules: a) remove KERNEL=="lp*", as usblp is now blacklisted by CUPS (it will work without CUPS too). b) Replace paths: /etc/hotplug/usb/ by no path, as the binaries are shipped in /lib/udev/ c) Drop the MODE specification Author: Luca Capello Author: Didier Raboud Last-Update: 2014-01-07 --- a/hplj10xx.rules +++ b/hplj10xx.rules @@ -2,38 +2,42 @@ # hplj10xx.rules.old: udev equal or after 1.30 # #Own udev rule for HP Laserjet 1000 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="hp LaserJet 1000", NAME="usb/%k", \ - SYMLINK+="hplj1000-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1000" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="hp LaserJet 1000", \ + SYMLINK+="hplj1000-%n", RUN+="hplj1000" #Own udev rule for HP Laserjet 1005 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="hp LaserJet 1005 series", NAME="usb/%k", \ - SYMLINK+="hplj1005-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1005" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="hp LaserJet 1005 series", \ + SYMLINK+="hplj1005-%n", RUN+="hplj1005" #Own udev rule for HP Laserjet 1018 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="HP LaserJet 1018", NAME="usb/%k", \ - SYMLINK+="hplj1018-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1018" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="HP LaserJet 1018", \ + SYMLINK+="hplj1018-%n", RUN+="hplj1018" #Own udev rule for HP Laserjet 1020 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="HP LaserJet 1020", NAME="usb/%k", \ - SYMLINK+="hplj1020-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1020" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="HP LaserJet 1020", \ + SYMLINK+="hplj1020-%n", RUN+="hplj1020" #Own udev rule for HP Laserjet P1005 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="HP LaserJet P1005", NAME="usb/%k", \ - SYMLINK+="hpljP1005-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1005" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="HP LaserJet P1005", \ + SYMLINK+="hpljP1005-%n", RUN+="hpljP1005" #Own udev rule for HP Laserjet P1006 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="HP LaserJet P1006", NAME="usb/%k", \ - SYMLINK+="hpljP1006-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1006" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="HP LaserJet P1006", \ + SYMLINK+="hpljP1006-%n", RUN+="hpljP1006" #Own udev rule for HP Laserjet P1007 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="HP LaserJet P1007", NAME="usb/%k", \ - SYMLINK+="hpljP1007-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1007" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="HP LaserJet P1007", \ + SYMLINK+="hpljP1007-%n", RUN+="hpljP1007" #Own udev rule for HP Laserjet P1008 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="HP LaserJet P1008", NAME="usb/%k", \ - SYMLINK+="hpljP1008-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1008" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="HP LaserJet P1008", \ + SYMLINK+="hpljP1008-%n", RUN+="hpljP1008" #Own udev rule for HP Laserjet P1505 -KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ - ATTRS{product}=="HP LaserJet P1505", NAME="usb/%k", \ - SYMLINK+="hpljP1505-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1505" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="HP LaserJet P1505", \ + SYMLINK+="hpljP1505-%n", RUN+="hpljP1505" +#Own udev rule for HP Laserjet P1505n +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", \ + ATTRS{product}=="HP LaserJet P1505n", \ + SYMLINK+="hpljP1505n-%n", RUN+="hpljP1505n" debian/patches/96-hplj1000-fix-cups-usb-backend-firmware-upload.patch0000664000000000000000000000250712276370602022347 0ustar Description: The firmware upload script tried to upload the firmware via the usblp kernel module and with the CUPS USB backend (using libusb) in parallel, making the printer crash. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1003843 Author: Till Kamppeter Last-Update: 2013-02-21 --- a/hplj1000 +++ b/hplj1000 @@ -261,8 +261,14 @@ # force downloading to a specific device # load_usblp "$DEV" -elif [ -x $PRINTERID -o -x $USB_BACKEND ]; then - if [ -x $PRINTERID ]; then +elif [ -x $USB_BACKEND ]; then + # + # If we have CUPS installed, use the CUPS "usb" backend, as then we do + # not need to care whether the system uses the usblp kernel module or + # libusb + # + load_cups +elif [ -x $PRINTERID ]; then # # Sniff around for printers that need a firmware download # @@ -281,20 +287,6 @@ fi fi done - if [ "$usblps" != " " ]; then - # All done! - exit - fi - fi - - if [ -x $USB_BACKEND ]; then - # - # If we have CUPS installed, use the CUPS "usb" backend, as then we do - # not need to care whether the system uses the usblp kernel module or - # libusb - # - load_cups - fi else log "HP LaserJet $MODEL firmware was not downloaded..." log "...couldn't find $PRINTERID, DEV is not set, and CUPS not installed." debian/patches/92-udev-firmware-script-fixes.patch0000664000000000000000000000104712276370602017272 0ustar Delay firmware transfer for UDEV automatic printer setup --- a/hplj1000 +++ b/hplj1000 @@ -32,6 +32,15 @@ PROGNAME="$0" # +# Wait some time before installing the firmware so that probing for +# automatic printer setup which happens immediately after turning on +# the printer does not interfere with the firmware transfer to the +# printer +# https://bugs.launchpad.net/ubuntu/+source/foo2zjs/+bug/543177 +# +sleep 3 + +# # Set $DEV to, e.g. /dev/usb/lp0, to force the device you want # Else, leave it null to automatically detect the device # debian/rules0000775000000000000000000001064212276370602010260 0ustar #!/usr/bin/make -f derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no") DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) %: dh $@ override_dh_auto_build: cp printer-profile.in printer-profile dh_auto_build -- all ppd override_dh_auto_install: dh_auto_install -- PREFIX=$(CURDIR)/debian/tmp/usr MODEL=$(CURDIR)/debian/tmp/usr/share/cups/model FOODB=$(CURDIR)/debian/tmp/usr/share/foomatic/db/source PPD=$(CURDIR)/debian/tmp/usr/share/ppd CUPS_SERVERBIN=$(CURDIR)/debian/tmp/usr/lib/cups DOCDIR=$(CURDIR)/debian/tmp/usr/share/doc/printer-driver-foo2zjs override_dh_install: ### patches/20-honour-papersize.patch # Add support for /etc/papersize to all wrapper scripts. In contrary # to a patch this will automatically apply to every new wrapper script # which gets added to this package in the future. perl -p -i -e 's/^PAPER=(\d+)\s*$$/test -r \/etc\/papersize && PAPER=\x24\(cat \/etc\/papersize\)\ntest "\x24PAPER" || PAPER=\1\n/' $(CURDIR)/debian/tmp/usr/bin/*-wrapper # Add "-dNOINTERPOLATE" to the Ghostscript command lines to make # Ghostscript rendering the pages significantly faster perl -p -i -e 's/dNOPAUSE/dNOPAUSE -dNOINTERPOLATE/g' $(CURDIR)/debian/tmp/usr/bin/*-wrapper # Legacy dh_install dh_install --fail-missing \ -Xusb_printerid \ -Xhplj10xx.rules \ -XINSTALL \ -XINSTALL.OSX \ -XCOPYING \ -XChangeLog \ -Xcups/filter/command2foo2lava-pjl ifneq (,$(filter printer-driver-foo2zjs, $(shell dh_listpackages))) ifeq ($(DEB_HOST_ARCH_OS),linux) # usb_printerid is Linux-specific install -D -m 644 usb_printerid $(CURDIR)/debian/printer-driver-foo2zjs/usr/bin/usb_printerid install -D -m 644 usb_printerid.1 $(CURDIR)/debian/printer-driver-foo2zjs-common/usr/share/man/man1/usb_printerid.1 # Use a policy-numbered name for the Linux-specific udev rules file install -D -m 644 hplj10xx.rules $(CURDIR)/debian/printer-driver-foo2zjs/lib/udev/rules.d/85-hplj10xx.rules endif ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) # /etc/devd/hplj10xx.conf is kFreeBSD-specific install -D -m 644 hplj10xx.conf $(CURDIR)/debian/printer-driver-foo2zjs/etc/devd/hplj10xx.conf endif endif ifneq (,$(filter printer-driver-foo2zjs-common, $(shell dh_listpackages))) ### patches/20-PDF-input-data-in-PPDs.patch # Add "*cupsFilter" line to accept PDF input data to the PPDs and compress them ( cd $(CURDIR)/debian/printer-driver-foo2zjs-common/usr/share/ppd/foo2zjs; \ find -name '*.ppd.gz' -exec gunzip {} \; ; \ find -name '*.ppd' -exec perl -p -i -e 's,^\*cupsFilter:\s*\"application/vnd.cups-postscript\s+0\s+foomatic-rip\",*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip"\n*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip",' {} \; ; \ ) # Correct the name of the pyppd-compressed PPD set to correspond to the earlier ppd-updater driver name dh_pyppd --archive-filename=foo2zjs endif # Install the apport hook on Ubuntu and derivatives ifeq ($(derives_from_ubuntu),yes) install -D -m 644 debian/ubuntu/apport-hook.py $(CURDIR)/debian/printer-driver-foo2zjs/usr/share/apport/package-hooks/source_foo2zjs.py endif override_dh_auto_test: # Run the tests in non-failing mode (they fail…) - dh_auto_test override_dh_compress: dh_compress -X.pdf override_dh_gencontrol: ifeq ($(derives_from_ubuntu),yes) # Ubuntu considers mscompress to be a Depends of printer-driver-foo2zjs echo "ubuntu:mscompress=mscompress" >> debian/printer-driver-foo2zjs.substvars else # Debian considers mscompress to be a Recommends of printer-driver-foo2zjs echo "debian:mscompress=mscompress" >> debian/printer-driver-foo2zjs.substvars endif dh_gencontrol override_dh_auto_clean: dh_auto_clean - rm -f 85-hplj10xx.rules UPSTREAM_VERSION ?= `date +%Y%m%d` get-orig-source: - quilt pop -af ; rm -Rf .pc git checkout -f upstream wget -O ../foo2zjs_$(UPSTREAM_VERSION).orig.tar.gz 'http://foo2zjs.rkkda.com/foo2zjs.tar.gz' git import-orig --no-pristine-tar --upstream-version=$(UPSTREAM_VERSION) --no-merge --upstream-branch=upstream-nodfsg ../foo2zjs_$(UPSTREAM_VERSION).orig.tar.gz git merge upstream/$(UPSTREAM_VERSION) git tag upstream/$(UPSTREAM_VERSION)dfsg0 git archive --format=tar --prefix=foo2zjs-$(UPSTREAM_VERSION)dfsg0/ upstream/$(UPSTREAM_VERSION)dfsg0 | xz -6e > ../foo2zjs_$(UPSTREAM_VERSION)dfsg0.orig.tar.xz pristine-tar commit ../foo2zjs_$(UPSTREAM_VERSION)dfsg0.orig.tar.xz upstream/$(UPSTREAM_VERSION)dfsg0 git checkout -f master git merge upstream/$(UPSTREAM_VERSION)dfsg0 debian/printer-driver-foo2zjs-common.ppd-updater0000664000000000000000000000007212276370602017177 0ustar DRIVER_REGEXP='^foo2zjs:' GENNICKNAME_REGEXP='s/-z\d\b//' debian/ubuntu/0000775000000000000000000000000012276370602010517 5ustar debian/ubuntu/apport-hook.py0000664000000000000000000000032712276370602013336 0ustar '''apport package hook for foo2zjs (c) 2009 Canonical Ltd. Author: Brian Murray ''' from apport.hookutils import * def add_info(report): attach_hardware(report) attach_printing(report) debian/printer-driver-foo2zjs.lintian-overrides0000664000000000000000000000206012276370602017121 0ustar # That's on purpose, getweb can go fetch these from the web package-contains-empty-directory lib/firmware/hp/ # Manpages are shipped in printer-driver-foo2zjs-common binary-without-manpage usr/bin/arm2hpdl binary-without-manpage usr/bin/foo2hbpl2 binary-without-manpage usr/bin/foo2hiperc binary-without-manpage usr/bin/foo2hp binary-without-manpage usr/bin/foo2lava binary-without-manpage usr/bin/foo2oak binary-without-manpage usr/bin/foo2qpdl binary-without-manpage usr/bin/foo2slx binary-without-manpage usr/bin/foo2xqx binary-without-manpage usr/bin/foo2zjs binary-without-manpage usr/bin/foo2zjs-icc2ps binary-without-manpage usr/bin/gipddecode binary-without-manpage usr/bin/hbpldecode binary-without-manpage usr/bin/hipercdecode binary-without-manpage usr/bin/lavadecode binary-without-manpage usr/bin/oakdecode binary-without-manpage usr/bin/opldecode binary-without-manpage usr/bin/qpdldecode binary-without-manpage usr/bin/slxdecode binary-without-manpage usr/bin/usb_printerid binary-without-manpage usr/bin/xqxdecode binary-without-manpage usr/bin/zjsdecode debian/printer-driver-foo2zjs.install0000664000000000000000000000065312276370602015137 0ustar usr/bin/arm2hpdl usr/bin/foo2hiperc usr/bin/foo2hbpl2 usr/bin/foo2hp usr/bin/foo2lava usr/bin/foo2oak usr/bin/foo2qpdl usr/bin/foo2slx usr/bin/foo2xqx usr/bin/foo2zjs usr/bin/foo2zjs-icc2ps usr/bin/gipddecode usr/bin/hbpldecode usr/bin/hipercdecode usr/bin/lavadecode usr/bin/oakdecode usr/bin/opldecode usr/bin/qpdldecode usr/bin/slxdecode usr/bin/xqxdecode usr/bin/zjsdecode usr/bin/command2foo2lava-pjl usr/lib/cups/filter/ debian/printer-driver-foo2zjs.postinst0000664000000000000000000000037512276370602015355 0ustar #!/bin/sh set -e if [ "$1" = configure ]; then # Move user-downloaded firmware files if ls /usr/share/foo2zjs/firmware/*.dl >/dev/null 2>/dev/null; then mv /usr/share/foo2zjs/firmware/*.dl /lib/firmware/hp/ 2>/dev/null fi fi #DEBHELPER# debian/printer-driver-foo2zjs.links0000664000000000000000000000051312276370602014604 0ustar lib/udev/hplj1000 lib/udev/hplj1005 lib/udev/hplj1000 lib/udev/hplj1018 lib/udev/hplj1000 lib/udev/hplj1020 lib/udev/hplj1000 lib/udev/hpljP1005 lib/udev/hplj1000 lib/udev/hpljP1006 lib/udev/hplj1000 lib/udev/hpljP1007 lib/udev/hplj1000 lib/udev/hpljP1008 lib/udev/hplj1000 lib/udev/hpljP1505 lib/udev/hplj1000 lib/udev/hpljP1505n debian/changelog0000664000000000000000000010517212300762705011052 0ustar foo2zjs (20140209dfsg0-1ubuntu1) trusty; urgency=medium [ Matthias Klose ] * printer-driver-foo2zjs-common: Suggest tix instead of recommending it. -- Till Kamppeter Tue, 18 Feb 2013 23:59:59 +0100 foo2zjs (20140209dfsg0-1) unstable; urgency=medium * New 20140209 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Use dh_pyppd's --archive-filename option instead of renaming the archive by hand * Refresh patches, update the spelling fixes' * Bump Standards-Version to 3.9.5 without changes needed -- Didier Raboud Tue, 11 Feb 2014 09:57:22 +0100 foo2zjs (20131225dfsg0-6) unstable; urgency=low * Move the ppd-updater cups trigger to -common, where it belongs -- Didier Raboud Fri, 10 Jan 2014 11:24:02 +0100 foo2zjs (20131225dfsg0-5) unstable; urgency=low * Add dh_listpackage package conditionals to fix arch-only FTBFS * Add lintian override for manpages not shipped in the same binary package -- Didier Raboud Fri, 10 Jan 2014 10:12:49 +0100 foo2zjs (20131225dfsg0-4) unstable; urgency=low * Correct the name of the pyppd-compressed PPD set to correspond to the earlier ppd-updater driver name, thanks to Till Kamppeter * Let printer-driver-foo2zjs-common Recommend printer-driver-foo2zjs -- Didier Raboud Thu, 09 Jan 2014 22:32:17 +0100 foo2zjs (20131225dfsg0-3) unstable; urgency=low * Fix the patch to avoid the implicit declaration of swab() in cmsio1.c -- Didier Raboud Wed, 08 Jan 2014 12:52:44 +0100 foo2zjs (20131225dfsg0-2) unstable; urgency=low * Split printer-driver-foo2zjs into -common to let all arch-independent files be shared across architectures * Fix leftover 'supress' typo in oakdecode -- Didier Raboud Tue, 07 Jan 2014 17:44:09 +0100 foo2zjs (20131225dfsg0-1) unstable; urgency=low * New 20131325 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Refresh all patches * Add patch to avoid the implicit declaration of swab() in cmsio1.c * Update Makefile patch to push CPPFLAGS and LDFLAGS to all needed places * Move getweb from usr/bin/ to usr/sbin/ as it needs to be run by root (as patched by Debian) * Stop installing the upstream changelog twice * Update 90-manpages patch to fix more errors and all hyphen-as-minus- sign occurences * Update 91-spelling-fixes to fix more occurences of 'langauge' or 'similiar' * Move hplj1000 and all linked scripts from /usr/sbin/ to /lib/udev as they are called by the package udev rules-file * Add lintian override for /lib/firmware/hp empty directory * Only ship command2foo2lava-pjl in cups filters -- Didier Raboud Tue, 07 Jan 2014 15:43:17 +0100 foo2zjs (20131118dfsg0-1) unstable; urgency=low * New 20131118 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Update patches to cope with new upstream release * Drop foo2zjs transitional package which reached stable -- Didier Raboud Fri, 29 Nov 2013 18:30:05 +0100 foo2zjs (20130813dfsg0-1) unstable; urgency=low * New 20130813 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Don't block the get-orig-source if no patches are applied * Rebuild against pyppd >= 1.0.1 * Refresh patches for new upstream release -- Didier Raboud Thu, 12 Sep 2013 20:31:55 +0200 foo2zjs (20130513dfsg0-1) unstable; urgency=low * New 20130513 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear -- Didier Raboud Fri, 17 May 2013 11:21:27 +0200 foo2zjs (20130306dfsg0-2) experimental; urgency=low [ Till Kamppeter ] * Removed "Recommends: foomatic-db-engine" (LP: #1152831) -- Didier Raboud Sat, 09 Mar 2013 12:43:40 +0100 foo2zjs (20130306dfsg0-1) experimental; urgency=low * New 20130306 upstream release. - Cleanup on foo2hblp2. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Amend 20130220dfsg0-2 changelog entry to revert the Depends/Recommends explanation between Ubuntu and Debian back to what was implemented. * Add get-orig-source target to facilitate new upstream version import. * Add foo2hblp2 in Description. -- Didier Raboud Fri, 08 Mar 2013 15:13:33 +0100 foo2zjs (20130303dfsg0-1) experimental; urgency=low * New 20130303 upstream release. (LP: #984424) - Experimental support for three new printers: - Fuji Xerox DocuPrint CP205 - Dell 1355 - Xerox WorkCentre 6015 - Refresh all patches - Add foo2hbpl2 binary, wrapper and manpages * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Rewrite the package content installation to allow the use of --fail-missing in dh_install. * Install all available PPDs before the pyppd run, to make sure we don't forget one. * Rewrite debian/copyright with Copyright-Format 1.0 style. * Rebuild PPDs because we can. - Add foomatic-db-engine to Build-Depends; - Update 10-makefile.patch to use system-provided foomatic-ppdfile; - Run 'all' and 'ppd' Makefile targets. -- Didier Raboud Tue, 05 Mar 2013 10:37:06 +0100 foo2zjs (20130220dfsg0-2) experimental; urgency=low [ Didier Raboud ] * Add time to Build-Depends, helps getting the tests run further. * Update 10-makefile.patch to enforce LDFLAGS usage and another case of CFLAGS overriding; also add DEP-3 headers. * Put mscompress to Recommends on Debian and to Depends on Ubuntu and derivatives, drops the need of a hand-merge by Ubuntu. [ Till Kamppeter ] * Add 96-hplj1000-fix-cups-usb-backend-firmware-upload.patch. The firmware upload script tried to upload the firmware via the usblp kernel module and with the CUPS USB backend (using libusb) in parallel, making the printer crash. (LP: #1003843) -- Didier Raboud Thu, 21 Feb 2013 18:32:51 +0100 foo2zjs (20130220dfsg0-1) experimental; urgency=low * New 20130220 upstream release. (LP: #1130918) - Install new printer's PPDs * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Refresh all patches. -- Didier Raboud Thu, 21 Feb 2013 08:29:02 +0100 foo2zjs (20130113dfsg0-1) experimental; urgency=low * New 20130113 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Refresh all patches. -- Didier Raboud Sun, 13 Jan 2013 17:01:27 +0100 foo2zjs (20120510dfsg0-1) unstable; urgency=low * New 20120510 upstream release. - Acknowledge the expiration of the JBIG-KIT patent. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Refresh patches. * Drop the source lintian override for debhelper 9. -- Didier Raboud Wed, 23 May 2012 17:59:07 +0200 foo2zjs (20120223dfsg0-2) unstable; urgency=low * Use the Debian-provided libjbig: - Add libjbig-dev to Build-Depends; - Add 20-system-libjbig.patch. * Bump Standards-Version to 3.9.3 without changes needed. * Bump debhelper Build-Dependency to 9. -- Didier Raboud Thu, 26 Apr 2012 10:22:26 +0200 foo2zjs (20120223dfsg0-1) unstable; urgency=low * New 20120223 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Refresh patches. * Remove Michael Koch from the Uploaders field (Closes: #654017) * Ship the devd hplj10xx.conf on kFreeBSD. (Closes: #662146) * Ship the udev rules file on Linux only. -- Didier Raboud Sun, 04 Mar 2012 21:22:28 +0100 foo2zjs (20111202dfsg0-1) unstable; urgency=low * New 20111202 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Refresh patches. * Bump Build-Depends on pyppd to 0.4.9-6~ to make sure the compressed PPD archive is named correctly. -- Didier Raboud Fri, 23 Dec 2011 10:10:24 +0100 foo2zjs (20111023dfsg0-1) unstable; urgency=low * New 20111023 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Refresh patches, delete 96-udev-firmware-script-cups-libusb-support.patch: included upstream. * Rename foo2zjs to printer-driver-foo2zjs, add transitional package. * Bump debhelper compat to 9, for auto- buildflags. * Drop superflous ppd-updater shebang. -- Didier Raboud Tue, 25 Oct 2011 11:52:45 +0200 foo2zjs (20110811dfsg-1) unstable; urgency=low * New 20110811 upstream release. * DFSG repack (no changes from previous releases). - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Replace the PPD-updater postinst code by CUPS' trigger. - Breaks against too old cups versions. - Add a ppd-updater file, to trigger with parameters. * Compress PPDs using {dh_,}pyppd. - Add versioned pyppd Build-Depends. - Call dh_pyppd after installing the PPDs, don't compress them individually. - Update the ppd-updater file with the new regexp. -- Didier Raboud Thu, 18 Aug 2011 14:00:20 +0200 foo2zjs (20110722dfsg-3) unstable; urgency=low * Update 60-getweb.in.patch to add set -e (Closes: #633870 again). -- Didier Raboud Tue, 26 Jul 2011 23:27:03 +0200 foo2zjs (20110722dfsg-2) unstable; urgency=low * Install usb_printerid and its manpage only in Linux (Closes: #635397). -- Didier Raboud Tue, 26 Jul 2011 15:09:41 +0200 foo2zjs (20110722dfsg-1) unstable; urgency=low New 20110525 upstream release. [ Didier Raboud ] * DFSG repack - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * Uploaders: - Add myself. - Drop Steffen Joeris, with thanks for his past work. * Package relationships: - Demote cups and cups-client from Depends to Recommends (Closes: #622125). This allows one to use foo2zjs with lprng. - Add a Recommends on mscompress. * Patches: - Refresh all. - Update 30-udev-rules patch to cope with cups' usblp blacklisting. - Add 40-desktop-direct-launch.patch to remove the superfluous "wish" launch (avoids a lintian warning). - Update debian/patches/60-getweb.in.patch: Fix CVE-2011-2684 "Insecure Temporary File" (CWE-277) in /usr/bin/getweb by creating a safe temporary directory with mktemp. (Closes: #633870, LP: #805370) - Enhance 60-getweb.in.patch to forbid live update of /usr/bin/getweb as it is packaged. Also correct the typo in getweb. (Closes: #632680) - Update 60-hplj1000.patch to use the correct paths in kFreeBSD too. - Update 90-manpages.patch to fix more hyphen-used-as-minus mistakes. - Add 91-spelling-fixes.patch to fix 'precission' spelling mistake. * Convert to source format 3.0 (quilt) * Convert packaging to "tiny" dh7 style. * Migrate packaging to Git from Subversion, update Vcs-* fields. * Bump Standards-Version to 3.9.2 without changes needed. [ Till Kamppeter ] * debian/rules: Added "-dNOINTERPOLATE" to the Ghostscript command lines to make Ghostscript rendering the pages significantly faster. * debian/patches/96-udev-firmware-script-cups-libusb-support.patch: Added support for uploading firmwae into printers using the USB backend of CUPS. This way the firmware upload also works without the usblp kernel module. (Closes: #630227, #630228) * debian/patches/95-udev-firmware-script-no-hplip-rules-removal.patch: Removed the lines in the UDEV script for the automatic firmware upload into the printer which remove the UDEV rules files for HPLIP's automatic firmware upload. (LP: #783389) -- Didier Raboud Mon, 25 Jul 2011 17:53:17 +0200 foo2zjs (20110210dfsg-2) unstable; urgency=low [ Luca Capello ] * debian/README.Debian: + rephrase paragraph about "HPLJ 10xx Replaced Paper" icon. [ Till Kamppeter ] * Merge from Ubuntu natty. * debian/patches/series: update. * debian/patches/40-desktop-nodisplay-true.patch: + do not display the "HPLJ 10xx Replaced Paper" icon by default (see #579154). * debian/rules: + install Apport hook on Ubuntu and derivatives. * debian/ubuntu/apport-hook.py: new file. -- Luca Capello Wed, 30 Mar 2011 23:20:11 +0200 foo2zjs (20110210dfsg-1) unstable; urgency=low * Move to team maintenance: Debian Printing Team at http://wiki.debian.org/Teams/Printing [ Luca Capello ] * New upstream version (Closes: #594322). * DFSG repack - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * debian/control: + team maintenance. + Build-Depends: on dc. * debian/foo2zjs.dirs: + add /usr/lib/cups/filter/. * debian/foo2zjs-icc2ps.1: - remove, upstream now ships a different version. * debian/manpages: - remove, now useless. * debian/patches/series: update. * debian/patches/20-honour-papersize.patch: + add a note that this patch is now useless, given that starting with this version it is done in debian/rules. * debian/patches/20-PDF-input-data-in-PPDs.patch: + fake patch to show differences with upstream, it is done in debian/rules. * debian/patches/40-desktop-encoding-correction.patch, debian/patches/60-getweb.in.patch: + Update to work with new foo2zjs source. * debian/rules: + add pointers to the patches above. [ Till Kamppeter ] * Merge from Ubuntu maverick. * debian/control: + Add dependency on cups and cups-client to ensure that automatic update of the PPDs of existing print queues works. * debian/foo2zjs.postinst: + Automatically update the PPD files for existing queues to the versions supplied with this package. * debian/patches/20-honour-papersize.patch, debian/patches/30-udev-rules.patch, debian/patches/70-lib-firwmare-hp.patch, debian/patches/80-getweb.in.patch, debian/patches/90-manpages.patch: + Update to work with new foo2zjs source. * debian/patches/60-getweb.in.patch: + Install ICM files into the directories of the correct drivers. * debian/rules: + Add "CUPS_SERVERBIN=..." to the "make install" command line. + Add "*cupsFilter" line to accept PDF input data to the PPDs. + Add /etc/papersize support. + Add useful comments. + Correct upstream link to the CUPS filter. + Install additional PPDs and compress them. [ Steve Langasek ] * Merge from Ubuntu maverick. * debian/patches/30-udev-rules.dpatch: + Add udev rule for HP Laserjet P1505n. -- Luca Capello Sun, 20 Feb 2011 19:19:18 +0100 foo2zjs (20090908dfsg-5.1) unstable; urgency=low * Non-maintainer upload. * debian/control: + Depends: on dc (Closes: #609761). -- Didier Raboud Wed, 12 Jan 2011 14:49:08 +0100 foo2zjs (20090908dfsg-5) unstable; urgency=low [ Luca Capello ] * debian/README.Debian: + add a note about the "HPLJ 10xx Replaced Paper" GUI requiring tk8.4 and tix, now Suggests:. * debian/control: + Standards-Version to 3.9.1, no changes needed, thanks to lintian. * debian/copyright: + add information for cups.h (from the CUPS Imaging library). + add information for msexpand (Perl, no relationship with the one from the mscompress package). - remove obsolete information for hannah-foo2zjs. [ Till Kamppeter ] * Merge from Ubuntu maverick. * debian/control: + Depends: on foomatic-filters. * debian/patches/series: update. * debian/patches/92-udev-firmware-script-fixes.patch: + When loading firmware into the printer via UDEV script, wait 3 seconds, so that UDEV scripts for automatic printer setup do not interfere with the firmware transfer to the printer. [ Steve Langasek ] * Merge from Ubuntu maverick. * debian/control: - Drop tk8.4 and tix Recommends: to Suggests: (Closes: #601591). -- Luca Capello Sun, 14 Nov 2010 19:45:26 +0100 foo2zjs (20090908dfsg-4) unstable; urgency=low * debian/control: + list all the provided drivers for better searching, thanks to Sam Morris (Closes: #579962). * debian/foo2zjs.doc-base: + new file to register the documentation via doc-base, thanks to lintian. * debian/NEWS: + add trailing blank line for apt-listchanges, thanks to lintian. * debian/README.Debian: + add paragraph titles. + add paragraph about "HPLJ 10xx Replaced Paper" icon (see #579154). * debian/source/format: + new file, keep 1.0 format for now, thanks to lintian. -- Luca Capello Sat, 15 May 2010 19:21:25 +0200 foo2zjs (20090908dfsg-3) unstable; urgency=low * debian/foo2zjs.postinst: + move firmware files only if they are present, thus avoiding a "No such file or directory" error from mv during upgrades. -- Luca Capello Tue, 23 Mar 2010 11:54:44 +0100 foo2zjs (20090908dfsg-2) unstable; urgency=low [ Luca Capello ] * debian/control: + Standards-Version to 3.8.4, no changes needed, thanks to lintian. + Build-Depends: on quilt to manage patches. + Recommends: unzip for 'getexe' function in getweb script. + add ${misc:Depends}, thanks to lintian. * debian/foo2zjs.dirs: + add /lib/firmware/hp/. - remove now useless /usr/share/foo2zjs/tmp/. * debian/foo2zjs.postinst: + move user-downloaded firmwares to /lib/firwmare/hp/. * debian/NEWS: + notice the new location for firmwares. * debian/patches/*: + convert to quilt and refresh. * debian/patches/60-getweb.in.patch: + working directory is /tmp/foo2zjs/. + new 'puticm' function to install ICM files. + extract firmware for HP LaserJet P1006/1008/1505 printers as well. - remove wrong 'putfw' call for Minolta 2200 DL. * debian/patches/70-lib-firmware-hp.patch: + firmware directory is /lib/firmware/hp/ (Closes: #517957). * debian/README.source: + adapt to quilt. * debian/rules: + adapt to quilt. - remove touch call for /usr/share/foo2zjs/tmp/.placeholder. [ Michael Koch ] * Removed Luca Bedogni from Uploaders as he is MIA (Closes: 550268). * Updated Build-Depends on debhelper to level 7. * Replaced dh_clean -h by dh_prep. [ Steve Langasek ] * debian/control: Breaks: udev (<< 136-1) to ensure the correct udev version is used. * debian/foo2zjs.preinst: when installing or upgrading, remove the old udev rules file /etc/udev/rules.d/11-hplj10xx.rules if it has not been locally modified. * debian/patches/30-udev-rules.dpatch (Closes: #558978): + 'BUS=="usb"' is deprecated, replaced with 'SUBSYSTEMS=="usb"'. + Removed UDEV rule items which conflict with the general UDEV rules for USB printers: 'NAME="usb/%k"', 'MODE="0666"'. + Change SYSFS to ATTRS. * debian/rules: install the udev rules file as /lib/udev/rules.d/85-hplj10xx.rules. -- Luca Capello Mon, 22 Mar 2010 17:09:44 +0100 foo2zjs (20090908dfsg-1) unstable; urgency=low * New upstream release. - supports Minolta mc1690MF (Closes: #545950) * debian/patches/60-hplj1000.dpatch: Removed last hunk as it is applied upstream. * debian/patches/70-printer-profile.dpatch: Added to work around deleting of printer-profile script in upstream Makefile. * debian/patches/90-manpages.dpatch: Updated to also fix manpage of printer-profile. * debian/README.source: Renamed from debian/README.Debian-source. -- Michael Koch Mon, 14 Sep 2009 20:21:07 +0200 foo2zjs (20090301dfsg-5) unstable; urgency=low * Remove hannah-foo2zjs package as its now in its own source package. * debian/README.Debian-source: New file to describe usage of dpatch. * debian/control: Updated Standards-Version to 3.8.3. * debian/control: Add Vcs-Browser field. -- Michael Koch Wed, 02 Sep 2009 08:49:26 +0200 foo2zjs (20090301dfsg-4) unstable; urgency=low * debian/hannah-package/gui.cpp: Fix list of argument names for getweb (Closes: #537325). * debian/patches/40-hplj1000.dpatch: Updated to also guard globbered names in find call (Closes: #526781). * debian/README.Debian: Clarify how hannah-foo2zjs and getweb are used (Closes: #503373, #529300). * debian/copyright: Link to /usr/share/common-licenses/GPL-2 instead of /usr/share/common-licenses/GPL. * debian/control: + hannah-foo2zjs: Tighten Depends on kdebase-bin to (<< 4:4.4.0-1) (Closes: #460480). + Updated Standards-Version to 3.8.2. * debian/patches/60-getweb.in.dpatch: Exit with failure when called as non-root. * debian/patches/90-manpages.dpatch: New dpatch to fix manpage errors. -- Michael Koch Sat, 01 Aug 2009 14:01:43 +0200 foo2zjs (20090301dfsg-3) unstable; urgency=low * debian/control: + s/tik/tix/ in Recommends:, my fault. * debian/foo2zjs.dirs: + sort alphabetically. + add /usr/share/pixmaps (Closes: #521992). * debian/foo2zjs.links: + list all links to be created for the hplj* helper programs. + install links for HP LaserJet P1xxx printers. * debian/patches/00list: update. * debian/patches/60-getweb.in.dpatch: + extract firmware for HP LaserJet P1005/1007 printers as well. * debian/patches/60-hplj1000.dpatch: + always load firmwares from /usr/share/foo2zjs/firmware. * debian/rules: + call dh_link only once. -- Luca Capello Thu, 02 Apr 2009 18:07:52 +0200 foo2zjs (20090301dfsg-2) unstable; urgency=low * debian/patches/30-udev-rules.dpatch: + for some printers, HP is lowercase, thanks to ilf (Closes: #519628). -- Luca Capello Wed, 18 Mar 2009 22:32:41 +0100 foo2zjs (20090301dfsg-1) unstable; urgency=low * New upstream version (Closes: #466758) * DFSG repack - remove binary file c5200mono.prn - remove crd/qpdl/CLP* , because copyright is unclear * debian/*.1: - remove, use upstream instead. * debian/control: + Recommends: tk8.4 and tik for hplj10xx_gui.tcl, thanks to lintian. * debian/hannah-package/hanna.desktop: - remove now useless Encoding key, thanks to lintian. * debian/manpages: + install foo2zjs-icc2ps.1 only. * debian/patches/00list: update. * debian/patches/10-makefile.dpatch: refresh. * debian/patches/30-udevs-rules.dpatch: refresh. * debian/patches/40-desktop-encoding-correction.dpatch: - remove now useless Encoding key, thanks to lintian. * debian/patches/40-path-correction.dpatch: refresh. * debian/patches/50-fix-grotty-warnings: - do not apply, it requires a too long refresh and a better solution would be to fix the upstream manpage generation system. * debian/patches/60-getweb.in.dpatch: refresh. * debian/patches/70-getweb.in.dpatch: - remove, no more needed. * debian/watch: + new dummy file, thanks to lintian. -- Luca Capello Tue, 03 Mar 2009 09:43:35 +0100 foo2zjs (20070718dfsg-9) unstable; urgency=low * debian/control: + add myself to Uploaders:. * debian/patches/30-udev-rules.dpatch: + backport upstream fix to support udev hotplugging, thanks to ilf (Closes: #477923). -- Luca Capello Mon, 22 Dec 2008 13:13:25 +0100 foo2zjs (20070718dfsg-8) unstable; urgency=low * Fixed bashism in debian/patches/60-getweb.in.dpatch. Closes: #489576 * Use su-to-root in debian/hannah-foo2zjs.menu and debian/hannah-package/hannah.desktop. * Use menu section Applications/System/Administration instead of Applications/System. * Use the Suggests from menu package for the Depends of hannah-foo2zjs to make su-to-root -X work always. * Build-Depends on ghostscript instead of gs-gpl. * Build-Depends on libcups2-dev instead of libcupsys2-dev. * Added Recommends for foo2zjs on wget. Neede by getweb script. * Exclude the manual.pdf from dh_compress. -- Michael Koch Thu, 21 Aug 2008 18:16:23 +0200 foo2zjs (20070718dfsg-7.1) unstable; urgency=medium * Non-maintainer upload. * Add '80-getweb.in.dpatch' to fix bashism in /bin/sh script (Closes: #472895) * Bump Standards-Version to 3.8.0. -- Chris Lamb Sat, 07 Jun 2008 20:17:48 +0100 foo2zjs (20070718dfsg-7) unstable; urgency=medium * Added menu file for hannah-foo2zjs package (Closes: #444850). - Call dh_installmenu in debian/rules - Adjust debian/hannah-foo2zjs.dirs accordingly * Modified debian/rules to use /usr/share/dpatch/dpatch.make * Added a patch from a newer getweb because the firmware location has changed (Closes: #449426). -- Luca Bedogni Thu, 15 Nov 2007 17:40:37 +1100 foo2zjs (20070718dfsg-6) unstable; urgency=low * debian/control: - Added the Homepage tag insted of displaing it in the long description (Closes: #439579). - Added Vcs-Svn tag. * Now hannah-foo2zjs display the output of an error (Closes:444852) -- Luca Bedogni Fri, 02 Nov 2007 01:06:58 +0100 foo2zjs (20070718dfsg-5) experimental; urgency=low * Change name of package hannah to hannah-foo2zjs to make it more related to foo2zjs (and because there is already a package in the archive called hannah) - Also rename the binary to hannah-foo2zjs and its references -- Steffen Joeris Sun, 07 Oct 2007 17:13:46 +1000 foo2zjs (20070718dfsg-4) experimental; urgency=low [ Luca Bedogni ] * Now hannah is a standalone package - Moved debian/hannah to debian/hannah-package - Added the clean call for hannah-package in debian/rules - Added new package information to debian/control * Modified menu file for opening hannah with kdesu or gksu (Closes: #444850) [ Steffen Joeris ] * Fix cleanup for hannah and call it with make distclean * Remove dependency against kdebase-bin | gksu from foo2zjs, because this is satisfied via hannah now * Add hannah as a suggests for foo2zjs * Add foo2zjs as a depends to hannah * Add debian/copyright information -- Luca Bedogni Sun, 07 Oct 2007 16:24:58 +1000 foo2zjs (20070718dfsg-3) experimental; urgency=low * Include first version of Hannah (GUI for downloading and installing the printer firmware) (Closes: #443994) - Add Hannah code to debian/hannah/* - Modify debian/rules to build hannah from source - Add build-depends against libqt4-dev - Generate the standard directory for .desktop files in debian/dirs - Install hannah.desktop into the standard desktop directory - Update README.Debian to point to Hannah - Renamed dpatch to 60-getweb.in.dpatch and adjusted it to match for Hannah - Use tmp file under /usr/share/foo2zjs/tmp for unpacking and preparing downloaded firmware - Add a depends against kdebase-bin | gksu to use either of both programs to become root, when calling hannah * Fix breaking line in 11-hplj10xx.rules to repair it (Closes: #443917) Thanks to Cristian Ionescu-Idbohrn for the patch -- Steffen Joeris Sun, 30 Sep 2007 18:10:33 +1000 foo2zjs (20070718dfsg-2) unstable; urgency=low [ Luca Bedogni ] * Added 60-getweb.dpatch for improving the getweb script to install the firmware too, instead of download-only (Closes: #419038) [ Steffen Joeris ] * Update README.Debian and remove some useless information [ Michael Koch ] * Improved 60-getweb.dpatch to delete local files after putting them into firmware directory -- Michael Koch Sat, 22 Sep 2007 21:58:30 +0200 foo2zjs (20070718dfsg-1) experimental; urgency=low [ Luca Bedogni ] * Modified patches to fit with new version * Removed Finn-Arne Johansen (Requested on #427678) * Added me (Luca Bedogni) as co-maintainer * Added Michael Koch as co-maintainer [ Steffen Joeris ] * Put the alioth list as maintainer and myself as co-maintainer - The package is now team maintained (Closes: #429872) * New upstream version (Closes: #427678) * DFSG repack - Removed binary file c5200mono.prn - Removed crd/qpdl/CLP* , because copyright is unclear * Make sure that the PPD files are installed (Closes: #427665) -- Steffen Joeris Fri, 20 Jul 2007 18:07:24 +0200 foo2zjs (20061224-3) unstable; urgency=low * Make sure that the patches are cleaned up before the general cleanup and therefore avoid FTBFS during second build (Closes: #424277) * Make sure that upstream documentation and copyright information are not installed as they are not needed for debian * Make sure that the cleanup target is complete -- Steffen Joeris Wed, 16 May 2007 15:44:32 +1000 foo2zjs (20061224-2) unstable; urgency=low * Upload to unstable -- Steffen Joeris Sun, 06 May 2007 18:57:46 +1000 foo2zjs (20061224-1) experimental; urgency=low * New upstream release * Bump debhelper level to 5 * Change my maintainer address * Change 30-udev-rules.dpatch to patch the path for the program * Change the path for the hplj1000 script (Closes: #402633) * Install the ChangeLog file from upstream * Still provide the hplj1000 script * Improve package description (Closes: #400036) * Remove old debian diversions file * Update debian/copyright * Patch the build system properly (10-makefile.dpatch) -- Steffen Joeris Sat, 6 Jan 2007 00:56:38 +0100 foo2zjs (20060625dfsg-4) unstable; urgency=medium * Make sure that the symlinks are available (Closes: #390948) Thanks to Petre Todorov -- Steffen Joeris Sun, 8 Oct 2006 14:21:29 +1000 foo2zjs (20060625dfsg-3) unstable; urgency=medium * Correct the udev rules (30-udev-rules.dpatch) to make sure all of the supported hp models work as expected (Closes: #390948) * Correct the path of the program location in hplj1000 (40-path-correction.dpatch) -- Steffen Joeris Fri, 6 Oct 2006 19:21:40 +1000 foo2zjs (20060625dfsg-2) unstable; urgency=low * Upload this version to unstable * Upload sponsored by Petter Reinholdtsen. -- Steffen Joeris Fri, 11 Aug 2006 20:58:53 +1000 foo2zjs (20060625dfsg-1) experimental; urgency=low * New upstream release * Bump standards version, no changes needed * Repack for DFSG compatibility * Provide usb_printerid again (Closes: #355576) * Provide the new firmware download scripts from upstream * Use modified hp10xx.rules file from upstream * Thanks for suggestions from Philippe Teuwen * Add build-dependency against foomatic-filters to make sure foomatic-rip is available * Upload sponsored by Morten Werner Olsen. -- Steffen Joeris Thu, 27 Jul 2006 18:20:54 +1000 foo2zjs (20060124dfsg-1) unstable; urgency=low * new upstream release (Closes: #351413) * repack for DFSG compatibility * wrote manpage for okidecode, used authors description * Upload sponsored by Petter Reinholdtsen. -- Steffen Joeris Sun, 5 Feb 2006 15:31:09 +0100 foo2zjs (20051220dfsg-1) unstable; urgency=low * new upstream release * again have to repack it for DFSG compatibility * add additional explanation (e.g. reason for repack and reformat of manpages) to README.Debian * Upload sponsored by Petter Reinholdtsen. -- Steffen Joeris Sun, 01 Jan 2006 14:45:28 +0100 foo2zjs (20051120dfsg-1) unstable; urgency=low [ Changes by Steffen Joeris ] * new upstream release * add some clean targets to debian/rules * modify make install in debian/rules * repack and rename to *dfsg because of binaries in source ;( * modify Makefile to recognize the dfsg changes * wrote README.Debian to inform users about the changes [ Changes by Finn-Arne Johansen ] * Added code to honour /etc/papersize (Closes: #237967) (20-honour-papersize.dpatch) * Upload sponsored by Petter Reinholdtsen. -- Finn-Arne Johansen Fri, 2 Dec 2005 16:16:09 +0100 foo2zjs (20051113-1) unstable; urgency=low * New Maintainer and Co-Maintainer (Closes: #294813) * New upstream release (Closes: #339761) * Added new clean rules because of new version * bumped standard version * cleaned up the debian/control * provide the full source from the author (Closes: #279830, #279829) * wrote all authors to debian/copyright * reformat the manpages to make the package completely lintian clean -- Steffen Joeris Fri, 18 Nov 2005 18:40:40 +0100 foo2zjs (20050217-1) unstable; urgency=low * New upstream release. * Please note that there is an RFA for this package. -- Chris Lawrence Thu, 17 Feb 2005 23:26:51 -0600 foo2zjs (20040210-2) unstable; urgency=low * Remove the binary-only components from the generated package; if you need foo2oak, see http://foo2oak.rkkda.com/. (Closes: #233311) -- Chris Lawrence Tue, 17 Feb 2004 21:05:36 -0600 foo2zjs (20040210-1) unstable; urgency=low * New upstream release. -- Chris Lawrence Sun, 15 Feb 2004 02:04:03 -0600 foo2zjs (20030807-1) unstable; urgency=low * New upstream release. -- Chris Lawrence Sun, 7 Sep 2003 12:32:07 -0500 foo2zjs (20030702-1) unstable; urgency=low * New upstream release: + Add XML files for Minolta Color PageWorks/Pro L + If color has been selected, but there isn't any color on the page, then produce a monochrome ZjStream. -- Chris Lawrence Wed, 2 Jul 2003 22:55:33 -0500 foo2zjs (20030531-1) unstable; urgency=low * New upstream release. -- Chris Lawrence Fri, 6 Jun 2003 22:55:43 -0500 foo2zjs (20030526-1) unstable; urgency=low * Initial Release. (Closes: #194572) -- Chris Lawrence Tue, 27 May 2003 16:03:54 -0500 debian/README.source0000664000000000000000000000054012276370602011353 0ustar Debian foo2zjs source --------------------- This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. Read /usr/share/doc/quilt/README.source for further explanations. -- Luca Capello , Sat, 13 Mar 2010 15:28:40 +0100 debian/watch0000664000000000000000000000010112276370602010216 0ustar # We track foo2zjs SVN revisions, thus no need for a watch file. debian/source/0000775000000000000000000000000012276370602010475 5ustar debian/source/format0000664000000000000000000000001412276370602011703 0ustar 3.0 (quilt) debian/README.Debian0000664000000000000000000000337012276370602011241 0ustar foo2zjs for Debian ------------------ * Files removed from upstream tarball Please understand that I had to delete some files which the author is still providing, because I got no source code for them. This is necessary to get the package into Debian main. If you really need these programs, please freel free to download them from http://foo2zjs.rkkda.com/foo2zjs.tar.gz on your own risk. In addition to that I also deleted all binary files (.e.g. .icm). (Type "wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz"). Then run the following commands: tar -xvvzf foo2zjs.tar.gz cd foo2zjs make * Additional firmwares required by some printers Some printers need additional firmware to be installed. For downloading and installing the right firmware for your printer, you can use the Foo2ZJS firmware downloader and installer (codename Hannah). You will find it in your Desktop Menu or by running the command "hannah-foo2zjs" as the root user. Note that "hannah-foo2zjs" is not part of the "foo2zjs" package but in its own package also called "hannah-foo2zjs". It's also possible to use a pure command line tool called "getweb". This tools allows download and installation without using a graphical user interface, e.g. on servers. * Replacing paper for the HP LaserJet 10xx printers Upstream provides a GUI to replace the paper on HP LaserJet 10xx printers, whose entry is available in the "Applications -> System Tools" menu. It has been however disabled, given that this entry clutters the default GNOME menu on Debian. To re-enable it, please use the menu editor available via the "System -> Preferences -> Main Menu" entry. Please also note that you need to install the suggested "tk8.4" and "tix" packages. -- Luca Capello , Wed, 30 Mar 2011 22:39:20 +0200 debian/printer-driver-foo2zjs-common.install0000664000000000000000000000427012276370602016424 0ustar debian/printer-driver-foo2zjs-common.ppd-updater /usr/share/cups/ppd-updaters/ getweb usr/sbin hplj1000 lib/udev hplj1020.desktop usr/share/applications/ hplj1020_icon.png usr/share/pixmaps PPD/* usr/share/ppd/foo2zjs/ usr/bin/foo2zjs-pstops usr/bin/foo2hiperc-wrapper usr/bin/foo2hbpl2-wrapper usr/bin/foo2hp2600-wrapper usr/bin/foo2lava-wrapper usr/bin/foo2oak-wrapper usr/bin/foo2qpdl-wrapper usr/bin/foo2slx-wrapper usr/bin/foo2xqx-wrapper usr/bin/foo2zjs-wrapper usr/bin/printer-profile usr/share/doc/printer-driver-foo2zjs/manual.pdf usr/share/doc/printer-driver-foo2zjs/README usr/share/foo2qpdl/crd/black-text.ps usr/share/foo2zjs/crd/2300w-1200@150-l250-kx,ucr100,0-per.crd usr/share/foo2zjs/crd/2300w-1200@150-l250-kx,ucr100,50-per.crd usr/share/foo2zjs/crd/2300w-1200@150-l250-kx,ucr100,75-per.crd usr/share/foo2zjs/crd/2300w-1200@150-l250-kx,ucr125,75-per.crd usr/share/foo2zjs/crd/kh.crd usr/share/foo2zjs/crd/kx.crd usr/share/foo2zjs/crd/prolog.ps usr/share/foo2zjs/crd/screen1200.ps usr/share/foo2zjs/crd/screen2400.ps usr/share/foo2zjs/gamma-lookup.ps usr/share/foo2zjs/gamma.ps usr/share/foo2zjs/hplj1020_icon.gif usr/share/foo2zjs/hplj10xx_gui.tcl usr/share/man/man1/arm2hpdl.1 usr/share/man/man1/foo2hbpl2.1 usr/share/man/man1/foo2hbpl2-wrapper.1 usr/share/man/man1/foo2hiperc.1 usr/share/man/man1/foo2hiperc-wrapper.1 usr/share/man/man1/foo2hp.1 usr/share/man/man1/foo2hp2600-wrapper.1 usr/share/man/man1/foo2lava.1 usr/share/man/man1/foo2lava-wrapper.1 usr/share/man/man1/foo2oak.1 usr/share/man/man1/foo2oak-wrapper.1 usr/share/man/man1/foo2qpdl.1 usr/share/man/man1/foo2qpdl-wrapper.1 usr/share/man/man1/foo2slx.1 usr/share/man/man1/foo2slx-wrapper.1 usr/share/man/man1/foo2xqx.1 usr/share/man/man1/foo2xqx-wrapper.1 usr/share/man/man1/foo2zjs.1 usr/share/man/man1/foo2zjs-icc2ps.1 usr/share/man/man1/foo2zjs-pstops.1 usr/share/man/man1/foo2zjs-wrapper.1 usr/share/man/man1/gipddecode.1 usr/share/man/man1/hbpldecode.1 usr/share/man/man1/hipercdecode.1 usr/share/man/man1/lavadecode.1 usr/share/man/man1/oakdecode.1 usr/share/man/man1/opldecode.1 usr/share/man/man1/printer-profile.1 usr/share/man/man1/qpdldecode.1 usr/share/man/man1/slxdecode.1 usr/share/man/man1/xqxdecode.1 usr/share/man/man1/zjsdecode.1 debian/svn-deblayout0000664000000000000000000000002412276370602011710 0ustar origDir=../upstream debian/printer-driver-foo2zjs.dirs0000664000000000000000000000002212276370602014420 0ustar /lib/firmware/hp/ debian/copyright0000664000000000000000000001326212276370602011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: foo2zjs Upstream-Contact: Rick Richardson Source: http://foo2zjs.rkkda.com/foo2zjs.tar.gz Files: * Copyright: 2006-2013 Rick Richardson License: GPL-2+ Files: command2foo2lava-pjl.c Copyright: 1993-2000 Easy Software Products 2008-2009 Apple Inc 2010 Reinhold Kainhofer License: GPL-2+ Files: hbpldecode.c Copyright: 2011-2012 Rick Richardson 2011-2012 Peter Korf License: GPL-2+ Files: msexpand Copyright: 2001 Paul Laufer License: GPL-2+ Files: jbig.c jbig.h jbig_ar.c jbig_ar.h Copyright: 1995-2008 Markus Kuhn License: GPL-2+ Files: cups.h Copyright: 1997-2006 by Easy Software Products. License: GPL-2 with CUPS exceptions 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, version 2 of the License. . The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-2 on Debian systems. . In addition, as the copyright holder of CUPS, Apple Inc. grants the following special exceptions: . 1. Apple Operating System Development License Exception; . a. Software that is developed by any person or entity for an Apple Operating System ("Apple OS-Developed Software"), including but not limited to Apple and third party printer drivers, filters, and backends for an Apple Operating System, that is linked to the CUPS imaging library or based on any sample filters or backends provided with CUPS shall not be considered to be a derivative work or collective work based on the CUPS program and is exempt from the mandatory source code release clauses of the GNU GPL. You may therefore distribute linked combinations of the CUPS imaging library with Apple OS-Developed Software without releasing the source code of the Apple OS-Developed Software. You may also use sample filters and backends provided with CUPS to develop Apple OS-Developed Software without releasing the source code of the Apple OS-Developed Software. . b. An Apple Operating System means any operating system software developed and/or marketed by Apple Computer, Inc., including but not limited to all existing releases and versions of Apple's Darwin, Mac OS X, and Mac OS X Server products and all follow-on releases and future versions thereof. . c. This exception is only available for Apple OS-Developed Software and does not apply to software that is distributed for use on other operating systems. . d. All CUPS software that falls under this license exception have the following text at the top of each source file: . This file is subject to the Apple OS-Developed Software exception. . 2. OpenSSL Toolkit License Exception; . a. Apple Inc. explicitly allows the compilation and distribution of the CUPS software with the OpenSSL Toolkit. . No developer is required to provide these exceptions in a derived work. Files: icc2ps/*.c icc2ps/*.h Copyright: 1998-2007 Marti Maria 1994-1996 SunSoft, Inc. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2003-2005 Chris Lawrence 2005-2007 Steffen Joeris 2007 Luca Bedogni 2007-2009 Michael Koch 2008-2011 Luca Capello 2011-2013 Didier Raboud License: GPL-2+ License: GPL-2+ 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/NEWS0000664000000000000000000000100212276370602007665 0ustar foo2zjs (20090908dfsg-2) unstable; urgency=low Starting with this version all HP firmwares are looked for into /lib/firmware/hp/ instead of upstream /usr/share/foo2zjs/firmware/ (thus solving bug #517957). The upstream /usr/bin/getweb and /lib/udev/hplj1000 scripts have been patched to use this new location. foo2zjs postinst should automatically handle the migration of every firmware present in the old location to the new one. -- Luca Capello Mon, 22 Mar 2010 13:15:37 +0100