--- foo2zjs-20100210.orig/debian/docs +++ foo2zjs-20100210/debian/docs @@ -0,0 +1 @@ +README --- foo2zjs-20100210.orig/debian/copyright +++ foo2zjs-20100210/debian/copyright @@ -0,0 +1,61 @@ +This package was debianized by Chris Lawrence on +Tue, 27 May 2003 16:03:54 -0500. + +It was downloaded from http://foo2zjs.rkkda.com/foo2zjs.tar.gz + +Upstream Authors: Rick Richardson + Main Developer + + Gerhard Fuernkranz Copyright (C) 2004 + List of files: +crd/prolog.ps + + Marti Maria Copyright (C) 1998-2001 + List of files: +icc2ps/cmscam97.c +icc2ps/cmscnvrt.c +icc2ps/cmserr.c +icc2ps/cmsgamma.c +icc2ps/cmsgmt.c +icc2ps/cmsintrp.c +icc2ps/cmsio1.c +icc2ps/cmslut.c +icc2ps/cmsmatsh.c +icc2ps/cmsmtrx.c +icc2ps/cmsnamed.c +icc2ps/cmspack.c +icc2ps/cmspcs.c +icc2ps/cmsps2.c +icc2ps/cmssamp.c +icc2ps/cmswtpnt.c +icc2ps/cmsxform.c +icc2ps/icc2ps.c +icc2ps/lcms. + + SunSoft, Inc. Copyright (c) 1994-1996 + List of files: +icc2ps/icc34.h + +Copyright: + + This package 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 dated June, 1991. + + This package 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. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +PATENTS +It is possible that certain products which can be built using the jbig +software module might form inventions protected by patent rights in +some countries (e.g., by patents about arithmetic coding algorithms +owned by IBM and AT&T in the USA). Provision of this software by the +author does NOT include any licences for any patents. In those +countries where a patent licence is required for certain applications +of this software module, you will have to obtain such a licence +yourself. --- foo2zjs-20100210.orig/debian/foo2zjs-icc2ps.1 +++ foo2zjs-20100210/debian/foo2zjs-icc2ps.1 @@ -0,0 +1,32 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH FOO2ZJS-ICC2PS 1 "November 20, 2005" +.SH NAME +foo2zjs-icc2ps \- part of the printer driver foo2zjs +.SH SYNOPSIS +.B foo2zjs-icc2ps [flags] [output file] +.SH DESCRIPTION +.B foo2zjs-icc2ps +generates PostScript CRD or CSA from ICC profiles. +If no file is given, output goes to stdout. +You can specify by -i or -o the desired profile(s). +Devicelink profiles are accepted as long as input +for CRD / output for CSA were XYZ or Lab. +.PP +.SH Flags +.TP +.B \-i +Input profile: Generates Color Space Array (CSA) +.TP +.B \-o +Output profile: Generates Color Rendering Dictionary (CRD) +.TP +.B \-t<0,1,2,3> +Intent (0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute) +.SH AUTHOR +foo2zjs-icc2ps was written by Rick Richardson . +.PP +This manual page was written by Steffen Joeris , +for the Debian project (but may be used by others). --- foo2zjs-20100210.orig/debian/85-hplj10xx.rules +++ foo2zjs-20100210/debian/85-hplj10xx.rules @@ -0,0 +1,20 @@ +#Own udev rule for HP Laserjet 1000 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="hp LaserJet 1000", SYMLINK+="hplj1000-%n", RUN+="/usr/sbin/hplj1000" +#Own udev rule for HP Laserjet 1005 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="hp LaserJet 1005 series", SYMLINK+="hplj1005-%n", RUN+="/usr/sbin/hplj1005" +#Own udev rule for HP Laserjet 1018 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="HP LaserJet 1018", SYMLINK+="hplj1018-%n", RUN+="/usr/sbin/hplj1018" +#Own udev rule for HP Laserjet 1020 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="HP LaserJet 1020", SYMLINK+="hplj1020-%n", RUN+="/usr/sbin/hplj1020" +#Own udev rule for HP Laserjet P1005 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="HP LaserJet P1005", SYMLINK+="hpljP1005-%n", RUN+="/usr/sbin/hpljP1005" +#Own udev rule for HP Laserjet P1006 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="HP LaserJet P1006", SYMLINK+="hpljP1006-%n", RUN+="/usr/sbin/hpljP1006" +#Own udev rule for HP Laserjet P1007 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="HP LaserJet P1007", SYMLINK+="hpljP1007-%n", RUN+="/usr/sbin/hpljP1007" +#Own udev rule for HP Laserjet P1008 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="HP LaserJet P1008", SYMLINK+="hpljP1008-%n", RUN+="/usr/sbin/hpljP1008" +#Own udev rule for HP Laserjet P1505 +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="HP LaserJet P1505", SYMLINK+="hpljP1505-%n", RUN+="/usr/sbin/hpljP1505" +#Own udev rule for HP Laserjet P1505n +KERNEL=="lp*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="03f0", ATTRS{product}=="HP LaserJet P1505n", SYMLINK+="hpljP1505n-%n", RUN+="/usr/sbin/hpljP1505n" --- foo2zjs-20100210.orig/debian/foo2zjs.links +++ foo2zjs-20100210/debian/foo2zjs.links @@ -0,0 +1,8 @@ +usr/sbin/hplj1000 usr/sbin/hplj1005 +usr/sbin/hplj1000 usr/sbin/hplj1018 +usr/sbin/hplj1000 usr/sbin/hplj1020 +usr/sbin/hplj1000 usr/sbin/hpljP1005 +usr/sbin/hplj1000 usr/sbin/hpljP1006 +usr/sbin/hplj1000 usr/sbin/hpljP1007 +usr/sbin/hplj1000 usr/sbin/hpljP1008 +usr/sbin/hplj1000 usr/sbin/hpljP1505 --- foo2zjs-20100210.orig/debian/foo2zjs.postinst +++ foo2zjs-20100210/debian/foo2zjs.postinst @@ -0,0 +1,79 @@ +#!/bin/sh +# postinst script for foo2zjs +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +if [ "$1" = "configure" ]; then + # Delete old UDEV rules + if dpkg --compare-versions "$2" lt "20060625dfsg-4ubuntu1"; then + rm -f /etc/udev/rules.d/11-hplj10xx.rules + fi + # Do the following only if CUPS is running and the needed CUPS tools + # are available + if which lpstat > /dev/null 2>&1 && \ + which lpinfo > /dev/null 2>&1 && \ + which lpadmin > /dev/null 2>&1 && \ + LC_ALL=C lpstat -h /var/run/cups/cups.sock -r | grep -v not > /dev/null 2>&1; then + # Update the PPD files of all already installed print queues + driverregexp='lsb/usr/foo2zjs/' + gennicknameregexp='' + [ ! -z "$gennicknameregexp" ] && \ + gennicknameregexp="; $gennicknameregexp" + gennicknameregexp='s/\s*\(recommended\)//'"$gennicknameregexp" + tempfiles= + trap 'rm -f $tempfiles; exit 0' 0 HUP INT QUIT ILL ABRT PIPE TERM + tmpfile1=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile1" + lpinfo -h /var/run/cups/cups.sock -m | grep -E $driverregexp > $tmpfile1 + cd /etc/cups/ppd + for ppd in *.ppd; do + [ -r "$ppd" ] || continue + queue=${ppd%.ppd} + lpstat -h /var/run/cups/cups.sock -p "$queue" >/dev/null 2>&1 || continue + nickname=`grep '\*NickName:' "$ppd" | cut -d '"' -f 2 | perl -p -e 's/\n$//' | perl -p -e "$gennicknameregexp" | perl -p -e 's/(\W)/\\\\$1/g'` + lang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + ppdfound="0" + englishppduri="" + tmpfile2=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile2" + cat $tmpfile1 | perl -p -e "$gennicknameregexp" | grep -E '^\S+\s+.*'"$nickname"'$' | cut -d ' ' -f 1 > $tmpfile2 + while read newppduri; do + [ "$ppdfound" = "0" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $newppduri 2>/dev/null || continue + newlang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + [ "$newlang" = "$lang" ] && ppdfound="1" + [ "$newlang" = "english" ] && englishppduri="$newppduri" + done < $tmpfile2 + [ "$ppdfound" = "0" ] && [ ! -z "$englishppduri" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $englishppduri 2>/dev/null && ppdfound="1" + [ "$ppdfound" = "1" ] && echo PPD for printer $queue updated >&2 + done + fi +elif [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ] || [ "$1" = "abort-deconfigure" ]; then + : +else + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 +fi + + +#DEBHELPER# +exit 0 --- foo2zjs-20100210.orig/debian/foo2zjs.preinst +++ foo2zjs-20100210/debian/foo2zjs.preinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +rm_udevrule() { + PKG="$1" + CONFFILE="$2" + + if [ -e "$CONFFILE" ]; then + md5sum="$(md5sum "$CONFFILE" | awk '{print $1}')" + old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKG | sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi + fi +} + +if [ "$1" = install ] || [ "$1" = upgrade ]; then + # Remove obsolete udev rules + rm_udevrule foo2zjs /etc/udev/rules.d/11-hplj10xx.rules + rm_udevrule foo2zjs /etc/udev/rules.d/85-hplj10xx.rules +fi + +#DEBHELPER# --- foo2zjs-20100210.orig/debian/watch +++ foo2zjs-20100210/debian/watch @@ -0,0 +1 @@ +# We track foo2zjs SVN revisions, thus no need for a watch file. --- foo2zjs-20100210.orig/debian/control +++ foo2zjs-20100210/debian/control @@ -0,0 +1,28 @@ +Source: foo2zjs +Section: text +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Foo2zjs Maintainers +Uploaders: Luca Bedogni , Michael Koch , Steffen Joeris , Luca Capello +Build-Depends: debhelper (>= 5), ghostscript, dpatch, foomatic-filters, libcups2-dev +Standards-Version: 3.8.3 +Homepage: http://foo2zjs.rkkda.com/ +Vcs-Svn: svn://svn.debian.org/foo2zjs +Vcs-Browser: http://svn.debian.org/viewsvn/foo2zjs/ + +Package: foo2zjs +Architecture: any +Depends: ${shlibs:Depends}, mscompress, foomatic-filters (>= 4.0.0~bzr156), cups, cups-client +Recommends: foomatic-db-engine, wget, tk8.4 +Suggests: psutils, hannah-foo2zjs, tix +Breaks: udev (<< 136-1) +Description: Support for printing to 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". + . + The foomatic-db-engine package is recommended to simplify configuring + this printer driver. The psutils package is needed to enable n-up + printing support. --- foo2zjs-20100210.orig/debian/README.Debian +++ foo2zjs-20100210/debian/README.Debian @@ -0,0 +1,9 @@ +foo2zjs for Debian and Ubuntu +----------------------------- + +Some printers need additional firmware to be installed and for others +you can enhance the color output quality by installing color +profiles. For downloading these extra files use the commena line tool +"getweb" which comes with this package. + + -- Till Kamppeter Wed, 10 Feb 2010 10:23:00 +0100 --- foo2zjs-20100210.orig/debian/rules +++ foo2zjs-20100210/debian/rules @@ -0,0 +1,115 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +MAKE = make +QMAKE = qmake-qt4 + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + cp printer-profile.in printer-profile + $(MAKE) CFLAGS="$(CFLAGS)" + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -rf debian/patched + [ ! -f Makefile ] || $(MAKE) clean + -rm -f foo2hp + -rm -f foo2hp.o + -rm -f arm2hpdl + -rm -f usb_printerid + -rm -f foo2oak + -rm -f oakdecode + -rm -f oakdecode.o + -rm -f foo2hp2600-wrapper + -rm -f foo2oak-wrapper + -rm -f foo2zjs-wrapper + -rm -f okidecode + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install PREFIX=$(CURDIR)/debian/foo2zjs/usr MODEL=$(CURDIR)/debian/foo2zjs/usr/share/cups/model FOODB=$(CURDIR)/debian/foo2zjs/usr/share/foomatic/db/source PPD=$(CURDIR)/debian/foo2zjs/usr/share/ppd + rm -f $(CURDIR)/debian/foo2zjs/usr/share/doc/foo2zjs/COPYING + rm -f $(CURDIR)/debian/foo2zjs/usr/share/doc/foo2zjs/INSTALL + rm -f $(CURDIR)/debian/foo2zjs/usr/share/doc/foo2zjs/INSTALL.osx + # 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/foo2zjs/usr/bin/*-wrapper + # Install some useful extra scripts which "make install" does not + # install + install -D -m 644 debian/85-hplj10xx.rules $(CURDIR)/debian/foo2zjs/lib/udev/rules.d/85-hplj10xx.rules + install -m 755 hplj1000 $(CURDIR)/debian/foo2zjs/usr/sbin/hplj1000 + install -m 755 getweb $(CURDIR)/debian/foo2zjs/usr/bin/getweb + # Install PPD files for additional printers + install -D -m 644 debian/local/*.ppd $(CURDIR)/debian/foo2zjs/usr/share/ppd/foo2zjs/ + # Add "*cupsFilter" line to accept PDF input data to the PPDs + ( cd $(CURDIR)/debian/foo2zjs/usr/share/ppd/foo2zjs; \ + find -name '*.ppd.gz' | xargs gunzip; \ + find -name '*.ppd' | xargs 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",'; \ + find -name '*.ppd' | xargs gzip -9 \ + ) + # Install Apport hook + install -D -m 644 debian/local/apport-hook.py $(CURDIR)/debian/foo2zjs/usr/share/apport/package-hooks/source_foo2zjs.py + # Hide the menu entry for the paper-out resetter tool for the HP + # LaserJet 10xx series. It is too hardware-specific to have it in the + # menus by default + echo NoDisplay=true >> $(CURDIR)/debian/foo2zjs/usr/share/applications/hplj1020.desktop + # Improve UI strings of the menu entry for the paper-out resetter + perl -p -i -e 's:^(Name=).*$$:\1Reactivate HP LaserJet 1018/1020 after reloading paper:' $(CURDIR)/debian/foo2zjs/usr/share/applications/hplj1020.desktop + perl -p -i -e 's:^(Comment=).*$$:\1Click the button in this program when your printer ran out of paper and you have refilled the paper:' $(CURDIR)/debian/foo2zjs/usr/share/applications/hplj1020.desktop + touch $(CURDIR)/debian/foo2zjs/usr/share/foo2zjs/tmp/.placeholder + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress -Xmanual.pdf + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- foo2zjs-20100210.orig/debian/foo2zjs.dirs +++ foo2zjs-20100210/debian/foo2zjs.dirs @@ -0,0 +1,7 @@ +usr/bin +usr/sbin +usr/share/applications +usr/share/foo2zjs/tmp +usr/share/man/man1 +usr/share/pixmaps +usr/share/ppd --- foo2zjs-20100210.orig/debian/changelog +++ foo2zjs-20100210/debian/changelog @@ -0,0 +1,779 @@ +foo2zjs (20100210-0ubuntu4) lucid; urgency=low + + * debian/patches/92-udev-firmware-script-fixes.dpatch: 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 (LP: #543177). + + -- Till Kamppeter Thu, 25 Mar 2010 09:02:26 +0100 + +foo2zjs (20100210-0ubuntu3) lucid; urgency=low + + * debian/patches/91-wrapper-scripts-custom-pagesize-via-command-line.dpatch, + debian/rules: Replaced Perl magic to modify the wrapper scripts for + custom page size support via command line by the proper upstream fix + (LP: #539242). + * debian/patches/60-getweb.in.dpatch: Redone the patch so that it really + installs everything into the directories of the correct drivers. Before, + the files got all installed into subdirectories of /usr/share/foo2zjs + and so firmware and ICM files were only found by the "foo2zjs" driver. + This could solve the color output problem of LP: #424546. + + -- Till Kamppeter Tue, 16 Mar 2010 11:18:26 +0100 + +foo2zjs (20100210-0ubuntu2) lucid; urgency=low + + * debian/foo2zjs.preinst: when removing old udev rules, handle files that + are marked as obsolete when checking md5sums. + + -- Kees Cook Tue, 16 Feb 2010 16:20:22 -0800 + +foo2zjs (20100210-0ubuntu1) lucid; urgency=low + + * New upstream release + o Snapshot from Feb 10, 2010. + * README.Debian: Updated completely outdated content. We are using the + complete original source code again for longer time as there are no + binary-only executables and no *.icm files any more in the source + tarball. + * debian/local/HP-LaserJet_1022n.ppd, debian/local/HP-LaserJet_1022nw.ppd, + debian/rules: Added PPDs for some additional models (LP: #250872). + + -- Till Kamppeter Wed, 10 Feb 2010 10:17:26 +0100 + +foo2zjs (20090908dfsg-1ubuntu1) lucid; urgency=low + + * Merge from Debian testing, remaining changes: + - debian/foo2zjs.postinst: Automatically update the PPD files for + existing queues to the versions supplied with this package. + - debian/foo2zjs.preinst: handle moving 85-hplj10xx.rules from + /etc/udev/rules.d to /lib/udev/rules.d, needed for upgrades from hardy. + - debian/control, debian/rules: Do not include msexpand, as it is already + in the mscompress package. Add a dependency on mscompress instead. + - debian/control: Require foomatic-filters 4.x + - debian/control: Add dependency on cups and cups-client to ensure that + automatic update of the PPDs of existing print queues works. + - debian/control: Drop tix recommends to a suggests. + - debian/control: Breaks: udev (<< 136-1) to ensure the correct udev + version is used. + - debian/rules: Add /etc/papersize support, and modify all + /usr/bin/foo2*-wrapper scripts to handle custom page sizes correctly in + the PDF-based printing workflow. + - debian/rules: Add "*cupsFilter" line to accept PDF input data to the + PPDs. + - debian/rules, debian/85-hplj10xx.rules: move the rules from + 11-hplj10xx.rules to 85-hplj10xx.rules per /etc/udev/rules.d/README, + and include a number of updates, superseding 30-udev-rules.dpatch: + + Make automatic firmware loading work for the HP LaserJet 1000, 1005, + 1018, 1020, P100x and 1505 printers. + + 'BUS=="usb"' is deprecated, replaced with 'SUBSYSTEMS=="usb"'. + + Removed deprecated '%e' tags from UDEV rules. + + 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: Hide menu entry for the paper-out resetter for the HP + LaserJet 1018/1020 and improve UI text for this menu entry. + - debian/local/apport-hook.py, debian/rules: Add apport hook. + * Dropped changes: + - Replaces/Provides/Conflicts: foo2zjs-ppds: this package is not present + in any supported release. + - No hannah-foo2zjs package: this has been dropped in Debian as well. + + -- Steve Langasek Mon, 30 Nov 2009 16:25:00 -0800 + +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 (20090623-0ubuntu5) karmic; urgency=low + + * Drop tix recommends to a suggests. + + -- Steve Langasek Mon, 19 Oct 2009 01:41:45 -0700 + +foo2zjs (20090623-0ubuntu4) karmic; urgency=low + + * debian/foo2zjs.postinst: Fixed "lpstat -r" check for the + auto update of PPDs of existing queues. "lpstat -r" exits always with + status 0, we must check the actual output. Call lpstat, lpadmin, and + cupsctl with "-h /var/run/cups/cups.sock" to avoid querying remote + servers set up in /etc/cups/client.conf, and asking for passwords. + Thanks to Martin-Éric Racine for tracking this down and the solution! + See Debian bug #543468. Use signal names instead of numbers for trap. + Quiesces a lintian bashism warning. + + -- Till Kamppeter Fri, 18 Sep 2009 15:07:23 +0200 + +foo2zjs (20090623-0ubuntu3) karmic; urgency=low + + * debian/rules: Hide menu entry for the paper-out resetter for the HP + LaserJet 1018/1020 (LP: #396271) and improved UI texts of this menu + entry (LP: #398958). + + -- Till Kamppeter Tue, 21 Jul 2009 12:18:49 +0200 + +foo2zjs (20090623-0ubuntu2) karmic; urgency=low + + * debian/control: Added dependency on cups and cups-client to assure that + automatic update of the PPDs of existing print queues works. + + -- Till Kamppeter Wed, 24 Jun 2009 08:55:49 +0200 + +foo2zjs (20090623-0ubuntu1) karmic; urgency=low + + * New upstream version + - Snapshot from June 23, 2009 + - Added support for Konica-Minolta magicolor 1600W, 1680MF, 1690MF, 4690MF, + Samsung CLP-310 + - Color management improvements (many new color profiles) + - Bug fixes + * Merge from debian unstable, remaining changes: + - Auto-update of PPDs of existing print queues + - Apport hook + - Use of mscompress from external package + - Depends: foomatic-filters + - Replaces/Provides/Conflicts: foo2zjs-ppds + - Breaks: udev (<< 136-1) + - No hannah-foo2zjs package. + - /etc/papersize support + - Support for the PDF printing workflow: + o "*cupsFilter:" lines for PDF input in the PPDs + o Let wrapper scripts read custom page sizes also + from the command line and not only from embedded + PostScript commands. + + -- Till Kamppeter Tue, 23 Jun 2009 21:48:49 +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 (20090217-0ubuntu4) jaunty; urgency=low + + * debian/foo2zjs.postinst: Silenced non-fatal error messages when + post-install script updates PPDs and there are PPDs not belonging to + a CUPS queue in /etc/cups/ppd/ (LP: #345866). + + -- Till Kamppeter Thu, 26 Mar 2009 16:10:49 +0100 + +foo2zjs (20090217-0ubuntu3) jaunty; urgency=low + + * debian/local/apport-hook.py, debian/rules: Added apport hook (LP: #338442). + + -- Till Kamppeter Thu, 19 Mar 2009 18:31:49 +0100 + +foo2zjs (20090217-0ubuntu2) jaunty; urgency=low + + * debian/rules: Modify all /usr/bin/foo2*-wrapper scripts to handle + custom page sizes correctly in the PDF-based printing workflow. + + -- Till Kamppeter Sun, 8 Mar 2009 23:10:13 +0100 + +foo2zjs (20090217-0ubuntu1) jaunty; urgency=low + + * New upstream release + - Snapshot from February 17, 2009 + - Added support for Oki C3100, Samsung CLX-3175, HP LaserJet P2035, + M1319 MFP. + - Color management improvements for some printers and bug fixes. + * debian/foo2zjs.postinst: Added automatic update of the PPD files of the + existing queuea to the PPDs supplied with this package. + + -- Till Kamppeter Tue, 17 Feb 2009 14:03:13 +0100 + +foo2zjs (20080810-0ubuntu6) jaunty; urgency=low + + * Add Breaks to ensure the right version of udev is used. + + -- Scott James Remnant Fri, 09 Jan 2009 11:46:39 +0000 + +foo2zjs (20080810-0ubuntu5) jaunty; urgency=low + + * debian/85-hplj10xx.rules: Change SYSFS to ATTRS. + * debian/rules: Install into /lib/udev/rules.d + * debian/foo2zjs.install: Update path here, though this is a no-op + * debian/foo2zjs.preinst: Remove old file if unmodified + + -- Scott James Remnant Wed, 07 Jan 2009 15:01:02 +0000 + +foo2zjs (20080810-0ubuntu4) intrepid; urgency=low + + * debian/rules, debian/85-hplj10xx.rules: Made automatic firmware loading + also working for the HP LaserJet P100x and 1505 printers. + + -- Till Kamppeter Tue, 9 Sep 2008 09:50:50 +0200 + +foo2zjs (20080810-0ubuntu3) intrepid; urgency=low + + * debian/rules: Improved regular expression to insert /etc/papersize + support into the /usr/bin/foo2*-wrapper scripts (LP: #267960). + + -- Till Kamppeter Tue, 9 Sep 2008 08:50:50 +0200 + +foo2zjs (20080810-0ubuntu2) intrepid; urgency=low + + * debian/rules: Add "*cupsFilter" line to accept PDF input data to the PPDs + * debian/control: Require foomatic-filters 4.x, do not recommend + foomatic-db-engine any more, as we have ready-made PPDs. + + -- Till Kamppeter Wed, 13 Aug 2008 16:20:50 +0200 + +foo2zjs (20080810-0ubuntu1) intrepid; urgency=low + + * New upstream release + - Snapshot from August 10, 2008 + - Added support for Oki C3530 MFP, HP Color LaserJet CP1215, LaserJet + P1007, P1008, Samsung CLP-315. + * debian/foo2zjs.install: Added /usr/share/foo2hiperc. + + -- Till Kamppeter Sun, 10 Aug 2008 17:48:50 +0200 + +foo2zjs (20080502-0ubuntu1) intrepid; urgency=low + + * New upstream release + - Snapshot from May 2, 2008 + - Added support for HP LaserJet 2014, M1005 MFP, M1120 MFP, Kyocera + Mita KM-1635, KM-2035, Lexmark C500n, Oki C3200n, C3300, C3400n, C5100n, + C5200n, C5500n, C5600n, C5800n, Samsung CLP-610. + * debian/patches/50-buffered-input-for-ghostscript.dpatch, + debian/patches/60-device-uri.dpatch: Removed, merged upstream. + * debian/local/*, debian/local/ppd/*.ppd, debian/rules: Removed added + support for Oki printers, they are supported directly from the + upstream source now. + + -- Till Kamppeter Fri, 2 May 2008 11:47:01 +0200 + +foo2zjs (20071205-0ubuntu3) hardy; urgency=low + + * debian/rules: Improved Perl magic for the /etc/papersize support. It broke + some of the wrapper scripts (LP: #205716). + + -- Till Kamppeter Mon, 24 Mar 2008 19:48:05 +0100 + +foo2zjs (20071205-0ubuntu2) hardy; urgency=low + + * debian/local/*, debian/local/ppd/*.ppd, debian/rules: Added support + for HP LaserJet M1120 MFP, Oki C3200n, C3300, C3400n, C5100n, C5200n, + C5500n, C5600n, C5800n (LP: #192948). + * debian/patches/20-honour-papersize.dpatch, debian/rules: Patch replaced + by Perl magic in the debian/rules file. This way the /etc/papersize support + gets automatically applied to every new wrapper script appearing in + future versions of foo2zjs. + * debian/patches/60-device-uri.dpatch: Corrected environment variable name + in foo2* filters: DEVICE_URL -> DEVICE_URI (bug fix from current upstream + snapshot). + * debian/patches/70-ghostscript-crash-with-wts-in-monochrome.dpatch: + Avoid using well-tempered screening (WTS) in monochrome printing mode + as it makes Ghostscript crashing at 1200x600 dpi (bug fix from current + upstream snapshot). + * debian/rules: Cleaned up "clean" rule. + + -- Till Kamppeter Mon, 25 Feb 2008 14:48:05 +0100 + +foo2zjs (20071205-0ubuntu1) hardy; urgency=low + + * New upstream release + - Snapshot from Dec 5, 2007 + - Added support for HP LaserJet P1005, P1006, P1505 + * debian/patches/50-buffered-input-for-ghostscript.dpatch: Let Ghostscript + always use buffered input. This works around a Ghostscript bug which + prevents printing encrypted PDF files with Adobe Reader 8.1.1 and + Ghostscript built as shared library (Ghostscript bug #689577, Ubuntu bug + LP: #172264) + * debian/patches/40-path-correction.dpatch: Regenerated to adapt to new + foo2zjs version. + * debian/rules: Added argument to "make install" so that usb_printerid + goes into /usr/bin and added arguments for new install targets. + * debian/README.Debian: Updated, as source for foo2oak is supplied now + (LP: #173380). + + -- Till Kamppeter Wed, 05 Dec 2007 15:19:37 +0000 + +foo2zjs (20071109-0ubuntu1) hardy; urgency=low + + * New upstream release + - Snapshot from Nov 9, 2007 + - Added support for Lexmark C500n + - Fixes with well-tempered screening (WTS) in newer Ghostscript versions + * debian/patches/10-makefile.dpatch: Removed, merged upstream. + + -- Till Kamppeter Fri, 09 Nov 2007 10:31:36 -0700 + +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 (20070625-0ubuntu1) gutsy; urgency=low + + * New upstream release + - Added support for Samsung CLP-300, CLP-600, CLX-3160, Xerox Phaser + 6110, 6115MFP, Konica Minolta magicolor 2480, 2490, 2530. + - Bug fixes. + debian/patches/10-makefile.dpatch: Regenerated to adapt to new foo2zjs + version. + * Do not fail if building of manual.pdf fails. This file is not important + and should not hold back releases. + + -- Till Kamppeter Mon, 25 Jun 2007 17:25:17 +0100 + +foo2zjs (20061224-3ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - Use improved UDEV rules, debian/85-hplj10xx.rules, therefore + patch debian/patches/30-udev-rules.dpatch dropped + - Install firmware file converter arm2hpdl, needed by getweb (bug + in Debian package) + + -- Till Kamppeter Fri, 22 Jun 2007 21:27:09 +0100 + +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 (20061224-0ubuntu3) feisty; urgency=low + + * debian/control, debian/rules: Do not include msexpand, as it is already + in the mscompress package. Add a dependency on mscompress instead (closes: + LP#92216). + + -- Till Kamppeter Wed, 14 Mar 2007 16:30:36 +0000 + +foo2zjs (20061224-0ubuntu2) feisty; urgency=low + + * debian/control, debian/rules, debianfoo2zjs.install, + debian/foo2zjs-ppds.install: Let PPDs go into the main package, drop + foo2zjs-ppds package (closes: LP#88224). + + -- Till Kamppeter Thu, 8 Mar 2007 14:30:36 +0000 + +foo2zjs (20061224-0ubuntu1) feisty; urgency=low + + * New upstream release + * No repacking for DFSG needed any more, as foo2oak is removed upstream + * Created additional package (foo2zjs-ppds) with the PPD files + + -- Till Kamppeter Thu, 11 Jan 2007 11:30:36 +0000 + +foo2zjs (20060625dfsg-4ubuntu2) feisty; urgency=medium + + * Added foo2zjs.postinst: Let old UDEV rules being removed when + the package is updated. + + -- Till Kamppeter Wed, 20 Dec 2006 12:00:00 +0100 + +foo2zjs (20060625dfsg-4ubuntu1) feisty; urgency=medium + + * Made UDEV-triggered automatic firmware upload (for HP LaserJet + 1000, 1005, 1018, 1020) really working with Ubuntu (closes LP #65618): + o Corrected number of UDEV rules file from 11 to 85, according + to /etc/udev/rules.d/README (debian/11-hplj10xx.rules -> + debian/85-hplj10xx.rules) + o Fixed UDEV rules: 'BUS=="usb"' is deprecated, replaced with + 'SUBSYSTEMS=="usb"' + o Removed deprecated '%e' tags from UDEV rules + o Removed UDEV rule items which conflict with the general UDEV rules + for USB printers: 'NAME="usb/%k"', 'MODE="0666"'. + * Removed 30-udev-rules.dpatch, as we replace the UDEV rules file + completely now (debian/85-hplj10xx.rules). + + -- Till Kamppeter Thu, 23 Nov 2006 12:00:00 +1000 + +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 + --- foo2zjs-20100210.orig/debian/compat +++ foo2zjs-20100210/debian/compat @@ -0,0 +1 @@ +5 --- foo2zjs-20100210.orig/debian/manpages +++ foo2zjs-20100210/debian/manpages @@ -0,0 +1 @@ +debian/foo2zjs-icc2ps.1 --- foo2zjs-20100210.orig/debian/README.source +++ foo2zjs-20100210/debian/README.source @@ -0,0 +1,5 @@ +This package uses dpatch 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. + +See /usr/share/doc/dpatch/README.source.gz for a detailed explanation. --- foo2zjs-20100210.orig/debian/patches/90-manpages.dpatch +++ foo2zjs-20100210/debian/patches/90-manpages.dpatch @@ -0,0 +1,305 @@ +#!/bin/sh -e +## 90-manpages.dpatch, by Michael Koch +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixes errors in manpages + +if [ $# -lt 1 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- foo2zjs-20090908dfsg.orig/foo2hp.1in ++++ foo2zjs-20090908dfsg/foo2hp.1in +@@ -195,7 +195,4 @@ + Rick Richardson + .br + ${URLHP}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2qpdl-wrapper.1in ++++ foo2zjs-20090908dfsg/foo2qpdl-wrapper.1in +@@ -217,7 +217,4 @@ + Rick Richardson + .br + ${URLQPDL}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/arm2hpdl.1in ++++ foo2zjs-20090908dfsg/arm2hpdl.1in +@@ -38,7 +38,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2hp2600-wrapper.1in ++++ foo2zjs-20090908dfsg/foo2hp2600-wrapper.1in +@@ -230,7 +230,4 @@ + Rick Richardson + .br + ${URLHP}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/hipercdecode.1in ++++ foo2zjs-20090908dfsg/hipercdecode.1in +@@ -162,7 +162,4 @@ + Rick Richardson + .br + ${URLHC}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2hiperc-wrapper.1in ++++ foo2zjs-20090908dfsg/foo2hiperc-wrapper.1in +@@ -205,7 +205,4 @@ + Rick Richardson + .br + ${URLHC}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2xqx.1in ++++ foo2zjs-20090908dfsg/foo2xqx.1in +@@ -152,7 +152,4 @@ + Rick Richardson + .br + ${URLXQX}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/qpdldecode.1in ++++ foo2zjs-20090908dfsg/qpdldecode.1in +@@ -126,7 +126,4 @@ + Rick Richardson + .br + ${URLQPDL}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/usb_printerid.1in ++++ foo2zjs-20090908dfsg/usb_printerid.1in +@@ -44,7 +44,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2hiperc.1in ++++ foo2zjs-20090908dfsg/foo2hiperc.1in +@@ -173,7 +173,4 @@ + Rick Richardson + .br + ${URLHC}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/oakdecode.1in ++++ foo2zjs-20090908dfsg/oakdecode.1in +@@ -92,7 +92,4 @@ + Rick Richardson + .br + ${URLOAK}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2oak.1in ++++ foo2zjs-20090908dfsg/foo2oak.1in +@@ -182,7 +182,4 @@ + Rick Richardson + .br + ${URLOAK}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/zjsdecode.1in ++++ foo2zjs-20090908dfsg/zjsdecode.1in +@@ -99,7 +99,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2zjs-pstops.1in ++++ foo2zjs-20090908dfsg/foo2zjs-pstops.1in +@@ -45,7 +45,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2zjs.1in ++++ foo2zjs-20090908dfsg/foo2zjs.1in +@@ -186,7 +186,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2qpdl.1in ++++ foo2zjs-20090908dfsg/foo2qpdl.1in +@@ -184,7 +184,4 @@ + Rick Richardson + .br + ${URLQPDL}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2oak-wrapper.1in ++++ foo2zjs-20090908dfsg/foo2oak-wrapper.1in +@@ -214,7 +214,4 @@ + Rick Richardson + .br + ${URLOAK}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2zjs-wrapper.1in ++++ foo2zjs-20090908dfsg/foo2zjs-wrapper.1in +@@ -224,7 +224,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/xqxdecode.1in ++++ foo2zjs-20090908dfsg/xqxdecode.1in +@@ -105,7 +105,4 @@ + Rick Richardson + .br + ${URLXQX}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2slx-wrapper.1in ++++ foo2zjs-20090908dfsg/foo2slx-wrapper.1in +@@ -190,7 +190,4 @@ + Rick Richardson + .br + ${URLSLX}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2xqx-wrapper.1in ++++ foo2zjs-20090908dfsg/foo2xqx-wrapper.1in +@@ -153,7 +153,4 @@ + Rick Richardson + .br + ${URLXQX}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2lava-wrapper.1in ++++ foo2zjs-20090908dfsg/foo2lava-wrapper.1in +@@ -216,7 +216,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2slx.1in ++++ foo2zjs-20090908dfsg/foo2slx.1in +@@ -157,7 +157,4 @@ + Rick Richardson + .br + ${URLSLX}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/foo2lava.1in ++++ foo2zjs-20090908dfsg/foo2lava.1in +@@ -177,7 +177,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/slxdecode.1in ++++ foo2zjs-20090908dfsg/slxdecode.1in +@@ -103,7 +103,4 @@ + Rick Richardson + .br + ${URLSLX}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/lavadecode.1in ++++ foo2zjs-20090908dfsg/lavadecode.1in +@@ -96,7 +96,4 @@ + Rick Richardson + .br + ${URLLAVA}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/opldecode.1in ++++ foo2zjs-20090908dfsg/opldecode.1in +@@ -115,7 +115,4 @@ + Rick Richardson + .br + ${URLRO}/ +-'/" +-'/" +-'/" + .em pdf_outline +--- foo2zjs-20090908dfsg.orig/printer-profile.1in ++++ foo2zjs-20090908dfsg/printer-profile.1in +@@ -50,7 +50,4 @@ + Rick Richardson + .br + ${URLZJS}/ +-'/" +-'/" +-'/" + .em pdf_outline --- foo2zjs-20100210.orig/debian/patches/80-getweb.in.dpatch +++ foo2zjs-20100210/debian/patches/80-getweb.in.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 80-getweb.in.dpatch by Chris Lamb + +## DP: Fix bashism + +@DPATCH@ +diff -urNad foo2zjs-20070718dfsg.orig/getweb.in foo2zjs-20070718dfsg/getweb.in +--- foo2zjs-20070718dfsg.orig/getweb.in 2008-05-04 00:13:37.000000000 +0100 ++++ foo2zjs-20070718dfsg/getweb.in 2008-05-04 00:14:25.000000000 +0100 +@@ -236,7 +236,7 @@ + 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" ++ printf "Remove the tarball (y/n)? " + read ans + if [ "$ans" = y ]; then + rm -f $file --- foo2zjs-20100210.orig/debian/patches/92-udev-firmware-script-fixes.dpatch +++ foo2zjs-20100210/debian/patches/92-udev-firmware-script-fixes.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 92-udev-firmware-script-fixes.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad foo2zjs-20100210~/hplj1000 foo2zjs-20100210/hplj1000 +--- foo2zjs-20100210~/hplj1000 2010-01-24 05:53:56.000000000 +0100 ++++ foo2zjs-20100210/hplj1000 2010-03-25 08:57:49.700806707 +0100 +@@ -26,6 +26,14 @@ + 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 ++# ++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 + # --- foo2zjs-20100210.orig/debian/patches/70-printer-profile.dpatch +++ foo2zjs-20100210/debian/patches/70-printer-profile.dpatch @@ -0,0 +1,303 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 70-printer-profile.dpatch by Michael Koch + +## DP: Don't delete printer-profile in clean target +--- foo2zjs-20090908dfsg/printer-profile.in.orig 1970-01-01 01:00:00.000000000 +0100 ++++ foo2zjs-20090908dfsg/printer-profile.in 2009-09-14 17:08:26.000000000 +0200 +@@ -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/ --- foo2zjs-20100210.orig/debian/patches/20-honour-papersize.dpatch +++ foo2zjs-20100210/debian/patches/20-honour-papersize.dpatch @@ -0,0 +1,63 @@ +#!/bin/sh -e +## 20-honour-papersize.dpatch, by Finn-Arne Johansen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patched to support /etc/papersize + +if [ $# -lt 1 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- foo2zjs.clean/foo2hp2600-wrapper.in 2005-11-26 23:04:38.000000000 +0100 ++++ foo2zjs-20070624/foo2hp2600-wrapper.in 2005-11-26 23:16:26.000000000 +0100 +@@ -155,7 +155,8 @@ + + MEDIA=1 + COPIES=1 +-PAPER=1 ++test -r /etc/papersize && PAPER=$(cat /etc/papersize) ++test "$PAPER" || PAPER=1 + RES=600x600 + SOURCE=7 + NUP= +diff -ru ../foo2zjs.clean/foo2oak-wrapper.in ./foo2oak-wrapper.in +--- ../foo2zjs.clean/foo2oak-wrapper.in 2005-11-26 23:04:38.000000000 +0100 ++++ ./foo2oak-wrapper.in 2005-11-26 23:15:13.000000000 +0100 +@@ -122,7 +122,8 @@ + QUALITY=1 + MEDIA=1 + COPIES=1 +-PAPER=1 ++test -r /etc/papersize && PAPER=$(cat /etc/papersize) ++test "$PAPER" || PAPER=1 + RES=600x600 + SOURCE=7 + NUP= +diff -ru ../foo2zjs.clean/foo2zjs-wrapper.in ./foo2zjs-wrapper.in +--- ../foo2zjs.clean/foo2zjs-wrapper.in 2005-11-26 23:04:38.000000000 +0100 ++++ ./foo2zjs-wrapper.in 2005-11-26 23:16:28.000000000 +0100 +@@ -160,7 +160,8 @@ + QUALITY=1 + MEDIA=1 + COPIES=1 +-PAPER=1 ++test -r /etc/papersize && PAPER=$(cat /etc/papersize) ++test "$PAPER" || PAPER=1 + RES=1200x600 + SOURCE=7 + NUP= --- foo2zjs-20100210.orig/debian/patches/91-wrapper-scripts-custom-pagesize-via-command-line.dpatch +++ foo2zjs-20100210/debian/patches/91-wrapper-scripts-custom-pagesize-via-command-line.dpatch @@ -0,0 +1,217 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 91-wrapper-scripts-custom-pagesize-via-command-line.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad foo2zjs-20100210~/foo2hiperc-wrapper.in foo2zjs-20100210/foo2hiperc-wrapper.in +--- foo2zjs-20100210~/foo2hiperc-wrapper.in 2009-05-11 19:35:55.000000000 +0200 ++++ foo2zjs-20100210/foo2hiperc-wrapper.in 2010-03-16 11:09:43.030740332 +0100 +@@ -364,6 +364,21 @@ + } + + case "$PAPER" in ++Custom*x*) ++ # Command line only ++ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` ++ YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` ++ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ XDIM=`dc -e "$XDIM 1200* 72/p"` ++ YDIM=`dc -e "$YDIM 600* 72/p"` ++ PAPER=21; paper=letter; ++ set_clipping 2 100 2 100 ++ ;; + Custom*) + #%%BeginFeature: *CustomPageSize True + #216 +diff -urNad foo2zjs-20100210~/foo2hp2600-wrapper.in foo2zjs-20100210/foo2hp2600-wrapper.in +--- foo2zjs-20100210~/foo2hp2600-wrapper.in 2010-02-07 12:09:24.000000000 +0100 ++++ foo2zjs-20100210/foo2hp2600-wrapper.in 2010-03-16 11:09:43.030740332 +0100 +@@ -498,6 +498,21 @@ + } + + case "$PAPER" in ++Custom*x*) ++ # Command line only ++ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` ++ YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` ++ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ XDIM=`dc -e "$XDIM 1200* 72/p"` ++ YDIM=`dc -e "$YDIM 600* 72/p"` ++ PAPER=1; paper=letter; ++ set_clipping 2 80 2 80 ++ ;; + Custom*) + #%%BeginFeature: *CustomPageSize True + #216 +diff -urNad foo2zjs-20100210~/foo2lava-wrapper.in foo2zjs-20100210/foo2lava-wrapper.in +--- foo2zjs-20100210~/foo2lava-wrapper.in 2009-05-11 19:35:55.000000000 +0200 ++++ foo2zjs-20100210/foo2lava-wrapper.in 2010-03-16 11:09:43.030740332 +0100 +@@ -386,6 +386,25 @@ + } + + case "$PAPER" in ++Custom*x*) ++ # Command line only ++ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` ++ YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` ++ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ xmm=`dc -e "$XDIM 25.4 * 36 + 72/p"` ++ XDIM=`dc -e "$XDIM 1200* 72/p"` ++ ymm=`dc -e "$YDIM 25.4 * 36 + 72/p"` ++ YDIM=`dc -e "$YDIM 600* 72/p"` ++ PAPER=101; paper=letter; ++ MEDIA=20 ++ set_clipping 2 100 2 100 ++ if [ $MODEL = 1 ]; then PAPER=custom_size_${xmm}x${ymm}mm; fi ++ ;; + Custom*) + #%%BeginFeature: *CustomPageSize True + #216 +diff -urNad foo2zjs-20100210~/foo2oak-wrapper.in foo2zjs-20100210/foo2oak-wrapper.in +--- foo2zjs-20100210~/foo2oak-wrapper.in 2009-10-12 16:44:37.000000000 +0200 ++++ foo2zjs-20100210/foo2oak-wrapper.in 2010-03-16 11:09:43.030740332 +0100 +@@ -374,6 +374,21 @@ + } + + case "$PAPER" in ++Custom*x*) ++ # Command line only ++ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` ++ YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` ++ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ XDIM=`dc -e "$XDIM 1200* 72/p"` ++ YDIM=`dc -e "$YDIM 600* 72/p"` ++ PAPER=296; paper=letter; ++ set_clipping 2 100 2 100 ++ ;; + Custom*) + #%%BeginFeature: *CustomPageSize True + #216 +diff -urNad foo2zjs-20100210~/foo2qpdl-wrapper.in foo2zjs-20100210/foo2qpdl-wrapper.in +--- foo2zjs-20100210~/foo2qpdl-wrapper.in 2009-05-30 11:42:55.000000000 +0200 ++++ foo2zjs-20100210/foo2qpdl-wrapper.in 2010-03-16 11:09:43.030740332 +0100 +@@ -371,6 +371,23 @@ + } + + case "$PAPER" in ++Custom*x*) ++ # Command line only ++ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` ++ YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` ++ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ XDIM=`dc -e "$XDIM 1200* 72/p"` ++ YDIM=`dc -e "$YDIM 600* 72/p"` ++ PAPER=21; paper=letter; ++ # Doesn't work on a real printer - smudges. ++ # set_clipping 2 100 2 100 ++ set_clipping 150 100 150 100 ++ ;; + Custom*) + #%%BeginFeature: *CustomPageSize True + #216 +diff -urNad foo2zjs-20100210~/foo2slx-wrapper.in foo2zjs-20100210/foo2slx-wrapper.in +--- foo2zjs-20100210~/foo2slx-wrapper.in 2009-05-11 19:35:55.000000000 +0200 ++++ foo2zjs-20100210/foo2slx-wrapper.in 2010-03-16 11:09:43.030740332 +0100 +@@ -340,6 +340,22 @@ + } + + case "$PAPER" in ++Custom*x*) ++ # Command line only ++ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` ++ YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` ++ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ XDIM=`dc -e "$XDIM 1200* 72/p"` ++ YDIM=`dc -e "$YDIM 600* 72/p"` ++ PAPER=255; paper=letter; ++ MEDIA=4 ++ set_clipping 2 100 2 100 ++ ;; + Custom*) + #%%BeginFeature: *CustomPageSize True + #216 +diff -urNad foo2zjs-20100210~/foo2xqx-wrapper.in foo2zjs-20100210/foo2xqx-wrapper.in +--- foo2zjs-20100210~/foo2xqx-wrapper.in 2009-05-11 19:35:55.000000000 +0200 ++++ foo2zjs-20100210/foo2xqx-wrapper.in 2010-03-16 11:09:43.030740332 +0100 +@@ -348,7 +348,23 @@ + } + + case "$PAPER" in ++Custom*x*) ++ # Command line only ++ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` ++ YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` ++ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ XDIM=`dc -e "$XDIM 1200* 72/p"` ++ YDIM=`dc -e "$YDIM 600* 72/p"` ++ PAPER=359; paper=letter; ++ set_clipping 2 84 2 84 ++ ;; + Custom*) ++ # PS job + #%%BeginFeature: *CustomPageSize True + #216 + #360 +diff -urNad foo2zjs-20100210~/foo2zjs-wrapper.in foo2zjs-20100210/foo2zjs-wrapper.in +--- foo2zjs-20100210~/foo2zjs-wrapper.in 2009-05-11 19:35:55.000000000 +0200 ++++ foo2zjs-20100210/foo2zjs-wrapper.in 2010-03-16 11:09:43.030740332 +0100 +@@ -372,6 +372,22 @@ + } + + case "$PAPER" in ++Custom*x*) ++ # Command line only ++ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" ` ++ YDIM=`echo "$PAPER" | sed -e "s/.*x//" ` ++ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then ++ error "Custom page size '$PAPER' != 1-99999" ++ fi ++ XDIM=`dc -e "$XDIM 1200* 72/p"` ++ YDIM=`dc -e "$YDIM 600* 72/p"` ++ PAPER=256; paper=letter; ++ MEDIA=261 ++ set_clipping 2 100 2 100 ++ ;; + Custom*) + #%%BeginFeature: *CustomPageSize True + #216 --- foo2zjs-20100210.orig/debian/patches/10-makefile.dpatch +++ foo2zjs-20100210/debian/patches/10-makefile.dpatch @@ -0,0 +1,92 @@ +#!/bin/sh -e +## 10-makefile.dpatch, by Steffen Joeris and +## Luca Capello +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patch the Makefile + +if [ $# -lt 1 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- foo2zjs-20081007dfsg/Makefile.ORG 2008-11-25 22:29:53.000000000 +0100 ++++ foo2zjs-20081007dfsg/Makefile 2008-11-25 22:39:32.000000000 +0100 +@@ -16,9 +16,7 @@ + VERSION=0.0 + + # Installation prefix... +-PREFIX=/usr/local + PREFIX=/usr +-PREFIX=$(DESTDIR)/usr + + # Pathnames for this package... + BIN=$(PREFIX)/bin +@@ -35,7 +33,7 @@ + INSTALL=install + + # Pathnames for referenced packages... +-FOODB=$(DESTDIR)/usr/share/foomatic/db/source ++FOODB=$(PREFIX)/share/foomatic/db/source + + # User ID's + LPuid=-olp +@@ -540,8 +538,6 @@ + # + + +-UDEVBIN=$(DESTDIR)/bin/ +- + install-prog: + # + # Install driver, wrapper, and development tools +@@ -549,8 +545,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, +@@ -718,9 +713,9 @@ + fi; \ + done + +-MODEL=$(DESTDIR)/usr/share/cups/model +-LOCALMODEL=$(DESTDIR)/usr/local/share/cups/model +-PPD=$(DESTDIR)/usr/share/ppd ++MODEL=$(PREFIX)/share/cups/model ++LOCALMODEL=$(PREFIX)/local/share/cups/model ++PPD=$(PREFIX)/share/ppd + VARPPD=/var/lp/ppd + install-ppd: + # +@@ -763,9 +758,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: + # --- foo2zjs-20100210.orig/debian/patches/00list +++ foo2zjs-20100210/debian/patches/00list @@ -0,0 +1,12 @@ +10-makefile +20-honour-papersize +30-udev-rules +40-desktop-encoding-correction +40-path-correction +60-getweb.in.dpatch +60-hplj1000.dpatch +70-printer-profile.dpatch +80-getweb.in.dpatch +90-manpages.dpatch +91-wrapper-scripts-custom-pagesize-via-command-line.dpatch +92-udev-firmware-script-fixes.dpatch --- foo2zjs-20100210.orig/debian/patches/60-hplj1000.dpatch +++ foo2zjs-20100210/debian/patches/60-hplj1000.dpatch @@ -0,0 +1,65 @@ +#!/bin/sh -e +## 60-hplj1000.dpatch, by Luca Capello +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Use the same firmware folder for all HP LJ printers + +if [ $# -lt 1 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- foo2zjs-20090301dfsg.orig/hplj1000.ORG 2008-06-05 12:02:14.000000000 +0200 ++++ foo2zjs-20090301dfsg.orig/hplj1000 2009-04-02 17:02:11.000000000 +0200 +@@ -77,37 +77,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 --- foo2zjs-20100210.orig/debian/patches/30-udev-rules.dpatch +++ foo2zjs-20100210/debian/patches/30-udev-rules.dpatch @@ -0,0 +1,75 @@ +#!/bin/sh -e +## 30-udev-rules.dpatch, by Debian Foo2ZJS Maintainers +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Correct the udev rules + +if [ $# -lt 1 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- foo2zjs-20081007dfsg/hplj10xx.rules.ORG 2008-10-17 15:40:55.000000000 +0200 ++++ foo2zjs-20081007dfsg/hplj10xx.rules 2008-10-17 15:44:52.000000000 +0200 +@@ -1,36 +1,36 @@ + #Own udev rule for HP Laserjet 1000 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ +- SYSFS{product}=="hp LaserJet 1000", NAME="usb/%k", \ +- SYMLINK+="hplj1000-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1000" ++ SYSFS{product}=="hp LaserJet 1000", NAME="usb/%k", \ ++ SYMLINK+="hplj1000-%n", MODE="0666", RUN+="/usr/sbin/hplj1000" + #Own udev rule for HP Laserjet 1005 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ +- SYSFS{product}=="hp LaserJet 1005 series", NAME="usb/%k", \ +- SYMLINK+="hplj1005-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1005" ++ SYSFS{product}=="hp LaserJet 1005 series", NAME="usb/%k", \ ++ SYMLINK+="hplj1005-%n", MODE="0666", RUN+="/usr/sbin/hplj1005" + #Own udev rule for HP Laserjet 1018 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ + SYSFS{product}=="HP LaserJet 1018", NAME="usb/%k", \ +- SYMLINK+="hplj1018-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1018" ++ SYMLINK+="hplj1018-%n", MODE="0666", RUN+="/usr/sbin/hplj1018" + #Own udev rule for HP Laserjet 1020 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ + SYSFS{product}=="HP LaserJet 1020", NAME="usb/%k", \ +- SYMLINK+="hplj1020-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1020" ++ SYMLINK+="hplj1020-%n", MODE="0666", RUN+="/usr/sbin/hplj1020" + #Own udev rule for HP Laserjet P1005 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ + SYSFS{product}=="HP LaserJet P1005", NAME="usb/%k", \ +- SYMLINK+="hpljP1005-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1005" ++ SYMLINK+="hpljP1005-%n", MODE="0666", RUN+="/usr/sbin/hpljP1005" + #Own udev rule for HP Laserjet P1006 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ + SYSFS{product}=="HP LaserJet P1006", NAME="usb/%k", \ +- SYMLINK+="hpljP1006-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1006" ++ SYMLINK+="hpljP1006-%n", MODE="0666", RUN+="/usr/sbin/hpljP1006" + #Own udev rule for HP Laserjet P1007 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ + SYSFS{product}=="HP LaserJet P1007", NAME="usb/%k", \ +- SYMLINK+="hpljP1007-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1007" ++ SYMLINK+="hpljP1007-%n", MODE="0666", RUN+="/usr/sbin/hpljP1007" + #Own udev rule for HP Laserjet P1008 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ + SYSFS{product}=="HP LaserJet P1008", NAME="usb/%k", \ +- SYMLINK+="hpljP1008-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1008" ++ SYMLINK+="hpljP1008-%n", MODE="0666", RUN+="/usr/sbin/hpljP1008" + #Own udev rule for HP Laserjet P1505 + KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ + SYSFS{product}=="HP LaserJet P1505", NAME="usb/%k", \ +- SYMLINK+="hpljP1505-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1505" ++ SYMLINK+="hpljP1505-%n", MODE="0666", RUN+="/usr/sbin/hpljP1505" --- foo2zjs-20100210.orig/debian/patches/60-getweb.in.dpatch +++ foo2zjs-20100210/debian/patches/60-getweb.in.dpatch @@ -0,0 +1,251 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 60-getweb.dpatch by Debian FOO2ZJS Maintainers +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Improve getweb also for installing the firmware + +@DPATCH@ +diff -urNad foo2zjs-20100210~/getweb.in foo2zjs-20100210/getweb.in +--- foo2zjs-20100210~/getweb.in 2009-06-23 20:31:20.000000000 +0200 ++++ foo2zjs-20100210/getweb.in 2010-03-16 16:30:34.740868271 +0100 +@@ -2,7 +2,7 @@ + + # + # (c) Copyright Rick Richardson 2008 +-# ++# This version has been modified by Debian + + # + # PLEASE don't remove the copyright statements. They should +@@ -12,6 +12,18 @@ + VERSION='$Id: getweb.in,v 1.89 2009/06/23 18:31:20 rick Exp $' + + WGETOPTS="--passive-ftp -q" ++ARM2HPDL="/usr/bin/arm2hpdl" ++ ++case "$1" in ++ 2300dl_fw|xPPD|ppd|update) ++ ;; ++ *) ++ if [ -n "$1" ] && [ $(id -ru) -ne 0 ]; then ++ echo "You need to be root" ++ exit 1 ++ fi ++ ;; ++esac + + usage() { + cat </dev/null` ++WGET=`which wget` + if [ "$SYSTEM" = Darwin -a "$WGET" = "" ] + then + WGETOPTS= +@@ -104,6 +116,13 @@ + } + fi + ++putfw() { ++ inputname=$1 ++ outputname=$2 ++ $ARM2HPDL $inputname > $outputname ++ rm -f $inputname ++} ++ + # + # Download a .EXE file from the web, unzip it, and extract the + # files we want +@@ -141,6 +160,7 @@ + getone() { + case "$1" in + lj1000|1000) ++ cd /usr/share/foo2zjs/firmware/ + gettgz \ + http://foo2zjs.rkkda.com/firmware sihp1000.tar.gz \ + "" +@@ -150,8 +170,10 @@ + #lj1488en.exe \ + #sihp1000.img + copyright "(c) Copyright Hewlett-Packard 2001" ++ putfw sihp1000.img sihp1000.dl + ;; + lj1005|1005) ++ cd /usr/share/foo2zjs/firmware/ + gettgz \ + http://foo2zjs.rkkda.com/firmware sihp1005.tar.gz \ + "" +@@ -161,38 +183,50 @@ + #lj1005hostbased-en.exe \ + #sihp1005.img + copyright "(c) Copyright Hewlett-Packard 2002" ++ putfw sihp1005.img sihp1005.dl + ;; + lj1018|1018) ++ cd /usr/share/foo2zjs/firmware/ + gettgz \ + http://foo2zjs.rkkda.com/firmware sihp1018.tar.gz \ + "" + copyright "(c) Copyright Hewlett-Packard 2005" ++ putfw sihp1018.img sihp1018.dl + ;; + lj1020|1020) ++ cd /usr/share/foo2zjs/firmware/ + gettgz \ + http://foo2zjs.rkkda.com/firmware sihp1020.tar.gz \ + "" + copyright "(c) Copyright Hewlett-Packard 2005" ++ putfw sihp1020.img sihp1020.dl + ;; + [pP]100[57]) ++ cd /usr/share/foo2xqx/firmware/ + gettgz \ + http://foo2zjs.rkkda.com/firmware sihpP1005.tar.gz \ + "" + copyright "(c) Copyright Hewlett-Packard 2008" ++ putfw sihpP1005.img sihpP1005.dl + ;; + [pP]100[68]) ++ cd /usr/share/foo2xqx/firmware/ + gettgz \ + http://foo2zjs.rkkda.com/firmware sihpP1006.tar.gz \ + "" + copyright "(c) Copyright Hewlett-Packard 2008" ++ putfw sihpP1006.img sihpP1006.dl + ;; +- [pP]1505) ++ [pP]1505*) ++ cd /usr/share/foo2xqx/firmware/ + gettgz \ + http://foo2zjs.rkkda.com/firmware sihpP1505.tar.gz \ + "" + copyright "(c) Copyright Hewlett-Packard 2008" ++ putfw sihpP1505.img sihpP1505.dl + ;; + 2200dl|2200) ++ cd /usr/share/foo2zjs/icm/ + if false; then + gettgz \ + http://foo2zjs.rkkda.com/icm dl2300.tar.gz \ +@@ -205,6 +239,7 @@ + copyright "(c) Copyright Minolta-QMS 1999" + ;; + 2300dl|2300) ++ cd /usr/share/foo2zjs/icm/ + if false; then + gettgz \ + http://foo2zjs.rkkda.com/icm dl2300.tar.gz \ +@@ -229,6 +264,7 @@ + echo "*** Now use a windows box to unzip and install $FILE ***" + ;; + cpwl|pageworks) ++ cd /usr/share/foo2zjs/icm/ + if true; then + gettgz \ + http://foo2zjs.rkkda.com/icm dl2300.tar.gz \ +@@ -241,19 +277,21 @@ + do + base=`basename $i .IC_` + mv $base.IC_ $base.ic_ +- ./msexpand $base.ic_ ++ msexpand $base.ic_ + rm -f $base.ic_ + done + fi + copyright "(c) Copyright Minolta-QMS 1998" + ;; + 2430) ++ cd /usr/share/foo2zjs/icm/ + gettgz \ + http://foo2zjs.rkkda.com/icm km2430.tar.gz \ + "" + copyright "(c) Copyright Konica Minolta 2003" + ;; + 2530|2490|6115|2480|1600w|1680|1690|4690) ++ cd /usr/share/foo2lava/icm/ + gettgz \ + http://foo2lava.rkkda.com/icm km2530.tar.gz \ + "" +@@ -264,7 +302,23 @@ + "" + copyright "(c) Copyright Rick Richardson 2009. All Rights Reserved" + ;; +- 1215|1500|1600|2600*) ++ 1500) ++ cd /usr/share/foo2oak/icm/ ++ gettgz \ ++ http://foo2hp.rkkda.com/icm hpclj2600n.tar.gz \ ++ "" ++ gettgz \ ++ http://foo2zjs.rkkda.com/icm km2430.tar.gz \ ++ "km2430_2.icm" ++ copyright "(c) Copyright Hewlett-Packard 2003" ++ copyright "(c) Copyright Rick Richardson 2006. All Rights Reserved" ++ gettgz \ ++ http://foo2hp.rkkda.com/icm hp1215.tar.gz \ ++ "" ++ copyright "(c) Copyright Rick Richardson 2008. All Rights Reserved" ++ ;; ++ 1215|1600|2600*) ++ cd /usr/share/foo2hp/icm/ + gettgz \ + http://foo2hp.rkkda.com/icm hpclj2600n.tar.gz \ + "" +@@ -279,6 +333,7 @@ + copyright "(c) Copyright Rick Richardson 2008. All Rights Reserved" + ;; + 300|310|315|2160|3160|3175|6110) ++ cd /usr/share/foo2qpdl/icm/ + gettgz \ + http://foo2qpdl.rkkda.com/icm samclp300.tar.gz \ + "" +@@ -292,6 +347,7 @@ + ;; + + 500) ++ cd /usr/share/foo2slx/icm/ + gettgz \ + http://foo2slx.rkkda.com/icm lexc500.tar.gz \ + "" +@@ -300,6 +356,7 @@ + + oki) + echo "Please wait, ~20MB is being downloaded from a slow site..." ++ cd /usr/share/foo2hiperc/icm/ + getexe \ + http://www.okiprintingsolutions.at/binaryData/16516/ \ + ICCProfiles.zip \ +@@ -313,18 +370,21 @@ + copyright "(c) Copyright Okidata 2005, 2006" + ;; + 3100|3200|5100|5150|5200|5250) ++ cd /usr/share/foo2hiperc/icm/ + gettgz \ + http://foo2hiperc.rkkda.com/icm okic3200.tar.gz \ + "" + copyright "(c) Copyright Okidata 2005" + ;; + 3300|3400|3530) ++ cd /usr/share/foo2hiperc/icm/ + gettgz \ + http://foo2hiperc.rkkda.com/icm okic3400.tar.gz \ + "" + copyright "(c) Copyright Okidata 2006" + ;; + 5500|5600|5800) ++ cd /usr/share/foo2hiperc/icm/ + gettgz \ + http://foo2hiperc.rkkda.com/icm okic5600.tar.gz \ + "" +@@ -431,6 +491,8 @@ + # getone 2430 already done + # getone cpwl # file doesn't exist 1/28/08 + ++ getone 1500 ++ + getone 2600n + # getone 1215 # already done + --- foo2zjs-20100210.orig/debian/patches/50-fix-grotty-warnings.dpatch +++ foo2zjs-20100210/debian/patches/50-fix-grotty-warnings.dpatch @@ -0,0 +1,195 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 50-fix-grotty-warnings.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Prevent grotty from bleating "X command with `tty:' tag ignored" +## DP: warnings. + +@DPATCH@ +diff -urNad foo2zjs-20070601~/foo2hp.1in foo2zjs-20070601/foo2hp.1in +--- foo2zjs-20070601~/foo2hp.1in 2007-03-08 14:57:44.000000000 +0000 ++++ foo2zjs-20070601/foo2hp.1in 2007-06-05 19:21:04.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2hp2600-wrapper.1in foo2zjs-20070601/foo2hp2600-wrapper.1in +--- foo2zjs-20070601~/foo2hp2600-wrapper.1in 2007-03-08 14:58:43.000000000 +0000 ++++ foo2zjs-20070601/foo2hp2600-wrapper.1in 2007-06-05 19:21:09.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2lava-wrapper.1in foo2zjs-20070601/foo2lava-wrapper.1in +--- foo2zjs-20070601~/foo2lava-wrapper.1in 2007-03-08 14:59:14.000000000 +0000 ++++ foo2zjs-20070601/foo2lava-wrapper.1in 2007-06-05 19:21:19.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2lava.1in foo2zjs-20070601/foo2lava.1in +--- foo2zjs-20070601~/foo2lava.1in 2007-03-08 14:59:01.000000000 +0000 ++++ foo2zjs-20070601/foo2lava.1in 2007-06-05 19:21:15.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2oak-wrapper.1in foo2zjs-20070601/foo2oak-wrapper.1in +--- foo2zjs-20070601~/foo2oak-wrapper.1in 2007-03-08 14:59:37.000000000 +0000 ++++ foo2zjs-20070601/foo2oak-wrapper.1in 2007-06-05 19:21:26.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2oak.1in foo2zjs-20070601/foo2oak.1in +--- foo2zjs-20070601~/foo2oak.1in 2007-03-08 14:59:28.000000000 +0000 ++++ foo2zjs-20070601/foo2oak.1in 2007-06-05 19:21:23.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2qpdl-wrapper.1in foo2zjs-20070601/foo2qpdl-wrapper.1in +--- foo2zjs-20070601~/foo2qpdl-wrapper.1in 2007-03-08 15:00:05.000000000 +0000 ++++ foo2zjs-20070601/foo2qpdl-wrapper.1in 2007-06-05 19:21:34.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2qpdl.1in foo2zjs-20070601/foo2qpdl.1in +--- foo2zjs-20070601~/foo2qpdl.1in 2007-03-08 14:59:47.000000000 +0000 ++++ foo2zjs-20070601/foo2qpdl.1in 2007-06-05 19:21:30.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2xqx-wrapper.1in foo2zjs-20070601/foo2xqx-wrapper.1in +--- foo2zjs-20070601~/foo2xqx-wrapper.1in 2007-03-08 15:00:31.000000000 +0000 ++++ foo2zjs-20070601/foo2xqx-wrapper.1in 2007-06-05 19:21:40.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2xqx.1in foo2zjs-20070601/foo2xqx.1in +--- foo2zjs-20070601~/foo2xqx.1in 2007-03-08 15:00:13.000000000 +0000 ++++ foo2zjs-20070601/foo2xqx.1in 2007-06-05 19:21:38.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2zjs-wrapper.1in foo2zjs-20070601/foo2zjs-wrapper.1in +--- foo2zjs-20070601~/foo2zjs-wrapper.1in 2007-03-08 14:56:41.000000000 +0000 ++++ foo2zjs-20070601/foo2zjs-wrapper.1in 2007-06-05 19:21:47.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/foo2zjs.1in foo2zjs-20070601/foo2zjs.1in +--- foo2zjs-20070601~/foo2zjs.1in 2007-03-08 15:00:50.000000000 +0000 ++++ foo2zjs-20070601/foo2zjs.1in 2007-06-05 19:21:44.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/lavadecode.1in foo2zjs-20070601/lavadecode.1in +--- foo2zjs-20070601~/lavadecode.1in 2007-03-08 15:01:12.000000000 +0000 ++++ foo2zjs-20070601/lavadecode.1in 2007-06-05 19:21:50.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/oakdecode.1in foo2zjs-20070601/oakdecode.1in +--- foo2zjs-20070601~/oakdecode.1in 2007-03-08 15:01:23.000000000 +0000 ++++ foo2zjs-20070601/oakdecode.1in 2007-06-05 19:21:54.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/qpdldecode.1in foo2zjs-20070601/qpdldecode.1in +--- foo2zjs-20070601~/qpdldecode.1in 2007-03-08 15:01:38.000000000 +0000 ++++ foo2zjs-20070601/qpdldecode.1in 2007-06-05 19:21:57.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/xqxdecode.1in foo2zjs-20070601/xqxdecode.1in +--- foo2zjs-20070601~/xqxdecode.1in 2007-03-08 15:01:51.000000000 +0000 ++++ foo2zjs-20070601/xqxdecode.1in 2007-06-05 19:22:00.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE +diff -urNad foo2zjs-20070601~/zjsdecode.1in foo2zjs-20070601/zjsdecode.1in +--- foo2zjs-20070601~/zjsdecode.1in 2007-03-08 15:02:03.000000000 +0000 ++++ foo2zjs-20070601/zjsdecode.1in 2007-06-05 19:22:03.000000000 +0100 +@@ -81,7 +81,6 @@ + '\" Macros for doing pdfmarks + '\" + .de specialps +-\\k_\X'ps: \\$*'\h'|\\n_u'\c + .. + '\" + '\" pdfmark PDFMARKCODE --- foo2zjs-20100210.orig/debian/patches/40-desktop-encoding-correction.dpatch +++ foo2zjs-20100210/debian/patches/40-desktop-encoding-correction.dpatch @@ -0,0 +1,33 @@ +#!/bin/sh -e +## 40-encoding-correction.dpatch by Luca Capello +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Remove the now useless Encoding key + +if [ $# -lt 1 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- foo2zjs-20081007dfsg/hplj1020.desktop.ORG 2008-10-18 01:20:33.000000000 +0200 ++++ foo2zjs-20081007dfsg/hplj1020.desktop 2008-10-18 02:26:13.000000000 +0200 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=HPLJ 10xx Replaced Paper + Comment=HP LaserJet 1018, 1020 + zExec=usb_printerid /dev/usb/lp0 --- foo2zjs-20100210.orig/debian/patches/40-path-correction.dpatch +++ foo2zjs-20100210/debian/patches/40-path-correction.dpatch @@ -0,0 +1,37 @@ +#!/bin/sh -e +## 40-path-correction.dpatch, by Steffen Joeris +## and Luca Capello +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Correct the path for the usb_printerid program + +if [ $# -lt 1 ]; then +echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" +exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +--- foo2zjs-20081007dfsg/hplj1000.ORG 2008-10-17 15:52:29.000000000 +0200 ++++ foo2zjs-20081007dfsg/hplj1000 2008-10-17 15:52:47.000000000 +0200 +@@ -47,7 +47,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 --- foo2zjs-20100210.orig/debian/local/HP-LaserJet_1022n.ppd +++ foo2zjs-20100210/debian/local/HP-LaserJet_1022n.ppd @@ -0,0 +1,431 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'HP-LaserJet_1022n-foo2zjs.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "FOO2ZJS.PPD" +*Manufacturer: "HP" +*Product: "(HP LaserJet 1022n)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "HP LaserJet 1022n" +*ShortNickName: "HP LaserJet 1022n foo2zjs" +*NickName: "HP LaserJet 1022n Foomatic/foo2zjs (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: False +*DefaultColorSpace: Gray +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "MFG:Hewlett-Packard;MDL:HP LaserJet 1022n;CMD:ACL;DES:HP LaserJet 1022n;DRV:Dfoo2zjs,R1,M0,TF;" + +*driverName foo2zjs/foo2zjs: "" +*driverType F/Filter: "" +*driverUrl: "http://foo2zjs.rkkda.com/" +*driverObsolete: False + + + + +*HWMargins: 11.34 11.34 +11.34 +11.34 +*VariablePaperSize: True +*MaxMediaWidth: 100000 +*MaxMediaHeight: 100000 +*NonUIOrderDependency: 135 AnySetup *CustomPageSize +*CustomPageSize True: "pop pop pop pop pop +%% FoomaticRIPOptionSetting: PageSize=Custom" +*End +*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 " +*ParamCustomPageSize Width: 1 points 36 100000 +*ParamCustomPageSize Height: 2 points 36 100000 +*ParamCustomPageSize Orientation: 3 int 0 0 +*ParamCustomPageSize WidthOffset: 4 points 0 0 +*ParamCustomPageSize HeightOffset: 5 points 0 0 + +*FoomaticIDs: HP-LaserJet_1022n foo2zjs +*FoomaticRIPCommandLine: "foo2zjs-wrapper %A" + +*OpenGroup: General/General + +*OpenUI *Quality/Printing Quality: PickOne +*FoomaticRIPOption Quality: enum CmdLine A +*OrderDependency: 110 AnySetup *Quality +*DefaultQuality: normal +*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft" +*FoomaticRIPOptionSetting Quality=draft: " -t " +*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal" +*FoomaticRIPOptionSetting Quality=normal: " " +*CloseUI: *Quality + +*FoomaticRIPOption PrinterType: enum CmdLine A 110 +*FoomaticRIPOptionSetting PrinterType=BWz1: "-P -z1 -L0 " + +*FoomaticRIPOption ColorMode: enum CmdLine A 120 +*FoomaticRIPOptionSetting ColorMode=Monochrome: " " + +*OpenUI *Resolution/Resolution: PickOne +*FoomaticRIPOption Resolution: enum CmdLine A +*OrderDependency: 130 AnySetup *Resolution +*DefaultResolution: 1200x600dpi +*Resolution 600x600dpi/600x600 dpi: "%% FoomaticRIPOptionSetting: Resolution=600x600dpi" +*FoomaticRIPOptionSetting Resolution=600x600dpi: "-r600x600 " +*Resolution 1200x600dpi/1200x600 dpi: "%% FoomaticRIPOptionSetting: Resolution=1200x600dpi" +*FoomaticRIPOptionSetting Resolution=1200x600dpi: "-r1200x600 " +*CloseUI: *Resolution + +*OpenUI *PageSize/Page Size: PickOne +*FoomaticRIPOption PageSize: enum CmdLine A +*OrderDependency: 135 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p1 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p9 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p11 " +*PageSize B5/B5: "%% FoomaticRIPOptionSetting: PageSize=B5" +*FoomaticRIPOptionSetting PageSize=B5: "-p13 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p20 " +*PageSize EnvB5/Env B5: "%% FoomaticRIPOptionSetting: PageSize=EnvB5" +*FoomaticRIPOptionSetting PageSize=EnvB5: "-p34 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p28 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p27 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p37 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p7 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p5 " +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 135 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*PageRegion B5/B5: "%% FoomaticRIPOptionSetting: PageSize=B5" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvB5/Env B5: "%% FoomaticRIPOptionSetting: PageSize=EnvB5" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "11.34 11.34 600.66 780.66" +*ImageableArea A4/A4: "11.34 11.34 583.66 830.66" +*ImageableArea A5/A5: "11.34 11.34 408.66 583.66" +*ImageableArea B5/B5: "11.34 11.34 486.66 696.66" +*ImageableArea Env10/Env #10: "11.34 11.34 285.66 672.66" +*ImageableArea EnvB5/Env B5: "11.34 11.34 486.66 696.66" +*ImageableArea EnvC5/Env C5: "11.34 11.34 447.66 637.66" +*ImageableArea EnvDL/Env DL: "11.34 11.34 299.66 611.66" +*ImageableArea EnvMonarch/Env Monarch: "11.34 11.34 267.66 528.66" +*ImageableArea Executive/Executive: "11.34 11.34 510.66 744.66" +*ImageableArea Legal/Legal: "11.34 11.34 600.66 996.66" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" +*PaperDimension B5/B5: "498 708" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvB5/Env B5: "498 708" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension Legal/Legal: "612 1008" + +*OpenUI *InputSlot/Media Source: PickOne +*FoomaticRIPOption InputSlot: enum CmdLine A +*OrderDependency: 150 AnySetup *InputSlot +*DefaultInputSlot: Auto +*InputSlot Upper/Upper or Only One InputSlot: "%% FoomaticRIPOptionSetting: InputSlot=Upper" +*FoomaticRIPOptionSetting InputSlot=Upper: "-s1 " +*InputSlot Middle/Middle Tray: "%% FoomaticRIPOptionSetting: InputSlot=Middle" +*FoomaticRIPOptionSetting InputSlot=Middle: "-s3 " +*InputSlot Lower/Lower Tray: "%% FoomaticRIPOptionSetting: InputSlot=Lower" +*FoomaticRIPOptionSetting InputSlot=Lower: "-s2 " +*InputSlot Auto/Auto Source: "%% FoomaticRIPOptionSetting: InputSlot=Auto" +*FoomaticRIPOptionSetting InputSlot=Auto: "-s7 " +*InputSlot Envelope/Envelope: "%% FoomaticRIPOptionSetting: InputSlot=Envelope" +*FoomaticRIPOptionSetting InputSlot=Envelope: "-s5 " +*InputSlot Manual/Manual Feed: "%% FoomaticRIPOptionSetting: InputSlot=Manual" +*FoomaticRIPOptionSetting InputSlot=Manual: "-s4 " +*CloseUI: *InputSlot + +*OpenUI *MediaType/Media Type: PickOne +*FoomaticRIPOption MediaType: enum CmdLine A +*OrderDependency: 150 AnySetup *MediaType +*DefaultMediaType: Standard +*MediaType Envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=Envelope" +*FoomaticRIPOptionSetting MediaType=Envelope: "-m257 " +*MediaType Labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=Labels" +*FoomaticRIPOptionSetting MediaType=Labels: "-m263 " +*MediaType Letterhead/Letterhead: "%% FoomaticRIPOptionSetting: MediaType=Letterhead" +*FoomaticRIPOptionSetting MediaType=Letterhead: "-m259 " +*MediaType Postcard/Postcard: "%% FoomaticRIPOptionSetting: MediaType=Postcard" +*FoomaticRIPOptionSetting MediaType=Postcard: "-m262 " +*MediaType Standard/Standard Paper: "%% FoomaticRIPOptionSetting: MediaType=Standard" +*FoomaticRIPOptionSetting MediaType=Standard: "-m1 " +*MediaType ThickStock/Thick Stock: "%% FoomaticRIPOptionSetting: MediaType=ThickStock" +*FoomaticRIPOptionSetting MediaType=ThickStock: "-m261 " +*MediaType Transparency/Transparency: "%% FoomaticRIPOptionSetting: MediaType=Transparency" +*FoomaticRIPOptionSetting MediaType=Transparency: "-m2 " +*CloseUI: *MediaType + +*OpenUI *Duplex/Duplex Printing: PickOne +*FoomaticRIPOption Duplex: enum CmdLine A +*OrderDependency: 210 AnySetup *Duplex +*DefaultDuplex: None +*Duplex DuplexNoTumble/Long Edge (Standard): "%% FoomaticRIPOptionSetting: Duplex=DuplexNoTumble" +*FoomaticRIPOptionSetting Duplex=DuplexNoTumble: "-d2 " +*Duplex DuplexTumble/Short Edge (Flip): "%% FoomaticRIPOptionSetting: Duplex=DuplexTumble" +*FoomaticRIPOptionSetting Duplex=DuplexTumble: "-d3 " +*Duplex ManualDuplexNoTumble/Manual Long Edge (Standard): "%% FoomaticRIPOptionSetting: Duplex=ManualDuplexNoTumble" +*FoomaticRIPOptionSetting Duplex=ManualDuplexNoTumble: "-d4 " +*Duplex ManualDuplexTumble/Manual Short Edge (Flip): "%% FoomaticRIPOptionSetting: Duplex=ManualDuplexTumble" +*FoomaticRIPOptionSetting Duplex=ManualDuplexTumble: "-d5 " +*Duplex None/Off: "%% FoomaticRIPOptionSetting: Duplex=None" +*FoomaticRIPOptionSetting Duplex=None: "-d1 " +*CloseUI: *Duplex + +*OpenUI *Copies/Copies: PickOne +*FoomaticRIPOption Copies: int CmdLine A +*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionRange Copies: 1 100 +*OrderDependency: 220 AnySetup *Copies +*DefaultCopies: 1 +*FoomaticRIPDefaultCopies: 1 +*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1" +*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2" +*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3" +*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4" +*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5" +*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6" +*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7" +*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8" +*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9" +*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10" +*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11" +*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12" +*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13" +*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14" +*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15" +*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16" +*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17" +*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18" +*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19" +*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20" +*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21" +*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22" +*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23" +*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24" +*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25" +*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26" +*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27" +*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28" +*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29" +*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30" +*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31" +*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32" +*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33" +*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34" +*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35" +*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36" +*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37" +*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38" +*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39" +*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40" +*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41" +*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42" +*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43" +*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44" +*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45" +*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46" +*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47" +*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48" +*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49" +*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50" +*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51" +*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52" +*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53" +*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54" +*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55" +*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56" +*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57" +*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58" +*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59" +*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60" +*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61" +*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62" +*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63" +*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64" +*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65" +*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66" +*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67" +*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68" +*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69" +*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70" +*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71" +*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72" +*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73" +*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74" +*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75" +*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76" +*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77" +*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78" +*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79" +*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80" +*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81" +*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82" +*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83" +*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84" +*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85" +*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86" +*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87" +*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88" +*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89" +*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90" +*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91" +*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92" +*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93" +*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94" +*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95" +*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96" +*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97" +*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98" +*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99" +*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" +*CloseUI: *Copies + +*CloseGroup: General + +*OpenGroup: Miscellaneous/Miscellaneous + +*OpenUI *Nup/N-up Printing: PickOne +*FoomaticRIPOption Nup: enum CmdLine A +*OrderDependency: 200 AnySetup *Nup +*DefaultNup: 1up +*Nup 1up/1-up: "%% FoomaticRIPOptionSetting: Nup=1up" +*FoomaticRIPOptionSetting Nup=1up: " " +*Nup 2up/2-up: "%% FoomaticRIPOptionSetting: Nup=2up" +*FoomaticRIPOptionSetting Nup=2up: "-2 " +*Nup 3up/3-up: "%% FoomaticRIPOptionSetting: Nup=3up" +*FoomaticRIPOptionSetting Nup=3up: "-3 " +*Nup 4up/4-up: "%% FoomaticRIPOptionSetting: Nup=4up" +*FoomaticRIPOptionSetting Nup=4up: "-4 " +*Nup 6up/6-up: "%% FoomaticRIPOptionSetting: Nup=6up" +*FoomaticRIPOptionSetting Nup=6up: "-6 " +*Nup 8up/8-up: "%% FoomaticRIPOptionSetting: Nup=8up" +*FoomaticRIPOptionSetting Nup=8up: "-8 " +*Nup 10up/10-up: "%% FoomaticRIPOptionSetting: Nup=10up" +*FoomaticRIPOptionSetting Nup=10up: "-10 " +*Nup 12up/12-up: "%% FoomaticRIPOptionSetting: Nup=12up" +*FoomaticRIPOptionSetting Nup=12up: "-12 " +*Nup 14up/14-up: "%% FoomaticRIPOptionSetting: Nup=14up" +*FoomaticRIPOptionSetting Nup=14up: "-14 " +*Nup 15up/15-up: "%% FoomaticRIPOptionSetting: Nup=15up" +*FoomaticRIPOptionSetting Nup=15up: "-15 " +*Nup 16up/16-up: "%% FoomaticRIPOptionSetting: Nup=16up" +*FoomaticRIPOptionSetting Nup=16up: "-16 " +*Nup 18up/18-up: "%% FoomaticRIPOptionSetting: Nup=18up" +*FoomaticRIPOptionSetting Nup=18up: "-18 " +*CloseUI: *Nup + +*OpenUI *NupOrient/N-up Orientation: PickOne +*FoomaticRIPOption NupOrient: enum CmdLine A +*OrderDependency: 200 AnySetup *NupOrient +*DefaultNupOrient: port +*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land" +*FoomaticRIPOptionSetting NupOrient=land: "-ol " +*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port" +*FoomaticRIPOptionSetting NupOrient=port: " " +*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea" +*FoomaticRIPOptionSetting NupOrient=sea: "-os " +*CloseUI: *NupOrient + +*CloseGroup: Miscellaneous + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + --- foo2zjs-20100210.orig/debian/local/HP-LaserJet_1022nw.ppd +++ foo2zjs-20100210/debian/local/HP-LaserJet_1022nw.ppd @@ -0,0 +1,431 @@ +*PPD-Adobe: "4.3" +*% +*% For information on using this, and to obtain the required backend +*% script, consult http://www.openprinting.org/ +*% +*% This file is published under the GNU General Public License +*% +*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with +*% all programs and environments which use PPD files for dealing with +*% printer capability information. The printer must be configured with the +*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This +*% file and "foomatic-rip" work together to support PPD-controlled printer +*% driver option access with arbitrary free software printer drivers and +*% printing spoolers. +*% +*% To save this file on your disk, wait until the download has completed +*% (the animation of the browser logo must stop) and then use the +*% "Save as..." command in the "File" menu of your browser or in the +*% pop-up manu when you click on this document with the right mouse button. +*% DO NOT cut and paste this file into an editor with your mouse. This can +*% introduce additional line breaks which lead to unexpected results. +*% +*% You may save this file as 'HP-LaserJet_1022nw-foo2zjs.ppd' +*% +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "FOO2ZJS.PPD" +*Manufacturer: "HP" +*Product: "(HP LaserJet 1022nw)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" +*%pprRIP: foomatic-rip other +*ModelName: "HP LaserJet 1022nw" +*ShortNickName: "HP LaserJet 1022nw foo2zjs" +*NickName: "HP LaserJet 1022nw Foomatic/foo2zjs (recommended)" +*PSVersion: "(3010.000) 550" +*PSVersion: "(3010.000) 651" +*PSVersion: "(3010.000) 652" +*PSVersion: "(3010.000) 653" +*PSVersion: "(3010.000) 704" +*PSVersion: "(3010.000) 705" +*PSVersion: "(3010.000) 800" +*LanguageLevel: "3" +*ColorDevice: False +*DefaultColorSpace: Gray +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*1284DeviceID: "MFG:Hewlett-Packard;MDL:HP LaserJet 1022nw;CMD:ACL;DES:HP LaserJet 1022nw;DRV:Dfoo2zjs,R1,M0,TF;" + +*driverName foo2zjs/foo2zjs: "" +*driverType F/Filter: "" +*driverUrl: "http://foo2zjs.rkkda.com/" +*driverObsolete: False + + + + +*HWMargins: 11.34 11.34 +11.34 +11.34 +*VariablePaperSize: True +*MaxMediaWidth: 100000 +*MaxMediaHeight: 100000 +*NonUIOrderDependency: 135 AnySetup *CustomPageSize +*CustomPageSize True: "pop pop pop pop pop +%% FoomaticRIPOptionSetting: PageSize=Custom" +*End +*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 " +*ParamCustomPageSize Width: 1 points 36 100000 +*ParamCustomPageSize Height: 2 points 36 100000 +*ParamCustomPageSize Orientation: 3 int 0 0 +*ParamCustomPageSize WidthOffset: 4 points 0 0 +*ParamCustomPageSize HeightOffset: 5 points 0 0 + +*FoomaticIDs: HP-LaserJet_1022nw foo2zjs +*FoomaticRIPCommandLine: "foo2zjs-wrapper %A" + +*OpenGroup: General/General + +*OpenUI *Quality/Printing Quality: PickOne +*FoomaticRIPOption Quality: enum CmdLine A +*OrderDependency: 110 AnySetup *Quality +*DefaultQuality: normal +*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft" +*FoomaticRIPOptionSetting Quality=draft: " -t " +*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal" +*FoomaticRIPOptionSetting Quality=normal: " " +*CloseUI: *Quality + +*FoomaticRIPOption PrinterType: enum CmdLine A 110 +*FoomaticRIPOptionSetting PrinterType=BWz1: "-P -z1 -L0 " + +*FoomaticRIPOption ColorMode: enum CmdLine A 120 +*FoomaticRIPOptionSetting ColorMode=Monochrome: " " + +*OpenUI *Resolution/Resolution: PickOne +*FoomaticRIPOption Resolution: enum CmdLine A +*OrderDependency: 130 AnySetup *Resolution +*DefaultResolution: 1200x600dpi +*Resolution 600x600dpi/600x600 dpi: "%% FoomaticRIPOptionSetting: Resolution=600x600dpi" +*FoomaticRIPOptionSetting Resolution=600x600dpi: "-r600x600 " +*Resolution 1200x600dpi/1200x600 dpi: "%% FoomaticRIPOptionSetting: Resolution=1200x600dpi" +*FoomaticRIPOptionSetting Resolution=1200x600dpi: "-r1200x600 " +*CloseUI: *Resolution + +*OpenUI *PageSize/Page Size: PickOne +*FoomaticRIPOption PageSize: enum CmdLine A +*OrderDependency: 135 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*FoomaticRIPOptionSetting PageSize=Letter: "-p1 " +*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*FoomaticRIPOptionSetting PageSize=A4: "-p9 " +*PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*FoomaticRIPOptionSetting PageSize=A5: "-p11 " +*PageSize B5/B5: "%% FoomaticRIPOptionSetting: PageSize=B5" +*FoomaticRIPOptionSetting PageSize=B5: "-p13 " +*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*FoomaticRIPOptionSetting PageSize=Env10: "-p20 " +*PageSize EnvB5/Env B5: "%% FoomaticRIPOptionSetting: PageSize=EnvB5" +*FoomaticRIPOptionSetting PageSize=EnvB5: "-p34 " +*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*FoomaticRIPOptionSetting PageSize=EnvC5: "-p28 " +*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*FoomaticRIPOptionSetting PageSize=EnvDL: "-p27 " +*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p37 " +*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*FoomaticRIPOptionSetting PageSize=Executive: "-p7 " +*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*FoomaticRIPOptionSetting PageSize=Legal: "-p5 " +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 135 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" +*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" +*PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" +*PageRegion B5/B5: "%% FoomaticRIPOptionSetting: PageSize=B5" +*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" +*PageRegion EnvB5/Env B5: "%% FoomaticRIPOptionSetting: PageSize=EnvB5" +*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" +*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" +*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" +*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" +*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/Letter: "11.34 11.34 600.66 780.66" +*ImageableArea A4/A4: "11.34 11.34 583.66 830.66" +*ImageableArea A5/A5: "11.34 11.34 408.66 583.66" +*ImageableArea B5/B5: "11.34 11.34 486.66 696.66" +*ImageableArea Env10/Env #10: "11.34 11.34 285.66 672.66" +*ImageableArea EnvB5/Env B5: "11.34 11.34 486.66 696.66" +*ImageableArea EnvC5/Env C5: "11.34 11.34 447.66 637.66" +*ImageableArea EnvDL/Env DL: "11.34 11.34 299.66 611.66" +*ImageableArea EnvMonarch/Env Monarch: "11.34 11.34 267.66 528.66" +*ImageableArea Executive/Executive: "11.34 11.34 510.66 744.66" +*ImageableArea Legal/Legal: "11.34 11.34 600.66 996.66" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "420 595" +*PaperDimension B5/B5: "498 708" +*PaperDimension Env10/Env #10: "297 684" +*PaperDimension EnvB5/Env B5: "498 708" +*PaperDimension EnvC5/Env C5: "459 649" +*PaperDimension EnvDL/Env DL: "311 623" +*PaperDimension EnvMonarch/Env Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension Legal/Legal: "612 1008" + +*OpenUI *InputSlot/Media Source: PickOne +*FoomaticRIPOption InputSlot: enum CmdLine A +*OrderDependency: 150 AnySetup *InputSlot +*DefaultInputSlot: Auto +*InputSlot Upper/Upper or Only One InputSlot: "%% FoomaticRIPOptionSetting: InputSlot=Upper" +*FoomaticRIPOptionSetting InputSlot=Upper: "-s1 " +*InputSlot Middle/Middle Tray: "%% FoomaticRIPOptionSetting: InputSlot=Middle" +*FoomaticRIPOptionSetting InputSlot=Middle: "-s3 " +*InputSlot Lower/Lower Tray: "%% FoomaticRIPOptionSetting: InputSlot=Lower" +*FoomaticRIPOptionSetting InputSlot=Lower: "-s2 " +*InputSlot Auto/Auto Source: "%% FoomaticRIPOptionSetting: InputSlot=Auto" +*FoomaticRIPOptionSetting InputSlot=Auto: "-s7 " +*InputSlot Envelope/Envelope: "%% FoomaticRIPOptionSetting: InputSlot=Envelope" +*FoomaticRIPOptionSetting InputSlot=Envelope: "-s5 " +*InputSlot Manual/Manual Feed: "%% FoomaticRIPOptionSetting: InputSlot=Manual" +*FoomaticRIPOptionSetting InputSlot=Manual: "-s4 " +*CloseUI: *InputSlot + +*OpenUI *MediaType/Media Type: PickOne +*FoomaticRIPOption MediaType: enum CmdLine A +*OrderDependency: 150 AnySetup *MediaType +*DefaultMediaType: Standard +*MediaType Envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=Envelope" +*FoomaticRIPOptionSetting MediaType=Envelope: "-m257 " +*MediaType Labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=Labels" +*FoomaticRIPOptionSetting MediaType=Labels: "-m263 " +*MediaType Letterhead/Letterhead: "%% FoomaticRIPOptionSetting: MediaType=Letterhead" +*FoomaticRIPOptionSetting MediaType=Letterhead: "-m259 " +*MediaType Postcard/Postcard: "%% FoomaticRIPOptionSetting: MediaType=Postcard" +*FoomaticRIPOptionSetting MediaType=Postcard: "-m262 " +*MediaType Standard/Standard Paper: "%% FoomaticRIPOptionSetting: MediaType=Standard" +*FoomaticRIPOptionSetting MediaType=Standard: "-m1 " +*MediaType ThickStock/Thick Stock: "%% FoomaticRIPOptionSetting: MediaType=ThickStock" +*FoomaticRIPOptionSetting MediaType=ThickStock: "-m261 " +*MediaType Transparency/Transparency: "%% FoomaticRIPOptionSetting: MediaType=Transparency" +*FoomaticRIPOptionSetting MediaType=Transparency: "-m2 " +*CloseUI: *MediaType + +*OpenUI *Duplex/Duplex Printing: PickOne +*FoomaticRIPOption Duplex: enum CmdLine A +*OrderDependency: 210 AnySetup *Duplex +*DefaultDuplex: None +*Duplex DuplexNoTumble/Long Edge (Standard): "%% FoomaticRIPOptionSetting: Duplex=DuplexNoTumble" +*FoomaticRIPOptionSetting Duplex=DuplexNoTumble: "-d2 " +*Duplex DuplexTumble/Short Edge (Flip): "%% FoomaticRIPOptionSetting: Duplex=DuplexTumble" +*FoomaticRIPOptionSetting Duplex=DuplexTumble: "-d3 " +*Duplex ManualDuplexNoTumble/Manual Long Edge (Standard): "%% FoomaticRIPOptionSetting: Duplex=ManualDuplexNoTumble" +*FoomaticRIPOptionSetting Duplex=ManualDuplexNoTumble: "-d4 " +*Duplex ManualDuplexTumble/Manual Short Edge (Flip): "%% FoomaticRIPOptionSetting: Duplex=ManualDuplexTumble" +*FoomaticRIPOptionSetting Duplex=ManualDuplexTumble: "-d5 " +*Duplex None/Off: "%% FoomaticRIPOptionSetting: Duplex=None" +*FoomaticRIPOptionSetting Duplex=None: "-d1 " +*CloseUI: *Duplex + +*OpenUI *Copies/Copies: PickOne +*FoomaticRIPOption Copies: int CmdLine A +*FoomaticRIPOptionPrototype Copies: "-n%s " +*FoomaticRIPOptionRange Copies: 1 100 +*OrderDependency: 220 AnySetup *Copies +*DefaultCopies: 1 +*FoomaticRIPDefaultCopies: 1 +*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1" +*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2" +*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3" +*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4" +*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5" +*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6" +*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7" +*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8" +*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9" +*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10" +*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11" +*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12" +*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13" +*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14" +*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15" +*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16" +*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17" +*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18" +*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19" +*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20" +*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21" +*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22" +*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23" +*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24" +*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25" +*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26" +*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27" +*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28" +*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29" +*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30" +*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31" +*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32" +*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33" +*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34" +*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35" +*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36" +*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37" +*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38" +*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39" +*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40" +*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41" +*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42" +*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43" +*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44" +*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45" +*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46" +*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47" +*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48" +*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49" +*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50" +*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51" +*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52" +*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53" +*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54" +*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55" +*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56" +*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57" +*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58" +*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59" +*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60" +*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61" +*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62" +*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63" +*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64" +*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65" +*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66" +*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67" +*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68" +*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69" +*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70" +*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71" +*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72" +*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73" +*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74" +*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75" +*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76" +*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77" +*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78" +*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79" +*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80" +*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81" +*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82" +*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83" +*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84" +*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85" +*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86" +*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87" +*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88" +*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89" +*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90" +*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91" +*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92" +*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93" +*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94" +*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95" +*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96" +*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97" +*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98" +*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99" +*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100" +*CloseUI: *Copies + +*CloseGroup: General + +*OpenGroup: Miscellaneous/Miscellaneous + +*OpenUI *Nup/N-up Printing: PickOne +*FoomaticRIPOption Nup: enum CmdLine A +*OrderDependency: 200 AnySetup *Nup +*DefaultNup: 1up +*Nup 1up/1-up: "%% FoomaticRIPOptionSetting: Nup=1up" +*FoomaticRIPOptionSetting Nup=1up: " " +*Nup 2up/2-up: "%% FoomaticRIPOptionSetting: Nup=2up" +*FoomaticRIPOptionSetting Nup=2up: "-2 " +*Nup 3up/3-up: "%% FoomaticRIPOptionSetting: Nup=3up" +*FoomaticRIPOptionSetting Nup=3up: "-3 " +*Nup 4up/4-up: "%% FoomaticRIPOptionSetting: Nup=4up" +*FoomaticRIPOptionSetting Nup=4up: "-4 " +*Nup 6up/6-up: "%% FoomaticRIPOptionSetting: Nup=6up" +*FoomaticRIPOptionSetting Nup=6up: "-6 " +*Nup 8up/8-up: "%% FoomaticRIPOptionSetting: Nup=8up" +*FoomaticRIPOptionSetting Nup=8up: "-8 " +*Nup 10up/10-up: "%% FoomaticRIPOptionSetting: Nup=10up" +*FoomaticRIPOptionSetting Nup=10up: "-10 " +*Nup 12up/12-up: "%% FoomaticRIPOptionSetting: Nup=12up" +*FoomaticRIPOptionSetting Nup=12up: "-12 " +*Nup 14up/14-up: "%% FoomaticRIPOptionSetting: Nup=14up" +*FoomaticRIPOptionSetting Nup=14up: "-14 " +*Nup 15up/15-up: "%% FoomaticRIPOptionSetting: Nup=15up" +*FoomaticRIPOptionSetting Nup=15up: "-15 " +*Nup 16up/16-up: "%% FoomaticRIPOptionSetting: Nup=16up" +*FoomaticRIPOptionSetting Nup=16up: "-16 " +*Nup 18up/18-up: "%% FoomaticRIPOptionSetting: Nup=18up" +*FoomaticRIPOptionSetting Nup=18up: "-18 " +*CloseUI: *Nup + +*OpenUI *NupOrient/N-up Orientation: PickOne +*FoomaticRIPOption NupOrient: enum CmdLine A +*OrderDependency: 200 AnySetup *NupOrient +*DefaultNupOrient: port +*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land" +*FoomaticRIPOptionSetting NupOrient=land: "-ol " +*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port" +*FoomaticRIPOptionSetting NupOrient=port: " " +*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea" +*FoomaticRIPOptionSetting NupOrient=sea: "-os " +*CloseUI: *NupOrient + +*CloseGroup: Miscellaneous + + +*% Generic boilerplate PPD stuff as standard PostScript fonts and so on + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM + --- foo2zjs-20100210.orig/debian/local/apport-hook.py +++ foo2zjs-20100210/debian/local/apport-hook.py @@ -0,0 +1,11 @@ +'''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)