--- foo2zjs-20090217.orig/debian/foo2oak-wrapper.1 +++ foo2zjs-20090217/debian/foo2oak-wrapper.1 @@ -0,0 +1,345 @@ +.TH FOO2OAK-WRAPPER 1 "November 21, 2005" FOO2OAK-WRAPPER 1 +.SH NAME +foo2oak-wrapper \- Convert Postscript into an OAKT printer stream +.SH SYNOPSIS +.B foo2oak-wrapper +.RI [ options "] [" ps-file ] +.SH DESCRIPTION +.B foo2oak-wrapper +is a Foomatic compatible printer wrapper for the \fBfoo2oak\fP printer driver. +This script reads a Postscript \fIps-file\fP or standard input +and converts it to Oak Technology OAKT printer format +for driving the HP Color LaserJet 1500 laser printer +and other OAKT-based printers. +.P +This script can be used in a standalone fashion, but is intended to +be called from a printer spooler system which uses the Foomatic +printer database. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-b\0 bits +Number of bits per plane (1 or 2) [1]. +.TP +.BI \-c +Print in color (else monochrome). +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +| n l | n l . +1 standard 259 letterhead +2 transparency 261 thickstock +3 glossy 262 postcard +257 envelope 263 labels +.TE +.TP +.BI \-p\0 paper +Paper size code to send to printer [1]. +.TS +| n l | n l. +1 letter 9 A4 +5 legal 11 A5 +7 executive 13 B5 +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [600x600]. +.TP +.BI \-s\0 source +Source (Input Slot) code to send to printer [7]. +.TS +| n l | n l. +1 upper 4 manual +7 auto +.TE +.TP +.BI \-2 +Print in 2-up. Requires the \fBpsutils\fP package. +.TP +.BI \-4 +Print in 4-up. Requires the \fBpsutils\fP package. +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2oak\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-L\0 mask +Send the logical clipping values from -u/-l in the OAKT stream. +\fBfoo2oak-wrapper\fP always runs Ghostscript with the ideal page dimensions, +so that the scale of the image is correct, +regardless whether or not the printer has unprintable regions. +This option is used to move the position of the clipped image +back to where it belongs on the page. The default is to send +the amount which was clipped by -u and -l, and should be +good in most cases. +.SH NAME +foo2oak-wrapper \- Convert Postscript into an OAKT printer stream +.SH SYNOPSIS +.B foo2oak-wrapper +.RI [ options "] [" ps-file ] +.SH DESCRIPTION +.B foo2oak-wrapper +is a Foomatic compatible printer wrapper for the \fBfoo2oak\fP printer driver. +This script reads a Postscript \fIps-file\fP or standard input +and converts it to Oak Technology OAKT printer format +for driving the HP Color LaserJet 1500 laser printer +and other OAKT-based printers. +.P +This script can be used in a standalone fashion, but is intended to +be called from a printer spooler system which uses the Foomatic +printer database. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-b\0 bits +Number of bits per plane (1 or 2) [1]. +.TP +.BI \-c +Print in color (else monochrome). +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +| n l | n l . +1 standard 259 letterhead +2 transparency 261 thickstock +3 glossy 262 postcard +257 envelope 263 labels +.TE +.TP +.BI \-p\0 paper +Paper size code to send to printer [1]. +.TS +| n l | n l. +1 letter 9 A4 +5 legal 11 A5 +7 executive 13 B5 +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [600x600]. +.TP +.BI \-s\0 source +Source (Input Slot) code to send to printer [7]. +.TS +| n l | n l. +1 upper 4 manual +7 auto +.TE +.TP +.BI \-2 +Print in 2-up. Requires the \fBpsutils\fP package. +.TP +.BI \-4 +Print in 4-up. Requires the \fBpsutils\fP package. +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2oak\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-L\0 mask +Send the logical clipping values from -u/-l in the OAKT stream. +\fBfoo2oak-wrapper\fP always runs Ghostscript with the ideal page dimensions, +so that the scale of the image is correct, +regardless whether or not the printer has unprintable regions. +This option is used to move the position of the clipped image +back to where it belongs on the page. The default is to send +the amount which was clipped by -u and -l, and should be +good in most cases. +.SH NAME +foo2oak-wrapper \- Convert Postscript into an OAKT printer stream +.SH SYNOPSIS +.B foo2oak-wrapper +.RI [ options "] [" ps-file ] +.SH DESCRIPTION +.B foo2oak-wrapper +is a Foomatic compatible printer wrapper for the \fBfoo2oak\fP printer driver. +This script reads a Postscript \fIps-file\fP or standard input +and converts it to Oak Technology OAKT printer format +for driving the HP Color LaserJet 1500 laser printer +and other OAKT-based printers. +.P +This script can be used in a standalone fashion, but is intended to +be called from a printer spooler system which uses the Foomatic +printer database. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-b\0 bits +Number of bits per plane (1 or 2) [1]. +.TP +.BI \-c +Print in color (else monochrome). +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +| n l | n l . +1 standard 259 letterhead +2 transparency 261 thickstock +3 glossy 262 postcard +257 envelope 263 labels +.TE +.TP +.BI \-p\0 paper +Paper size code to send to printer [1]. +.TS +| n l | n l. +1 letter 9 A4 +5 legal 11 A5 +7 executive 13 B5 +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [600x600]. +.TP +.BI \-s\0 source +Source (Input Slot) code to send to printer [7]. +.TS +| n l | n l. +1 upper 4 manual +7 auto +.TE +.TP +.BI \-2 +Print in 2-up. Requires the \fBpsutils\fP package. +.TP +.BI \-4 +Print in 4-up. Requires the \fBpsutils\fP package. +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2oak\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-L\0 mask +Send the logical clipping values from -u/-l in the OAKT stream. +\fBfoo2oak-wrapper\fP always runs Ghostscript with the ideal page dimensions, +so that the scale of the image is correct, +regardless whether or not the printer has unprintable regions. +This option is used to move the position of the clipped image +back to where it belongs on the page. The default is to send +the amount which was clipped by -u and -l, and should be +good in most cases. +end any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.SS Color Tweaking Options +These are the options used to control the quality of color output. +Color correction is currently a WORK IN PROGRESS. +.TP +.BI \-g\0 gsopts +Additional options to pass to Ghostscript, such as -g\(lq-dDITHERPPI=nnn\(rq, +etc. This option may appear more than once. +.TP +.BI \-G\0 profile.icm +Convert \fIprofile.icm\fP to a Postscript color rendering +dictionary (CRD) using \fBfoo2zjs-icc2ps\fP and +adjust the printer colors by using the Postscript \fBsetcolorrendering\fP +operator. (WORK IN PROGRESS). +.TP +.BI \-G\0 gamma-file.ps +Prepend \fIgamma-file.ps\fP to the Postscript input to perform +color correction using the \fBsetcolortransfer\fP Postscript operator. +For example, the file might contain: +.br +{0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer +.SS Debugging Options +These options are used for debugging \fBfoo2oak\fP and its wrapper. +.TP +.BI \-S\0 plane +Output just a single color plane from a color print and print it +on the black plane. The default is to output all color planes. +.TS +l l. +1 Cyan +2 Magenta +3 Yellow +4 Black +.TE +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a monochrome OAKT stream from a Postscript document, +examine it, and then print it using a RAW print queue: + +.RS +.nf +foo2oak-wrapper testpage.ps > testpage.oak +oakdecode < testpage.oak +lpr -P raw testpage.oak +.fi +.RE +.P +Create a color OAKT stream from a Postscript document: + +.RS +.nf +foo2oak-wrapper -c testpage.ps > testpage.oak +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2oak-wrapper +.SH SEE ALSO +.BR foo2oak (1), +.BR oak (1) +.SH "AUTHOR" +Rick Richardson +.br + --- foo2zjs-20090217.orig/debian/foo2zjs.postinst +++ foo2zjs-20090217/debian/foo2zjs.postinst @@ -0,0 +1,77 @@ +#!/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 && \ + lpstat -r > /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 1 2 13 15 + tmpfile1=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile1" + lpinfo -m | grep -E $driverregexp > $tmpfile1 + cd /etc/cups/ppd + for ppd in `ls -1 *.ppd 2>/dev/null`; do + queue=${ppd%.ppd} + 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 -p $queue -m $newppduri + 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 -p $queue -m $englishppduri && 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-20090217.orig/debian/foo2zjs.install +++ foo2zjs-20090217/debian/foo2zjs.install @@ -0,0 +1,13 @@ +debian/install/usr/bin/* usr/bin +debian/install/usr/share/man/man1/* usr/share/man/man1 +debian/install/usr/share/doc/foo2zjs/* usr/share/doc/foo2zjs +debian/install/usr/share/foo2zjs/* usr/share/foo2zjs +debian/install/usr/share/foo2hiperc/* usr/share/foo2hiperc +debian/install/usr/share/foo2oak/* usr/share/foo2oak +debian/install/usr/share/foo2hp/* usr/share/foo2hp +debian/install/usr/share/foo2lava/* usr/share/foo2lava +debian/install/usr/share/foo2qpdl/* usr/share/foo2qpdl +debian/install/usr/share/foo2slx/* usr/share/foo2slx +debian/install/usr/share/foo2xqx/* usr/share/foo2xqx +debian/install/lib/udev/rules.d/* lib/udev/rules.d +debian/install/usr/share/ppd/foo2zjs/* usr/share/ppd/foo2zjs --- foo2zjs-20090217.orig/debian/changelog +++ foo2zjs-20090217/debian/changelog @@ -0,0 +1,380 @@ +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 (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-20090217.orig/debian/README.Debian +++ foo2zjs-20090217/debian/README.Debian @@ -0,0 +1,8 @@ +foo2zjs for Debian +------------------ + +I reformated the manpages to stop lintian warnings. The context of +the manpages is the same and the author is still copyright holder of +them. + +-- Steffen Joeris , Sun, 01 Jan 2006 14:40:17 +0100 --- foo2zjs-20090217.orig/debian/foo2zjs-icc2ps.1 +++ foo2zjs-20090217/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-20090217.orig/debian/copyright +++ foo2zjs-20090217/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'. + +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-20090217.orig/debian/xqxdecode.1 +++ foo2zjs-20090217/debian/xqxdecode.1 @@ -0,0 +1,105 @@ +.TH xqxdecode 1 "Thu Jan 04 22:10:08 2007" "xqxdecode 0.0" +.SH NAME +xqxdecode \- Decode a XQX stream into human readable form. +.SH SYNOPSIS +.B xqxdecode +.RI [ options "] <" zjs-file +.SH DESCRIPTION +.B xqxdecode +decodes a XQX stream into human readable form. +.P +An XQX stream is the printer langauge used by some HP LaserJet +printers, such as the HP LaserJet M1005 (MFP). + +.SH COMMAND LINE OPTIONS +These are the options that can appear on the command line. +.TP +.BI \-d\0 basename +Basename of .pbm file for saving decompressed planes. +.TP +.BI \-h +Print hex file offsets. +.TP +.BI \-o +Print file offsets. +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Decode an XQX stream file created by foo2xqx. + +.nf +.ft CW +$ xqxdecode -h < testpage.xm + 0: \\033%-12345X@PJL JOB + 12: @PJL SET JAMRECOVERY=OFF + 2b: @PJL SET DENSITY=3 + 3e: @PJL SET ECONOMODE=OFF + 55: @PJL SET RET=MEDIUM + 69: @PJL INFO STATUS + 7a: @PJL USTATUS DEVICE = ON + 93: @PJL USTATUS JOB = ON + a9: @PJL USTATUS PAGE = ON + c0: @PJL USTATUS TIMED = 30 + 10c: @PJL SET JOBATTR="JobAttr4=20061118160242" + 10c: XQX_MAGIC, 0x5851582c (,XQX) + 110: XQX_START_DOC(1), 7 items + 118: XQX_0x80000000, 84 (0x54) + 124: XQX_0x10000005, 1 (0x1) + 130: XQX_0x10000001, 0 (0x0) + 13c: XQXI_DMDUPLEX, 0 (0x0) + 148: XQX_0x10000000, 0 (0x0) + 154: XQX_0x10000003, 1 (0x1) + 160: XQXI_END, 3735928559 (0xdeadbeef) + 16c: XQX_START_PAGE(3), 15 items [Page 1] + 174: XQX_0x80000000, 180 (0xb4) + 180: XQX_0x20000005, 1 (0x1) + 18c: XQXI_DMDEFAULTSOURCE, 7 (0x7) + 198: XQXI_DMMEDIATYPE, 1 (0x1) + 1a4: XQX_0x20000007, 1 (0x1) + 1b0: XQXI_RESOLUTION_X, 600 (0x258) + 1bc: XQXI_RESOLUTION_Y, 600 (0x258) + 1c8: XQXI_RASTER_X, 9856 (0x2680) + 1d4: XQXI_RASTER_Y, 6432 (0x1920) + 1e0: XQXI_VIDEO_BPP, 2 (0x2) + 1ec: XQXI_VIDEO_X, 4923 (0x133b) + 1f8: XQXI_VIDEO_Y, 6432 (0x1920) + 204: XQXI_ECONOMODE, 0 (0x0) + 210: XQX_0x20000001, 1 (0x1) + 21c: XQXI_END, 3735928559 (0xdeadbeef) + 228: XQX_START_PLANE(5), 4 items + 230: XQX_0x80000000, 64 (0x40) + 23c: XQX_0x40000000, 0 (0x0) + 248: XQXI_BIH(0x40000002) + DL = 0, D = 0, P = 1, - = 0, XY = 9856 x 6432 + L0 = 128, MX = 16, MY = 0 + Order = 3 ILEAVE SMID + Options = 92 LRLTWO TPDON TPBON DPON + 51 stripes, 0 layers, 1 planes + + 264: XQXI_END, 3735928559 (0xdeadbeef) + 270: XQX_JBIG(7), 110 items + 2e6: XQX_END_PLANE(6), 0 items + 2ee: XQX_END_PAGE(4), 0 items + 2f6: XQX_END_DOC(2), 0 items +Total size: 110 bytes + 0: \\033%-12345X@PJL EOJ + 12: \\033%-12345X + +.ft P +.fi + +.SH FILES +.BR /usr/bin/xqxdecode +.SH SEE ALSO +.BR foo2xqx-wrapper (1), +.BR foo2xqx (1) +.SH "AUTHOR" +Rick Richardson +.br +http://foo2xqx.rkkda.com/ +'/" +'/" +'/" +.em pdf_outline --- foo2zjs-20090217.orig/debian/rules +++ foo2zjs-20090217/debian/rules @@ -0,0 +1,122 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +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 + +configure: configure-stamp +configure-stamp: + dh_testdir + dpatch apply-all + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) CFLAGS="$(CFLAGS)" + touch build-stamp + +unpatch: + dh_testdir + dpatch deapply-all + rm -rf debian/patched + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dpatch deapply-all + rm -rf debian/patched + -$(MAKE) clean + -rm -f *.o + -rm -f *.1 + -rm -f *-wrapper + -rm -f *decode + -rm -f foo2hiperc + -rm -f foo2hp + -rm -f foo2lava + -rm -f foo2oak + -rm -f foo2qpdl + -rm -f foo2slx + -rm -f foo2xqx + -rm -f foo2zjs + -rm -f arm2hpdl + -rm -f usb_printerid + -mv -f Makefile.bak Makefile + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + cp Makefile Makefile.bak + mkdir -p $(CURDIR)/debian/foo2zjs/usr/share/ppd + $(MAKE) install PREFIX=$(CURDIR)/debian/foo2zjs/usr PPD=$(CURDIR)/debian/foo2zjs/usr/share/ppd VARPPD=$(CURDIR)/XXX MODEL=$(CURDIR)/XXX LOCALMODEL=$(CURDIR)/XXX FOODB=$(CURDIR)/debian/foo2zjs/usr/share/foomatic/db/source UDEVBIN=$(CURDIR)/debian/foo2zjs/usr/bin APPL=$(CURDIR)/debian/foo2zjs/usr/share/applications OLDAPPL=$(CURDIR)/debian/foo2zjs/usr/share/gnome/apps/System PIXMAPS=$(CURDIR)/debian/foo2zjs/usr/share/pixmaps + 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 + # Make custom page sizes also be handled correctly if they are only + # supplied by the command line and not by embedded PostScript code, + # also here we do not apply a patch + perl -p -i -e 's/^(Custom\*\)\s*$$)/\1\t\tcase "\$$PAPER" in\n\t\tCustom\\.[0-9]*\\x[0-9]*)\n\t\t XDIM=\`echo "\$$PAPER" | sed -e \x27s\/Custom\\.\/\/\x27 -e \x27s\/x.*\/\/\x27\`\n\t\t YDIM=\`echo "\$$PAPER" | sed -e \x27s\/Custom\\.\/\/\x27 -e \x27s\/.*x\/\/\x27\`\n\t\t \;\;\n\t\t*\)\n/' $(CURDIR)/debian/foo2zjs/usr/bin/*-wrapper + perl -p -i -e 's/^(\s*xmm=\`dc)/\t\t\;\;\n\t\tesac\n\1/' $(CURDIR)/debian/foo2zjs/usr/bin/foo2lava-wrapper + perl -p -i -e 's/^(\s*XDIM=\`dc)/\t\t\;\;\n\t\tesac\n\1/' $(CURDIR)/debian/foo2zjs/usr/bin/foo2[ho-z]*-wrapper + 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 -m 755 arm2hpdl $(CURDIR)/debian/foo2zjs/usr/bin/arm2hpdl + # 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 \ + ) + +# 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_installman + dh_link usr/sbin/hplj1000 usr/sbin/hplj1005 + dh_link usr/sbin/hplj1000 usr/sbin/hplj1018 + dh_link usr/sbin/hplj1000 usr/sbin/hplj1020 + dh_link usr/sbin/hplj1000 usr/sbin/hpljP1005 + dh_link usr/sbin/hplj1000 usr/sbin/hpljP1006 + dh_link usr/sbin/hplj1000 usr/sbin/hpljP1007 + dh_link usr/sbin/hplj1000 usr/sbin/hpljP1008 + dh_link usr/sbin/hplj1000 usr/sbin/hpljP1505 + dh_link usr/sbin/hplj1000 usr/sbin/hpljP1505n + dh_strip + dh_compress + 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-20090217.orig/debian/dirs +++ foo2zjs-20090217/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +usr/share/man/man1 --- foo2zjs-20090217.orig/debian/foo2lava-wrapper.1 +++ foo2zjs-20090217/debian/foo2lava-wrapper.1 @@ -0,0 +1,210 @@ +.TH foo2lava-wrapper 1 "Thu Jan 04 22:10:07 2007" "foo2lava-wrapper 0.0" +.SH NAME +foo2lava-wrapper \- Convert Postscript into a LAVAFLOW printer stream +.SH SYNOPSIS +.B foo2lava-wrapper +.RI [ options "] [" ps-file ] +.SH DESCRIPTION +.B foo2lava-wrapper +is a Foomatic compatible printer wrapper for the \fBfoo2lava\fP printer driver. +This script reads a Postscript \fIps-file\fP or standard input +and converts it to Zenographics LAVAFLOW printer format +for driving the Konica Minolta magicolor 2530 DL network color laser printer +and other Zenographics-based LAVAFLOW printers. +.P +This script can be used in a standalone fashion, but is intended to +be called from a printer spooler system which uses the Foomatic +printer database. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-c +Print in color (else monochrome). +.TP +.BI \-C\0 colormode +Color correction mode [0]. +.TS +n l . +0 Best compromise +1 Photos (using m2300w CRDs) +2 Photos and text (using m2300w CRDs) +3 Graphics and text (using m2300w CRDs) +10 ICM color profile (using -G *.icm file) +.TE +.TP +.BI \-d\0 duplex +Duplex code to send to printer [1]. +.TS +| n l | n l | n l . +1 off 2 long edge 3 short edge +.TE +.TP +.BI \-m\0 media +Media code to send to printer [0]. +.TS +l l l +l n n. +_ +Media 2530DL +_ +plain 0 +transparency 4 +thick stock 20 +envelope 22 +letterhead 23 +postcard 25 +labels 26 +recycled 27 +.TE +.TP +.BI \-p\0 paper +Paper size code to send to printer [2]. +.TS +| n l | n l. +1 executive 25 A5 +2 letter 26 A4 +3 legal 45 B5jis +80 env Monarch 65 B5iso +81 env #10 90 env DL +91 env C5 92 env B5 +835 4x6" photo 837 10x15cm photo +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [1200x600]. +.TP +.BI \-s\0 source +Source (Input Slot) code to send to printer [255]. +.TS +| n l | n l. +1 Tray 1 255 auto +4 Tray 2 +.TE +.TP +.BI \-t +Draft mode. Every other pixel is white. +.TP +.BI "\-2 \-3 \-4 \-5 \-6 \-8 \-9 \-10 \-12 \-14 \-15 \-16 \-18" +Print in N-up. Requires the \fBpsutils\fP package. +.TP +.BI \-o\0 orient +Orientation used for N-up. +.TS +l l l. +Portrait -op (normal) +Landscape -ol (rotated 90 degrees anticlockwise) +Seascape -os (rotated 90 degrees clockwise) +.TE +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2lava\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-L\0 mask +Send the logical clipping values from -u/-l in the LAVAFLOW stream. +\fBfoo2lava-wrapper\fP always runs Ghostscript with the ideal page dimensions, +so that the scale of the image is correct, +regardless whether or not the printer has unprintable regions. +This option is used to move the position of the clipped image +back to where it belongs on the page. The default is to send +the amount which was clipped by -u and -l, and should be +good in most cases. +.TS +l l. +0 don't send any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.TP +.BI \-z\0 model +Model: 0=2530DL. Default is 0. +.SS Color Tweaking Options +These are the options used to control the quality of color output. +Color correction is currently a WORK IN PROGRESS. +.TP +.BI \-g\0 gsopts +Additional options to pass to Ghostscript, such as -g\(lq-dDITHERPPI=nnn\(rq, +etc. This option may appear more than once. +.TP +.BI \-G\0 profile.icm +Convert \fIprofile.icm\fP to a Postscript color rendering +dictionary (CRD) using \fBfoo2zjs-icc2ps\fP and +adjust the printer colors by using the Postscript \fBsetcolorrendering\fP +operator. (WORK IN PROGRESS). +.TP +.BI \-G\0 gamma-file.ps +Prepend \fIgamma-file.ps\fP to the Postscript input to perform +color correction using the \fBsetcolortransfer\fP Postscript operator. +For example, the file might contain: +.br +{0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer +.TP +.BI \-I\0 intent +Select profile intent from the ICM file. +0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute. +Default is 0 (perceptual). +.SS Debugging Options +These options are used for debugging \fBfoo2lava\fP and its wrapper. +.TP +.BI \-S\0 plane +Output just a single color plane from a color print and print it +on the black plane. The default is to output all color planes. +.TS +l l. +1 Cyan +2 Magenta +3 Yellow +4 Black +.TE +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a monochrome LAVAFLOW stream from a Postscript document, +examine it, and then print it using a RAW print queue: + +.RS +.nf +foo2lava-wrapper testpage.ps > testpage.zm +lavadecode < testpage.zm +lpr -P raw testpage.zm +.fi +.RE +.P +Create a color LAVAFLOW stream from a Postscript document: + +.RS +.nf +foo2lava-wrapper -c testpage.ps > testpage.zc +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2lava-wrapper +.SH SEE ALSO +.BR foo2lava (1), +.BR lavadecode (1) +.SH "AUTHOR" +Rick Richardson +.br +http://foo2zjs.rkkda.com/ + --- foo2zjs-20090217.orig/debian/control +++ foo2zjs-20090217/debian/control @@ -0,0 +1,27 @@ +Source: foo2zjs +Section: text +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Steffen Joeris +Uploaders: Finn-Arne Johansen +Build-Depends: debhelper (>= 5), groff, gs, dpatch, foomatic-filters (>= 4.0.0~bzr156) +Standards-Version: 3.7.2 + +Package: foo2zjs +Architecture: any +Depends: ${shlibs:Depends}, mscompress, foomatic-filters (>= 4.0.0~bzr156) +Suggests: psutils +Replaces: foo2zjs-ppds +Provides: foo2zjs-ppds +Conflicts: foo2zjs-ppds +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 psutils package is needed to enable n-up printing support. + . + Home Page: http://foo2zjs.rkkda.com/ --- foo2zjs-20090217.orig/debian/usb_printerid.1 +++ foo2zjs-20090217/debian/usb_printerid.1 @@ -0,0 +1,18 @@ +.\" 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 USB_PRINTERID 1 "November 20, 2005" +.SH NAME +usb_printerid \- part of the printer driver foo2zjs +.SH SYNOPSIS +.B usb_printerid device +.SH DESCRIPTION +.B usb_printerid +lists the ID of a printer device. +.PP +.SH AUTHOR +usb_printerid 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-20090217.orig/debian/foo2zjs.1 +++ foo2zjs-20090217/debian/foo2zjs.1 @@ -0,0 +1,169 @@ +.TH FOO2ZJS 1 "November 21, 2005" FOO2ZJS 1 +.SH NAME +foo2zjs \- Convert Ghostscript pbmraw or bitcmyk format into a +ZJS printer stream +.SH SYNOPSIS +.B foo2zjs +.RI [ options "] <" pbmraw-file " >" zjs-file +.sp 1 +.B foo2zjs +.RI [ options "] <" bitcmyk-file " >" zjs-file +.sp 1 +.B foo2zjs +.RI [ options "] <" pksmraw-file " >" zjs-file +.SH DESCRIPTION +.B foo2zjs +converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats to monochrome +or color ZJS streams, +for driving the Minolta/QMS 2300 DL network color laser printer +and other Zenographics-based printers. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-c +Force color mode if autodetect doesn't work. +.TP +.BI \-d\0 duplex +Duplex code to send to printer [1]. +.TS +| n l | n l | n l . +1 off 2 long edge 3 short edge +.TE +.TP +.BI \-g\0 xpix x ypix +Set page dimensions in pixels [10200x6600]. +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +l l l +l n n. +_ +Media 2300DL 2200DL +_ +standard 1 1 +transparency 2 2 +envelope 257 na +letterhead 259 na +thick 261 4 +postcard 262 na +labels 263 3 +.TE +.TP +.BI \-p\0 paper +Paper code to send to printer [1]. +.TS +| n l | n l. +1 letter 9 A4 +5 legal 11 A5 +7 executive 13 B5 +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [1200x600]. +.TP +.BI \-s\0 source +Source (InputSlot) code to send to printer [7]. +1 upper 4 manual +2 lower 7 auto +.TE +.TP +.BI \-J\0 filename +Filename string to send to printer. +.TP +.BI \-U\0 username +Username string to send to printer. +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2zjs\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [0x0]. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [0x0]. +.TP +.BI \-L\0 mask +Send logical clipping amounts implied by -u/-l in the ZjStream [3]. +.TS +l l. +0 don't send any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.TP +.BI \-P +Do not send START_PLANE codes on monochrome output. May be +needed by some black and white only printers, such as the +HP LaserJet 1000. +.TP +.BI \-A +AllIsBlack: convert C=1,M=1,Y=1 to just K=1. Works with bitcmyk input only. +.TP +.BI \-B +BlackClears: K=1 forces C,M,Y to 0. Works with bitcmyk input only. +.TP +.BI \-X\0 padlen +Add extra zero padding to the end of BID segments. The default is +16 bytes. Padding 16 bytes of zeroes +is needed for older ZjStream printers, such as the Minolta 2200DL +and HP LaserJet 1000, and seems harmless to newer ones, such as +the Minolta 2300DL. So the default should be good for all cases. +.SS Debugging Options +These options are used for debugging \fBfoo2zjs\fP. +.TP +.BI \-S\0 plane +Output just a single color plane from a color print and print it +on the black plane. The default is to output all color planes. +.TS +l l. +1 Cyan +2 Magenta +3 Yellow +4 Black +.TE +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a black and white ZJS stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ + -sOutputFile=- - < testpage.ps \ +| foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zm +.fi +.RE +.P +Create a color ZJS stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ + -sOutputFile=- - < testpage.ps \ +| foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zc +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2zjs +.SH SEE ALSO +.BR foo2zjs-wrapper (1), +.BR zjsdecode (1) +.SH "AUTHOR" +Rick Richardson +.br + --- foo2zjs-20090217.orig/debian/foo2zjs-wrapper.1 +++ foo2zjs-20090217/debian/foo2zjs-wrapper.1 @@ -0,0 +1,204 @@ +.TH FOO2ZJS-WRAPPER 1 "November 21, 2005" FOO2ZJS-WRAPPER 1 +.SH NAME +foo2zjs-wrapper \- Convert Postscript into a ZJS printer stream +.SH SYNOPSIS +.B foo2zjs-wrapper +.RI [ options "] [" ps-file ] +.SH DESCRIPTION +.B foo2zjs-wrapper +is a Foomatic compatible printer wrapper for the \fBfoo2zjs\fP printer driver. +This script reads a Postscript \fIps-file\fP or standard input +and converts it to Zenographics ZjStream printer format +for driving the Minolta/QMS 2300 DL network color laser printer +and other Zenographics-based printers. +.P +This script can be used in a standalone fashion, but is intended to +be called from a printer spooler system which uses the Foomatic +printer database. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-c +Print in color (else monochrome). +.TP +.BI \-C\0 colormode +Color correction mode [0]. +.TS +n l . +0 Best compromise +1 Photos (using m2300w CRDs) +2 Photos and text (using m2300w CRDs) +3 Graphics and text (using m2300w CRDs) +10 ICM color profile (using -G *.icm file) +.TE +.TP +.BI \-d\0 duplex +Duplex code to send to printer [1]. +.TS +| n l | n l | n l . +1 off 2 long edge 3 short edge +.TE +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +l l l +l n n. +_ +Media 2300DL 2200DL +_ +standard 1 1 +transparency 2 2 +envelope 257 na +letterhead 259 na +thick 261 4 +postcard 262 na +labels 263 3 +.TE +.TP +.BI \-p\0 paper +Paper size code to send to printer [1]. +.TS +| n l | n l. +1 letter 9 A4 +5 legal 11 A5 +7 executive 13 B5 +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [1200x600]. +.TP +.BI \-s\0 source +Source (Input Slot) code to send to printer [7]. +.TS +| n l | n l. +1 upper 4 manual +2 lower 7 auto +.TE +.TP +.BI \-2 +Print in 2-up. Requires the \fBpsutils\fP package. +.TP +.BI \-4 +Print in 4-up. Requires the \fBpsutils\fP package. +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2zjs\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-L\0 mask +Send the logical clipping values from -u/-l in the ZjStream. +\fBfoo2zjs-wrapper\fP always runs Ghostscript with the ideal page dimensions, +so that the scale of the image is correct, +regardless whether or not the printer has unprintable regions. +This option is used to move the position of the clipped image +back to where it belongs on the page. The default is to send +the amount which was clipped by -u and -l, and should be +good in most cases. +.TS +l l. +0 don't send any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.TP +.BI \-P +Do not send START_PLANE codes on monochrome output. May be +needed by some monochrome-only printers, such as the +HP LaserJet 1000. +.TP +.BI \-X\0 padlen +Add extra zero padding to the end of BID segments. The default is +16 bytes. Padding 16 bytes of zeroes +is needed for older ZjStream printers, such as the Minolta 2200DL +and HP LaserJet 1000, and seems harmless to newer ones, such as +the Minolta 2300DL. So the default should be good for all cases. +.TP +.BI \-F\0 firmware +Some printers (such as the HP LaserJet) need firmware to be downloaded +to them after they are powered up or reset. This option will always +prepend the contents of the file \fIfirmware\fP to the job. +COMPLETELY UNTESTED - LET ME KNOW IF THIS IS USEFUL. +.SS Color Tweaking Options +These are the options used to control the quality of color output. +Color correction is currently a WORK IN PROGRESS. +.TP +.BI \-g\0 gsopts +Additional options to pass to Ghostscript, such as -g\(lq-dDITHERPPI=nnn\(rq, +etc. This option may appear more than once. +.TP +.BI \-G\0 profile.icm +Convert \fIprofile.icm\fP to a Postscript color rendering +dictionary (CRD) using \fBfoo2zjs-icc2ps\fP and +adjust the printer colors by using the Postscript \fBsetcolorrendering\fP +operator. (WORK IN PROGRESS). +.TP +.BI \-G\0 gamma-file.ps +Prepend \fIgamma-file.ps\fP to the Postscript input to perform +color correction using the \fBsetcolortransfer\fP Postscript operator. +For example, the file might contain: +.br +{0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer +.SS Debugging Options +These options are used for debugging \fBfoo2zjs\fP and its wrapper. +.TP +.BI \-S\0 plane +Output just a single color plane from a color print and print it +on the black plane. The default is to output all color planes. +.TS +l l. +1 Cyan +2 Magenta +3 Yellow +4 Black +.TE +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a monochrome ZjStream from a Postscript document, +examine it, and then print it using a RAW print queue: + +.RS +.nf +foo2zjs-wrapper testpage.ps > testpage.zm +zjsdecode < testpage.zm +lpr -P raw testpage.zm +.fi +.RE +.P +Create a color ZjStream stream from a Postscript document: + +.RS +.nf +foo2zjs-wrapper -c testpage.ps > testpage.zc +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2zjs-wrapper +.SH SEE ALSO +.BR foo2zjs (1), +.BR zjsdecode (1) +.SH "AUTHOR" +Rick Richardson +.br --- foo2zjs-20090217.orig/debian/zjsdecode.1 +++ foo2zjs-20090217/debian/zjsdecode.1 @@ -0,0 +1,86 @@ +.TH ZJSDECODE 1 "November 21, 2005" ZJSDECODE 1 +.SH NAME +zjsdecode \- Decode a ZjStream into human readable form. +.SH SYNOPSIS +.B zjsdecode +.RI [ options "] <" zjs-file +.SH DESCRIPTION +.B zjsdecode +decodes a ZjStream into human readable form. +.P +A ZjStream is the printer langauge used by some Minolta/QMS and +HP printers, such as the 2300DL and LJ-1000. +.P +More information on Zenographics ZjStream can be found at: +.P +.RS +http://ddk.zeno.com +.RE + +.SH COMMAND LINE OPTIONS +These are the options that can appear on the command line. +.TP +.BI \-d\0 basename +Basename of .pbm file for saving decompressed planes. +.TP +.BI \-r\0 basename +Basename of .jbg file for saving raw planes +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Decode an ZjStream file created by foo2zjs. + +.nf +.ft CW +$ zjsdecode < testpage.zm +ZJT_START_DOC, 3 items + ZJI_PAGECOUNT, 0 (0x0) + ZJI_DMDUPLEX, 1 (0x1) + ZJI_QUANTITY, 1 (0x1) +ZJT_START_PAGE, 17 items + ZJI_0x17, 0 (0x0) + ZJI_0x16, 1 (0x1) + ZJI_VIDEO_X, 10200 (0x27d8) + ZJI_VIDEO_Y, 6600 (0x19c8) + ZJI_VIDEO_BPP, 1 (0x1) + ZJI_RASTER_X, 10200 (0x27d8) + ZJI_RASTER_Y, 6600 (0x19c8) + ZJI_OFFSET_X, 0 (0x0) + ZJI_OFFSET_Y, 0 (0x0) + ZJI_NBIE, 1 (0x1) + ZJI_RESOLUTION_X, 1200 (0x4b0) + ZJI_RESOLUTION_Y, 600 (0x258) + ZJI_DMDEFAULTSOURCE, 7 (0x7) + ZJI_DMCOPIES, 1 (0x1) + ZJI_DMPAPER, 1 (0x1) + ZJI_DMMEDIATYPE, 1 (0x1) + ZJI_MINOLTA_PAGE_NUMBER, 1 (0x1) +ZJT_JBIG_BIH, 0 items + Data: 20 bytes + DL = 0, D = 0, P = 1, - = 0, XY = 10200 x 6600 + L0 = 128, MX = 16, MY = 0 + Order = 3 ILEAVE SMID + Options = 92 LRLTWO TPDON TPBON DPON + 52 stripes, 0 layers, 1 planes +ZJT_JBIG_BID, 0 items + Data: 65536 bytes +ZJT_JBIG_BID, 0 items + Data: 29120 bytes +ZJT_END_JBIG, 0 items +ZJT_END_PAGE, 0 items +ZJT_END_DOC, 0 items +.ft P +.fi + +.SH FILES +.BR /usr/bin/zjsdecode +.SH SEE ALSO +.BR foo2zjs-wrapper (1), +.BR foo2zjs (1), +.BR jbg2pbm (1) +.SH "AUTHOR" +Rick Richardson +.br + --- foo2zjs-20090217.orig/debian/foo2zjs.preinst +++ foo2zjs-20090217/debian/foo2zjs.preinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = install ] || [ "$1" = upgrade ]; then + if [ -e "/etc/udev/rules.d/85-hplj10xx.rules" ]; then + if [ "`md5sum \"/etc/udev/rules.d/85-hplj10xx.rules\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' foo2zjs | sed -n -e \"\\\\' /etc/udev/rules.d/85-hplj10xx.rules's/.* //p\"`" ] + then + rm -f "/etc/udev/rules.d/85-hplj10xx.rules" + fi + fi +fi + +#DEBHELPER# --- foo2zjs-20090217.orig/debian/foo2xqx.1 +++ foo2zjs-20090217/debian/foo2xqx.1 @@ -0,0 +1,149 @@ +.TH foo2xqx 1 "Thu Jan 04 22:10:07 2007" "foo2xqx 0.0" +.SH NAME +foo2xqx \- Convert Ghostscript pbmraw into a +XQX printer stream +.SH SYNOPSIS +.B foo2xqx +.RI [ options "] <" pbmraw-file " >" xqx-file +.SH DESCRIPTION +.B foo2xqx +converts Ghostscript pbmraw to monochrome +XQX streams, +for driving the HP LaserJet M1005 MFP +and other XQX-based printers. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-d\0 duplex +Duplex code to send to printer [1]. +.TS +| n l | n l | n l . +1 off 2 long edge 3 short edge +.TE +.TP +.BI \-g\0 xpix x ypix +Set page dimensions in pixels [10200x6600]. +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +l l l +l n n. +_ +Media M1005 +_ +standard 1 +transparency 2 +envelope 257 +letterhead 259 +thick 261 +postcard 262 +labels 263 +.TE +.TP +.BI \-p\0 paper +Paper code to send to printer [1]. +.TS +| n l | n l. +1 letter 9 A4 +5 legal 11 A5 +7 executive 13 B5 +20 env #10 27 env DL +28 env C5 34 env B5 +37 env Monarch +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [1200x600]. +.TP +.BI \-s\0 source +Source (InputSlot) code to send to printer [7]. +.TS +| n l | n l. +1 upper 4 manual +2 lower 7 auto +.TE +.TP +.BI \-t +Draft mode. Every other pixel is white. +.TP +.BI \-J\0 filename +Filename string to send to printer. +.TP +.BI \-U\0 username +Username string to send to printer. +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2xqx\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [0x0]. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [0x0]. +.TP +.BI \-L\0 mask +Send logical clipping amounts implied by -u/-l in the ZjStream [3]. +.TS +l l. +0 don't send any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.TP +.BI \-A +AllIsBlack: convert C=1,M=1,Y=1 to just K=1. Works with bitcmyk input only. +.TP +.BI \-B +BlackClears: K=1 forces C,M,Y to 0. Works with bitcmyk input only. +.SS Debugging Options +These options are used for debugging \fBfoo2xqx\fP. +.TP +.BI \-S\0 plane +Output just a single color plane from a color print and print it +on the black plane. The default is to output all color planes. +.TS +l l. +1 Cyan +2 Magenta +3 Yellow +4 Black +.TE +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a black and white XQX stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ + -sOutputFile=- - < testpage.ps \ +| foo2xqx -r1200x600 -g10200x6600 -p1 >testpage.zm +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2xqx +.SH SEE ALSO +.BR foo2xqx-wrapper (1), +.BR xqxdecode (1) +.SH "AUTHOR" +Rick Richardson +.br +http://foo2xqx.rkkda.com/ +'/" +'/" +'/" +.em pdf_outline --- foo2zjs-20090217.orig/debian/85-hplj10xx.rules +++ foo2zjs-20090217/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-20090217.orig/debian/okidecode.1 +++ foo2zjs-20090217/debian/okidecode.1 @@ -0,0 +1,35 @@ +.TH OKIDECODE 1 "February 05, 2006" OKIDECODE 1 +.SH NAME +okidecode \- Decode a ZjStream into human readable form +.SH SYNOPSIS +.B okidecode +.RI okidecode [options] < oki-file +.SH DESCRIPTION +.B okidecode +Decode a ZjStream into human readable form. +A ZjStream is the printer langauge used by some Minolta/QMS and +HP printers, such as the 2300DL and LJ-1000. +More information on Zenographics ZjStream can be found at: +http://ddk.zeno.com +.SH COMMAND LINE OPTIONS +.TP +.BI \-D\0 level +Set Debug level [0]. +.TP +.BI \-d\0 basename +Basename of .pbm file for saving decompressed planes. +.TP +.BI \-r\0 basename +Basename of .jbg file for saving raw planes. +.TP +.BI \-o +Print file offsets. +.TP +.BI \-h +Print hexfile offsets. +.SH SEE ALSO +.BR foo2zjs (1), +.BR zjsdecode (1) +.SH "AUTHOR" +Rick Richardson +.br --- foo2zjs-20090217.orig/debian/lavadecode.1 +++ foo2zjs-20090217/debian/lavadecode.1 @@ -0,0 +1,88 @@ +.TH lavadecode 1 "Thu Jan 04 22:10:08 2007" "lavadecode 0.0" +.SH NAME +lavadecode \- Decode a XQX stream into human readable form. +.SH SYNOPSIS +.B lavadecode +.RI [ options "] <" zjs-file +.SH DESCRIPTION +.B lavadecode +decodes a LAVAFLOW stream into human readable form. +.P +A LAVAFLOW stream is the printer langauge used by some Konica Minolta +printers, such as the KM magicolor 2530 DL. + +.SH COMMAND LINE OPTIONS +These are the options that can appear on the command line. +.TP +.BI \-d\0 basename +Basename of .pbm file for saving decompressed planes. +.TP +.BI \-h +Print hex file offsets. +.TP +.BI \-o +Print file offsets. +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Decode an LAVAFLOW stream file created by foo2lava. + +.nf +.ft CW +$ lavadecode -h < testpage.prn + 0: \\033%-12345X@PJL JOB NAME="stdin" + 1f: \\033%-12345X@PJL JOB USERNAME="" + 3d: \\033%-12345X@PJL JOB TIMESTAMP="12/12/2006" + 66: \\033%-12345X@PJL JOB OSINFO="Linux/2.6.17-1.2187_FC5" + 99: \\033%-12345X@PJL ENTER LANGUAGE=LAVAFLOW + bf: \\033E RESET + c1: \\033&l0S DUPLEX + c6: \\033&l0G + cb: \\033&u1200D X RESOLUTION + d3: \\033&l1X COPIES + d8: \\033&x1X TRANSMIT ONCE COPIES + dd: \\033&l0O ORIENTATION + e2: \\033*r1U NBIE + e7: \\033*g8W BW/COLOR + ec: \\033*b1234M COMPRESSION + f4: \\033&l2A PAGE SIZE + f9: \\033&l255H PAPER SOURCE + 100: \\033&l0M MEDIA TYPE + 105: \\033&l0E TOP MARGIN + 10a: \\033*r9820S X RASTER + 112: \\033*r6410T Y RASTER + 11a: \\033&l0U + 11f: \\033&l0Z + 124: \\033*p200X X OFFSET + 12b: \\033*p200Y Y OFFSET + 132: \\033*r1A [Page 1] + 137: \\033*b20V [black] + DL = 0, D = 0, P = 1, - = 0, XY = 9820 x 6410 + L0 = 128, MX = 16, MY = 0 + Order = 3 ILEAVE SMID + Options = 92 LRLTWO TPDON TPBON DPON + 51 stripes, 0 layers, 1 planes + + 151: \\033*b65536W JBIG data (cont) + 1015a: \\033*b27374W JBIG data (cont) + 16c51: \\033*r0C END PAGE + 16c56: \\033E RESET + 16c58: \\033%-12345X +.ft P +.fi + +.SH FILES +.BR /usr/bin/lavadecode +.SH SEE ALSO +.BR foo2lava-wrapper (1), +.BR foo2lava (1) +.SH "AUTHOR" +Rick Richardson +.br +http://foo2xqx.rkkda.com/ +'/" +'/" +'/" +.em pdf_outline --- foo2zjs-20090217.orig/debian/foo2hp.1 +++ foo2zjs-20090217/debian/foo2hp.1 @@ -0,0 +1,174 @@ +.\" 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 FOO2HP 1 "November 19, 2005" +.SH NAME +foo2zjs \- Convert Ghostscript pbmraw or bitcmyk format into a +ZJS printer stream +.SH SYNOPSIS +.B foo2zjs +.RI [ options "] <" pbmraw-file " >" zjs-file +.sp 1 +.B foo2zjs +.RI [ options "] <" bitcmyk-file " >" zjs-file +.sp 1 +.B foo2zjs +.RI [ options "] <" pksmraw-file " >" zjs-file +.SH DESCRIPTION +.B foo2zjs +converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats to monochrome +or color ZJS streams, +for driving the Minolta/QMS 2300 DL network color laser printer +and other Zenographics-based printers. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-c +Force color mode if autodetect doesn't work. +.TP +.BI \-d\0 duplex +Duplex code to send to printer [1]. +.TS +| n l | n l | n l . +1 off 2 long edge 3 short edge +.TE +.TP +.BI \-g\0 xpix x ypix +Set page dimensions in pixels [10200x6600]. +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +l l l +l n n. +_ +Media 2300DL 2200DL +_ +standard 1 1 +transparency 2 2 +envelope 257 na +letterhead 259 na +thick 261 4 +postcard 262 na +labels 263 3 +.TE +.TP +.BI \-p\0 paper +Paper code to send to printer [1]. +.TS +| n l | n l. +1 letter 9 A4 +5 legal 11 A5 +7 executive 13 B5 +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [1200x600]. +.TP +.BI \-s\0 source +Source (InputSlot) code to send to printer [7]. +1 upper 4 manual +2 lower 7 auto +.TE +.TP +.BI \-J\0 filename +Filename string to send to printer. +.TP +.BI \-U\0 username +Username string to send to printer. +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2zjs\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [0x0]. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [0x0]. +.TP +.BI \-L\0 mask +Send logical clipping amounts implied by -u/-l in the ZjStream [3]. +.TS +l l. +0 don't send any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.TP +.BI \-P +Do not send START_PLANE codes on monochrome output. May be +needed by some black and white only printers, such as the +HP LaserJet 1000. +.TP +.BI \-A +AllIsBlack: convert C=1,M=1,Y=1 to just K=1. Works with bitcmyk input only. +.TP +.BI \-B +BlackClears: K=1 forces C,M,Y to 0. Works with bitcmyk input only. +.TP +.BI \-X\0 padlen +Add extra zero padding to the end of BID segments. The default is +16 bytes. Padding 16 bytes of zeroes +is needed for older ZjStream printers, such as the Minolta 2200DL +and HP LaserJet 1000, and seems harmless to newer ones, such as +the Minolta 2300DL. So the default should be good for all cases. +.SS Debugging Options +These options are used for debugging \fBfoo2zjs\fP. +.TP +.BI \-S\0 plane +Output just a single color plane from a color print and print it +on the black plane. The default is to output all color planes. +.TS +l l. +1 Cyan +2 Magenta +3 Yellow +4 Black +.TE +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a black and white ZJS stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ + -sOutputFile=- - < testpage.ps \ +| foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zm +.fi +.RE +.P +Create a color ZJS stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ + -sOutputFile=- - < testpage.ps \ +| foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zc +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2zjs +.SH SEE ALSO +.BR foo2zjs-wrapper (1), +.BR zjsdecode (1) +.SH "AUTHOR" +Rick Richardson +.br +http://foo2zjs.rkkda.com/ + --- foo2zjs-20090217.orig/debian/arm2hpdl.1 +++ foo2zjs-20090217/debian/arm2hpdl.1 @@ -0,0 +1,19 @@ +.\" 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 ARM2HPDL 1 "November 19, 2005" +.SH NAME +arm2hpdl \- part of the printer driver foo2zjs +.SH SYNOPSIS +.B arm2hpdl [options] sihp1005.img > sihp1005.dl +.SH DESCRIPTION +.B arm2hpdl +adds HP download header/trailer to an ARM ELF binary. +If the file already has an HP header there is no need to use arm2hpdl. +.PP +.SH AUTHOR +arm2hpdl 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-20090217.orig/debian/compat +++ foo2zjs-20090217/debian/compat @@ -0,0 +1 @@ +5 --- foo2zjs-20090217.orig/debian/foo2hp2600-wrapper.1 +++ foo2zjs-20090217/debian/foo2hp2600-wrapper.1 @@ -0,0 +1,102 @@ +.\" 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 FOO2HP2600-wrapper 1 "November 19, 2005" +.SH NAME +foo2hp2600-wrapper \- part of the printer driver foo2zjs +.SH SYNOPSIS +.B foo2hp2600-wrapper [options] [ps-file] +.SH DESCRIPTION +.B foo2hp2600-wrapper +is a foomatic printer wrapper for the foo2hp2600 printer driver. +This script reads a Postscript ps-file or standard input +and converts it to Zenographics ZjStream printer format. +.PP +.SH Normal Options: +.TP +.B \-b bits +Bits per plane (1 or 2) [1] +.TP +.B \-c +Print in color (else monochrome) +.TP +.B \-d duplex +Duplex code to send to printer [1] +1=off, 2=longedge, 3=shortedge +.TP +.B \-m media +Media code to send to printer [1] +1=standard, 2=transparency, 3=glossy, 257=envelope, +259=letterhead, 261=thickstock, 262=postcard, 263=labels +.TP +.B \-p paper +Paper code [1] +1=letter, 5=legal, 7=executive, 9=A4, 11=A5, 13=B5 +.TP +.B \-n copies +Number of copies [1] +.TP +.B \-r x +Set device resolution in pixels/inch [600x600] +.TP +.B \-s source +Source code to send to printer [7] +1=upper, 2=lower, 4=manual, 7=auto +Code numbers may vary with printer model. +-2 / -4 2-up, 4-up + +.SH Printer Tweaking Options: +.TP +.B \-u x +Set offset of upper left printable in pixels [varies] +.TP +.B \-l x +Set offset of lower right printable in pixels [varies] +.TP +.B \-L mask +Send logical clipping values from -u/-l in ZjStream [3] +0=no, 1=Y, 2=X, 3=XY +.TP +.B \-P +Do not output START_PLANE codes. May be needed by some +monochrome-only printers. +.TP +.B \-X padlen +Add extra zero padding to the end of BID segments [16] + +.SH Color Tweaking Options: +.TP +.B \-g gsopts +Additional options to pass to Ghostscript, such as +-dDITHERPPI=nnn, etc. May appear more than once. [] +.TP +.B \-G profile.icm +Convert profile.icm to a Postscript CRD using icc2ps and +adjust colors using the setcolorrendering PS operator. +/usr/share/foo2zjs/icm/ will be searched for profile.icm. +.TP +.B \-I intent +Select profile intent from ICM file [0] +0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute +.TP +.B \-G gamma-file.ps +Prepend gamma-file to the Postscript input to perform +color correction using the setcolortransfer PS operator. + +.SH Debugging Options: +.TP +.B \-S plane +Output just a single color plane from a color print [all] +1=Cyan, 2=Magenta, 3=Yellow, 4=Black +.TP +.B \-D lvl +Set Debug level [0] +.TP +.B \-V $Id: foo2hp2600-wrapper.in,v 1.5 2005/11/13 14:57:13 rick Exp $ + +.SH AUTHOR +foo2hp2600-wrapper 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-20090217.orig/debian/docs +++ foo2zjs-20090217/debian/docs @@ -0,0 +1 @@ +README --- foo2zjs-20090217.orig/debian/foo2lava.1 +++ foo2zjs-20090217/debian/foo2lava.1 @@ -0,0 +1,174 @@ +.TH foo2lava 1 "Thu Jan 04 22:10:07 2007" "foo2lava 0.0" +.SH NAME +foo2lava \- Convert Ghostscript pbmraw or bitcmyk format into a +LAVAFLOW printer stream +.SH SYNOPSIS +.B foo2lava +.RI [ options "] <" pbmraw-file " >" lava-file +.sp 1 +.B foo2lava +.RI [ options "] <" bitcmyk-file " >" lava-file +.sp 1 +.B foo2lava +.RI [ options "] <" pksmraw-file " >" lava-file +.SH DESCRIPTION +.B foo2lava +converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats to monochrome +or color LAVAFLOW streams, +for driving the Konica Minolta magicolor 2530 DL network color laser printer +and other Zenographics-based LAVAFLOW printers. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-c +Force color mode if autodetect doesn't work. +.TP +.BI \-d\0 duplex +Duplex code to send to printer [1]. +.TS +| n l | n l | n l . +1 off 2 long edge 3 short edge +.TE +.TP +.BI \-g\0 xpix x ypix +Set page dimensions in pixels [10200x6600]. +.TP +.BI \-m\0 media +Media code to send to printer [0]. +.TS +l l l +l n n. +_ +Media 2530DL +_ +plain 0 +transparency 4 +thick stock 20 +envelope 22 +letterhead 23 +postcard 25 +labels 26 +recycled 27 +.TE +.TP +.BI \-p\0 paper +Paper code to send to printer [2]. +.TS +| n l | n l. +1 executive 25 A5 +2 letter 26 A4 +3 legal 45 B5jis +80 env Monarch 65 B5iso +81 env #10 90 env DL +91 env C5 92 env C6 +835 4x6" photo 837 10x15cm photo +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [1200x600]. +.TP +.BI \-s\0 source +Source (InputSlot) code to send to printer [255]. +.TS +| n l | n l. +1 Tray 1 255 auto +4 Tray 2 +.TE +.TP +.BI \-t +Draft mode. Every other pixel is white. +.TP +.BI \-J\0 filename +Filename string to send to printer. +.TP +.BI \-U\0 username +Username string to send to printer. +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2lava\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [0x0]. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [0x0]. +.TP +.BI \-L\0 mask +Send logical clipping amounts implied by -u/-l in the LAVAFLOW stream [3]. +.TS +l l. +0 don't send any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.TP +.BI \-A +AllIsBlack: convert C=1,M=1,Y=1 to just K=1. Works with bitcmyk input only. +.TP +.BI \-B +BlackClears: K=1 forces C,M,Y to 0. Works with bitcmyk input only. +.TP +.BI \-z\0 model +Model: 0=2530DL. Default is 0. +.SS Debugging Options +These options are used for debugging \fBfoo2lava\fP. +.TP +.BI \-S\0 plane +Output just a single color plane from a color print and print it +on the black plane. The default is to output all color planes. +.TS +l l. +1 Cyan +2 Magenta +3 Yellow +4 Black +.TE +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a black and white LAVAFLOW stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ + -sOutputFile=- - < testpage.ps \ +| foo2lava -r1200x600 -g10200x6600 -p1 >testpage.zm +.fi +.RE +.P +Create a color LAVAFLOW stream: + +.RS +.nf +gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ + -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ + -sOutputFile=- - < testpage.ps \ +| foo2lava -r1200x600 -g10200x6600 -p1 >testpage.zc +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2lava +.SH SEE ALSO +.BR foo2lava-wrapper (1), +.BR lavadecode (1) +.SH "AUTHOR" +Rick Richardson +.br +http://foo2zjs.rkkda.com/ +'/" +'/" +'/" +.em pdf_outline --- foo2zjs-20090217.orig/debian/manpages +++ foo2zjs-20090217/debian/manpages @@ -0,0 +1,16 @@ +debian/arm2hpdl.1 +debian/foo2hp.1 +debian/foo2hp2600-wrapper.1 +debian/foo2zjs-icc2ps.1 +debian/usb_printerid.1 +debian/zjsdecode.1 +debian/foo2oak-wrapper.1 +debian/foo2zjs.1 +debian/foo2zjs-wrapper.1 +debian/okidecode.1 +debian/lavadecode.1 +debian/foo2lava.1 +debian/foo2lava-wrapper.1 +debian/foo2xqx.1 +debian/foo2xqx-wrapper.1 +debian/xqxdecode.1 --- foo2zjs-20090217.orig/debian/foo2xqx-wrapper.1 +++ foo2zjs-20090217/debian/foo2xqx-wrapper.1 @@ -0,0 +1,146 @@ +.TH foo2xqx-wrapper 1 "Thu Jan 04 22:10:07 2007" "foo2xqx-wrapper 0.0" +.SH NAME +foo2xqx-wrapper \- Convert Postscript into a XQX printer stream +.SH SYNOPSIS +.B foo2xqx-wrapper +.RI [ options "] [" ps-file ] +.SH DESCRIPTION +.B foo2xqx-wrapper +is a Foomatic compatible printer wrapper for the \fBfoo2xqx\fP printer driver. +This script reads a Postscript \fIps-file\fP or standard input +and converts it to XQX printer format +for driving the HP LaserJet M1005 MFP +and other XQX-based printers. +.P +This script can be used in a standalone fashion, but is intended to +be called from a printer spooler system which uses the Foomatic +printer database. + +.SH COMMAND LINE OPTIONS +.SS Normal Options +These are the options used to select the parameters of a +print job that are usually controlled on a per job basis. +.TP +.BI \-d\0 duplex +Duplex code to send to printer [1]. +.TS +| n l | n l | n l . +1 off 2 long edge 3 short edge +.TE +.TP +.BI \-m\0 media +Media code to send to printer [1]. +.TS +l l l +l n n. +_ +Media M1005 +_ +standard 1 +transparency 2 +envelope 257 +letterhead 259 +thick 261 +postcard 262 +labels 263 +.TE +.TP +.BI \-p\0 paper +Paper size code to send to printer [1]. +.TS +| n l | n l. +1 letter 9 A4 +5 legal 11 A5 +7 executive 13 B5 +20 env #10 27 env DL +28 env C5 34 env B5 +37 env Monarch +.TE +.TP +.BI \-n\0 copies +Number of copies [1]. +.TP +.BI \-r\0 xres x yres +Set device resolution in pixels/inch [1200x600]. +.TP +.BI \-s\0 source +Source (Input Slot) code to send to printer [7]. +.TS +| n l | n l. +1 upper 4 manual +2 lower 7 auto +.TE +.TP +.BI \-t +Draft mode. Every other pixel is white. +.TP +.BI "\-2 \-3 \-4 \-5 \-6 \-8 \-9 \-10 \-12 \-14 \-15 \-16 \-18" +Print in N-up. Requires the \fBpsutils\fP package. +.TP +.BI \-o\0 orient +Orientation used for N-up. +.TS +l l l. +Portrait -op (normal) +Landscape -ol (rotated 90 degrees anticlockwise) +Seascape -os (rotated 90 degrees clockwise) +.TE +.SS Printer Tweaking Options +These are the options used to customize the operation of \fBfoo2xqx\fP +for a particular printer. +.TP +.BI \-u\0 xoff x yoff +Set the offset of the start of the printable region from the +upper left corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-l\0 xoff x yoff +Set the offset of the end of the printable region from the +lower right corner, in pixels [varies with paper size]. +The defaults should work on the 2200DL and 2300DL, and have not +been tested on any other printers. +.TP +.BI \-L\0 mask +Send the logical clipping values from -u/-l in the ZjStream. +\fBfoo2xqx-wrapper\fP always runs Ghostscript with the ideal page dimensions, +so that the scale of the image is correct, +regardless whether or not the printer has unprintable regions. +This option is used to move the position of the clipped image +back to where it belongs on the page. The default is to send +the amount which was clipped by -u and -l, and should be +good in most cases. +.TS +l l. +0 don't send any logical clipping amounts +1 only send Y clipping amount +2 only send X clipping amount +3 send both X and Y clipping amounts +.TE +.SS Debugging Options +These options are used for debugging \fBfoo2xqx\fP and its wrapper. +.TP +.BI \-D\0 level +Set Debug level [0]. + +.SH EXAMPLES +Create a monochrome ZjStream from a Postscript document, +examine it, and then print it using a RAW print queue: + +.RS +.nf +foo2xqx-wrapper testpage.ps > testpage.xqx +xqxdecode < testpage.xqx +lpr -P raw testpage.xqx +.fi +.RE + +.SH FILES +.BR /usr/bin/foo2xqx-wrapper +.SH SEE ALSO +.BR foo2xqx (1), +.BR xqxdecode (1) +.SH "AUTHOR" +Rick Richardson +.br +http://foo2xqx.rkkda.com/ --- foo2zjs-20090217.orig/debian/patches/40-path-correction.dpatch +++ foo2zjs-20090217/debian/patches/40-path-correction.dpatch @@ -0,0 +1,44 @@ +#!/bin/sh -e +## 40-path-correction.dpatch, by Steffen Joeris +## +## 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@ +diff -urNad foo2zjs-20071205~/hplj1000 foo2zjs-20071205/hplj1000 +--- foo2zjs-20071205~/hplj1000 2007-11-25 11:55:09.000000000 +0000 ++++ foo2zjs-20071205/hplj1000 2007-12-05 16:06:32.000000000 +0000 +@@ -40,14 +40,7 @@ + # + # Program used to determine USB printer id information + # +-# NOTE: /usr/bin is NOT mounted at this point +-# +-# e.g. /etc/rc.sysinit: +-# /sbin/start_udev +-# [snip] +-# # Mount all other filesystems (except for NFS and /proc, which is already +-# +-PRINTERID=/bin/usb_printerid ++PRINTERID=/usr/bin/usb_printerid + + # + # Figure out how to log our messages --- foo2zjs-20090217.orig/debian/patches/00list +++ foo2zjs-20090217/debian/patches/00list @@ -0,0 +1 @@ +40-path-correction