Re: lpr subset standard wanted
Klaus Singvogel from Caldera Erlangen has compiled a list of
different print packages and command line switches.
--
BSD lpr: oldlpr-0.48
LPRng: 3.7.4
GNU lpr: CVS-Branch 2001-Feb-13 (derived from BSDs LPR -> not much difference)
CUPS: 1.1.6
x = is working
o = obsoletes (author wishes no to use it anymore)
c = compatible (is just there, but does nothing)
? = should working, please check
+----------+------+-------+------+------+
| lpc | BSD | LPRng | GNU | CUPS |
+----------+------+-------+------+------+
| -A | | x | | | use authentication
| -D <> | | x | | | enable specified <debug options>
| -P <> | | x | | | operate on specified <spool>
| -S <> | | x | | | operate on specified <server>
| -V | | x | | | print version
| -U <> | | x | | | operate as user <username>
| -a | | x | | | alias for -Pall
+----------+------+-------+------+------+
| abort | x | x | x | |
| active | | x | | |
| class | | x | | |
| clean | x | | x | |
| client | | x | | |
| defaultq | | x | | |
| defaults | | x | | |
| debug | | x | | |
| disable | x | x | x | |
| down | x | x | x | |
| enable | x | x | x | |
| exit | x | x | x | x |
| flush | | x | | |
| help | x | x | x | x |
| hold | | x | | |
| holdall | | x | | |
| kill | | x | | |
| lang | | x | | |
| lpd | | x | | |
| lpq | | x | | |
| lprm | | x | | |
| move | | x | | |
| msg | | x | | |
| quit | x | x | x | x |
| redirect | | x | | |
| release | | x | | |
| reread | | x | | |
| restart | x | | x | |
| server | | x | | |
| start | x | x | x | |
| status | x | x | x | x |
| stop | x | x | x | |
| topq | x | x | x | |
| up | x | x | x | |
+----------+------+-------+------+------+
+----------+------+-------+------+------+
| lpq | BSD | LPRng | GNU | CUPS |
+----------+------+-------+------+------+
| -A | | x | | | use authentication
| -D <> | | x | | | enable specified <debug options>
| -E | | | | x | enable (ssl) encrypted connection
| -L | | x | | | maximum verbosity
| -P <> | x | x | x | x | operate on specified <spool>
| -U <> | | x | | | operate as user <username>
| -V | | x | x | | print version, short format
| -a | x | x | x | | use all printers of printcap
| -c | | x | | | clear screen
| -h | | | x | | restrict to local printers only
| -l | | x | | x | increase verbosity
| -l | x | | x | | long output
| -n <> | | x | | | status line count restricted to <n> lines
| -s | | x | | | short, single line status summary
| -t <> | | x | | | periodicaly display queues with <seconds> delay
| + <> | | | | x | periodicaly display queues with <seconds> delay
| -v | | x | | | print version, long format
+----------+------+-------+------+------+
+----------+------+-------+------+------+
| lpr | BSD | LPRng | GNU | CUPS |
+----------+------+-------+------+------+
| -1 <> | x | o | x | | specified <font> for TROFF position i
| -2 <> | x | o | x | | specified <font> for TROFF position i
| -3 <> | x | o | x | | specified <font> for TROFF position i
| -4 <> | x | o | x | | specified <font> for TROFF position i
| -# <> | x | x | x | x | number of <copies> (as -K)
| -A | | x | | | use authentication
| -B | | x | | | do no filtering on all files
| -C <> | x | x | x | x | print on specified <printer class>
| -D <> | | x | | | enable specified <debug options>
| -E | | | | x | enable (ssl) encrypted connection
| -F <> | | x | | | use specified <filter or format>
| -G | | x | | | do no filtering on specified files
| -J <> | x | x | x | x | use specified <jobname>
| -K <> | | x | | | number of <copies> (as -#)
| -N | | x | | | check for nonprintable data
| -N | | | x | | run notification program lpnotify
| -P <> | x | x | x | x | operate on specified <printer>
| -Q | | x | | | put name of spool queue into job file
| -R <> | | x | | | use <remote account>
| -T <> | x | x | x | x | use <title>
| -U <> | x | x | x | | operate as user <username>
| -V | | x | x | | increase verbose mode
| -X <> | | x | | | userspecified <path> for job filters
| -Y | | x | | | direct connect to printer, no spooling
| -Z <> | | x | | | pass specified <options> to print spooler (as -o)
| -b | | x | | | raw input, no processing (as -l)
| -c | x | x | x | c | filter: data is cifplot format
| -d | x | x | x | c | filter: data is tex format
| -f | x | x | x | c | filter: data is fortran format
| -g | x | x | x | c | filter: data is plot format
| -h | x | x | x | x | no banner page
| -i <> | x | x | x | c | indent by <indentcols>
| -k | | x | | | no temp file, directly send to printer
| -l | x | x | x | x | raw input, no processing (as -b)
| -m <> | | x | | | send mailto <user> on completion
| -m | x | | x | c | send mailto user on completion
| -n | x | x | x | c | filter: data is troff output
| -o <> | | x | x | x | pass specified <options> to print spooler (as -Z)
| -p | x | x | x | x | filter: data is preprocessed by pr(1)
| -q | x | | x | | only queue job
| -r | x | x | x | x | filter: remove after printing
| -s | x | c | x | c | create symbolic link for files printed
| -t | x | x | x | c | filter: data is troff output (as -n)
| -v | x | x | x | c | filter: data is raster image
| -w <> | x | x | x | c | use specified <page width>
| -z <> | | | x | | pass specified <options> to print spooler (as -o)
+----------+------+-------+------+------+
+----------+------+-------+------+------+
| lprm | BSD | LPRng | GNU | CUPS |
+----------+------+-------+------+------+
| -A | | x | | | use authentication
| -D <> | | x | | | enable specified <debug options>
| -E | | | | x | enable (ssl) encrypted connection
| -P <> | x | x | x | x | operate on specified <spool>
| -U <> | | x | | | operate as user <username>
| -V | | x | | | print version, verbose information about activities
| -a | | x | | | remove files from all spools available
| - | | | x | x | remove files from all spools available
+----------+------+-------+------+------+
--
______ ___
/ ___/__/ / Caldera (Deutschland) GmbH
/ /_/ _ / /__ Naegelsbachstr. 49c, 91052 Erlangen, Germany
/_____/_/ /____/ software developer / lsb project
==== /____/ ===== Dipl. Inf. Johannes Poehlmann, mail: jhp@caldera.de
Caldera OpenLinux phone: ++49 9131 7192 335, fax: ++49 9131 7192 399
Reply to: