diff options
author | brian <brian@FreeBSD.org> | 1997-04-12 04:23:13 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-04-12 04:23:13 +0000 |
commit | 9f048c7bd91d08e637caaca983077db46aee2d2c (patch) | |
tree | bfb177d421d17a32ee3f9234e463d1539ba4a968 /share/man/man5/printcap.5 | |
parent | fc6f80f7560b469da903967c026d64ce4b83550d (diff) | |
download | FreeBSD-src-9f048c7bd91d08e637caaca983077db46aee2d2c.zip FreeBSD-src-9f048c7bd91d08e637caaca983077db46aee2d2c.tar.gz |
Support input and output filters with remote printing.
Output filters are executed on a per-file basis as it's
necessary to supply the file size to the "other side".
Diffstat (limited to 'share/man/man5/printcap.5')
-rw-r--r-- | share/man/man5/printcap.5 | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/share/man/man5/printcap.5 b/share/man/man5/printcap.5 index 6ec84f4..de12ae1 100644 --- a/share/man/man5/printcap.5 +++ b/share/man/man5/printcap.5 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)printcap.5 8.2 (Berkeley) 12/11/93 -.\" $Id$ +.\" $Id: printcap.5,v 1.9 1997/02/22 13:26:06 peter Exp $ .\" .Dd December 11, 1993 .Dt PRINTCAP 5 @@ -247,6 +247,33 @@ or using .Xr syslog 3 , and must not ignore .Dv SIGINT . +.Sh REMOTE PRINTING +When printing to a remote printer using +.Cm rm , +it is possible to use either +.Cm if +or +.Cm of . +If both are specified, +.Cm of +is ignored. Both filters behave the same except that they are passed +different arguments as above. Specifically, the output filter is +terminated and restarted for each file transmitted. This is necessary +in order to pass the resulting size to the remote +.Xr lpd 8 . +.Pp +If the +.Fl p +flag was passed to +.Xr lpr 1 , +.Xr pr 1 +is not executed locally, but is requested of the remote +.Xr lpd 8 . +Any input filtering via +.Cm if +will therefore happen before +.Xr pr 1 +is executed rather than afterwards. .Sh LOGGING Error messages generated by the line printer programs themselves (that is, the |