For changes prior to version 1.5, see the file NEWS.
For a more detailed list of changes, see the ChangeLog.
November 24, 2019: Release 1.8. Added more options for setting margins. Added a 'custom' paper size to lprwrap. Added support for using enscript instead of mpage. March 27, 2012: Release 1.7. Portability improvements. Lprwrap: pass unrecognized -o options to the underlying lpr, so that applications expecting a CUPS lpr will still work. Changed the way lprwrap calls the "real" lpr. July 23, 2011: Release 1.6. Improved portability. Lprwrap: Compatibility with newer versions of CUPS has been improved. The -ocups option to lprwrap now replaces the old lprwrap-cups script. Allow multiple -ofudge options. New --lpr option can be used to specify the backend "lpr" executable. The TEMPDIR environment variable is now respected. Support for pdftops added. Added a size limit on text files, and a --force option to override it. Psdim: when compiled with metric defaults, use metric units in the output format string. New options --[lrtb]adjust for adjusting the bounding box of input document. Compensate for certain PostScript files generated by Acrobat Reader that resulted in shifted output. February 15, 2007: Release 1.5. The new upprint package combines the features of the old lpr-wrapper and psdim packages. It contains lprwrap, psdim, as well as the new program pstops-clip. Page clipping was improved, so that documents with opaque backgrounds can now be printed in n-up mode. A 'fudge' feature was added to allow more flexible margin detection. The lpr-wrapper program was renamed lprwrap. |
If you would like to ensure the accuracy of the downloaded files, you
can double-check their SHA1 sums.
|
For psdim to work, ghostscript must be installed on your system.
For lprwrap to work, you need at least: bash, lpr, file, mktemp, sed, and awk. For enhanced functionality, you should also have: getopt, mpage, gzip, bzip2, iconv, dvips, and pdf2ps. For your convenience, here are some links to the required packages. The software marked "*" is required. |
You can build and install the upprint tools from sources using the standard configure/make commands. Please see the file INSTALL for generic installation instructions. Also see the file README for specific compile time configuration options. Redhat RPM packages are also available. |
You can use the lprwrap program in the same way you normally use
"lpr", for example:
lprwrap -oduplex test.psThis should print the page in duplex (double-sided) format, if your printer allows it. If you are using the CUPS printing system, use lprwrap -ocups -oduplex test.psinstead. Also try 2-up printing with lprwrap -o2up test.ps For ease of use, you can create an alias, for example by putting the following into the ".bashrc" file in your home directory: alias lpr='lprwrap -h'You can now run the lprwrap utility by the name "lpr". The older method, which involved renaming "lprwrap" as "lpr", is no longer recommended. |
In the simplest case, psdim can be used to figure out
an optimal format string for 2-up printing:
% psdim --2up test.ps [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 2:0@0.93L(9.79in,-1.13in)+1@0.93L(9.79in,4.09in)The resulting format string can be fed directly to pstops: % pstops `psdim --2up test.ps` test.ps test.2up.ps [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [1] [2] [3] [4] [5] Wrote 5 pages, 155746 bytes |
For usage instructions, see the file README. You can also view the man pages lprwrap(1), psdim(1), and pstops-clip(1). |
|
1.8 |
For psdim and lprwrap:Copyright © 2001-2019 Peter Selinger.This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. See the file COPYING for details. For pstops-clip:Copyright © 1991-1995 Angus J. C. Duggan.Copyright © 2006-2019 Peter Selinger. This program may be copied and used for any purpose (including distribution as part of a for-profit product), provided:
|