View | Details | Raw Unified
Collapse All | Expand All

(-) pnm2ppa-1.10/docs/en/INSTALL.orig (-3 / +3 lines)
 Lines 63-70    Link Here 
make install
make install
to install the binaries (by default, in /usr/local/bin/) , 
to install the binaries (by default, in /usr/bin/) , 
the manpage (in /usr/local/man/man1), and the sample
the manpage (in /usr/share/man/man1), and the sample
configuration file (/etc/pnm2ppa.conf).  You may change these locations
configuration file (/etc/pnm2ppa.conf).  You may change these locations
by editing the Makefile.
by editing the Makefile.
 Lines 94-100    Link Here 
not really needed.)
not really needed.)
If this script is placed in /usr/local/bin/ppaprint ,
If this script is placed in /usr/bin/ppaprint ,
ppaprint file.ps
ppaprint file.ps
(-) pnm2ppa.orig/docs/en/INSTALL.SUSE (-2 / +2 lines)
 Lines 5-12    Link Here 
Follow the standard installation instructions in INSTALL and CALIBRATION.  
Follow the standard installation instructions in INSTALL and CALIBRATION.  
The driver pnm2ppa is installed to /usr/local/bin. The manual page
The driver pnm2ppa is installed to /usr/bin. The manual page
pnm2ppa.1 is installed in /usr/local/man/man1. 
pnm2ppa.1 is installed in /usr/share/man/man1. 
2. To integrate pnm2ppa into the BSD print spooler of the Linux system we 
2. To integrate pnm2ppa into the BSD print spooler of the Linux system we 
create   printer spoolers in /etc/printcap, to print 
create   printer spoolers in /etc/printcap, to print 
(-) pnm2ppa.orig/lpd/README.lpd (-1 / +1 lines)
 Lines 22-28    Link Here 
./lpdsetup  a4
./lpdsetup  a4
./lpdsetup  a3
./lpdsetup  a3
This installs the filters in /usr/local/bin and creates the corresponding 
This installs the filters in /usr/bin and creates the corresponding 
spool directories /var/spool/lpd/color, etc, You must be root to do this.
spool directories /var/spool/lpd/color, etc, You must be root to do this.
You may wish to edit the options specified in the filter files 
You may wish to edit the options specified in the filter files 
(-) pnm2ppa.orig/lpd/ascii.if (-2 / +2 lines)
 Lines 1-7    Link Here 
#! /bin/sh
#! /bin/sh
# for printing black and white text (ascii) files.
# for printing black and white text (ascii) files.
FILTER="/usr/local/bin/bw.if"
FILTER="/usr/bin/bw.if"
#FILTER="/usr/local/bin/bweco.if"
#FILTER="/usr/bin/bweco.if"
#------enscript command line--------------------------
#------enscript command line--------------------------
enscript -2rj -p- | $FILTER
enscript -2rj -p- | $FILTER
(-) pnm2ppa.orig/lpd/bw.if (-1 / +1 lines)
 Lines 6-12    Link Here 
#PAPER=a4
#PAPER=a4
#PAPER=a3
#PAPER=a3
#PPAOPTS="-B 2"
#PPAOPTS="-B 2"
PNM2PPA="/usr/local/bin/pnm2ppa"
PNM2PPA="/usr/bin/pnm2ppa"
#------------------dont change below this line----------------------
#------------------dont change below this line----------------------
gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA --bw $PPAOPTS -i - -o -
$PNM2PPA --bw $PPAOPTS -i - -o -
(-) pnm2ppa.orig/lpd/bweco.if (-1 / +1 lines)
 Lines 6-12    Link Here 
#PAPER=a4
#PAPER=a4
#PAPER=a3
#PAPER=a3
#PPAOPTS="-B 2"
#PPAOPTS="-B 2"
PNM2PPA="/usr/local/bin/pnm2ppa"
PNM2PPA="/usr/bin/pnm2ppa"
#------------------dont change below this line----------------------
#------------------dont change below this line----------------------
gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA --bw --eco $PPAOPTS -i - -o -
$PNM2PPA --bw --eco $PPAOPTS -i - -o -
(-) pnm2ppa.orig/lpd/color.if (-1 / +1 lines)
 Lines 6-12    Link Here 
#PAPER=a4
#PAPER=a4
#PAPER=a3
#PAPER=a3
#PPAOPTS="-p"
#PPAOPTS="-p"
PNM2PPA="/usr/local/bin/pnm2ppa"
PNM2PPA="/usr/bin/pnm2ppa"
#------------------dont change below this line----------------------
#------------------dont change below this line----------------------
gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA $PPAOPTS -i - -o -
$PNM2PPA $PPAOPTS -i - -o -
(-) pnm2ppa.orig/lpd/coloreco.if (-1 / +1 lines)
 Lines 6-12    Link Here 
#PAPER=a4
#PAPER=a4
#PAPER=a3
#PAPER=a3
#PPAOPTS="--fd"
#PPAOPTS="--fd"
PNM2PPA="/usr/local/bin/pnm2ppa"
PNM2PPA="/usr/bin/pnm2ppa"
#------------------dont change below this line----------------------
#------------------dont change below this line----------------------
gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA --eco $PPAOPTS -i - -o -
$PNM2PPA --eco $PPAOPTS -i - -o -
(-) pnm2ppa.orig/lpd/lpdsetup (-1 / +1 lines)
 Lines 1-5    Link Here 
#!/bin/sh 
#!/bin/sh 
INSTALLDIR="/usr/local/bin"
INSTALLDIR="/usr/bin"
SPOOLDIR="/var/spool/lpd"
SPOOLDIR="/var/spool/lpd"
PAPER=letter
PAPER=letter
for paper in letter legal a3 a4 ; do
for paper in letter legal a3 a4 ; do
(-) pnm2ppa.orig/lpd/printcap (-5 / +5 lines)
 Lines 6-12    Link Here 
        :sd=/var/spool/lpd/coloreco:\
        :sd=/var/spool/lpd/coloreco:\
        :lf=/var/spool/lpd/coloreco/log:\
        :lf=/var/spool/lpd/coloreco/log:\
        :af=/var/spool/lpd/coloreco/acct:\
        :af=/var/spool/lpd/coloreco/acct:\
        :if=/usr/local/bin/coloreco.if:\
        :if=/usr/bin/coloreco.if:\
        :la:mx#0:\
        :la:mx#0:\
        :sh:sf:
        :sh:sf:
 Lines 16-22    Link Here 
        :sd=/var/spool/lpd/color:\
        :sd=/var/spool/lpd/color:\
        :lf=/var/spool/lpd/color/log:\
        :lf=/var/spool/lpd/color/log:\
        :af=/var/spool/lpd/color/acct:\
        :af=/var/spool/lpd/color/acct:\
        :if=/usr/local/bin/color.if:\
        :if=/usr/bin/color.if:\
        :la:mx#0:\
        :la:mx#0:\
        :sh:sf:
        :sh:sf:
 Lines 26-32    Link Here 
        :sd=/var/spool/lpd/bw:\
        :sd=/var/spool/lpd/bw:\
        :lf=/var/spool/lpd/bw/log:\
        :lf=/var/spool/lpd/bw/log:\
        :af=/var/spool/lpd/bw/acct:\
        :af=/var/spool/lpd/bw/acct:\
        :if=/usr/local/bin/bw.if:\
        :if=/usr/bin/bw.if:\
        :la:mx#0:\
        :la:mx#0:\
        :sh:sf:
        :sh:sf:
 Lines 36-42    Link Here 
        :sd=/var/spool/lpd/bweco:\
        :sd=/var/spool/lpd/bweco:\
        :lf=/var/spool/lpd/bweco/log:\
        :lf=/var/spool/lpd/bweco/log:\
        :af=/var/spool/lpd/bweco/acct:\
        :af=/var/spool/lpd/bweco/acct:\
        :if=/usr/local/bin/bweco.if:\
        :if=/usr/bin/bweco.if:\
        :la:mx#0:\
        :la:mx#0:\
        :sh:sf:
        :sh:sf:
 Lines 46-52    Link Here 
        :sd=/var/spool/lpd/ascii:\
        :sd=/var/spool/lpd/ascii:\
        :lf=/var/spool/lpd/ascii/log:\
        :lf=/var/spool/lpd/ascii/log:\
        :af=/var/spool/lpd/ascii/acct:\
        :af=/var/spool/lpd/ascii/acct:\
        :if=/usr/local/bin/ascii.if:\
        :if=/usr/bin/ascii.if:\
        :la:mx#0:\
        :la:mx#0:\
        :sh:sf:
        :sh:sf:
(-) pnm2ppa-1.10/pnm2ppa.conf.orig (-1 / +1 lines)
 Lines 17-22    Link Here 
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#define _GNU_SOURCE 
#include <string.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <unistd.h>
#include <unistd.h>
 Lines 12-18    Link Here 
# will be used.   The printer version can also be set with the command line
# will be used.   The printer version can also be set with the command line
# option e.g., "-v 720".
# option e.g., "-v 720".
version   ERROR    # PNM2PPA WILL *NOT* WORK UNTIL THIS ENTRY IS REMOVED!!!!
#version  720	# 710, 712, 722 also acceptable
#version  720	# 710, 712, 722 also acceptable
#version  820
#version  820
#version 1000
#version 1000