home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume26
/
port-lpr
/
part01
/
BLURB
next >
Wrap
Text File
|
1993-04-09
|
1KB
|
29 lines
This is a standalone lpr client that can be used to submit print jobs
over a network to a machine that runs a Berkeley-style lpd server.
The code is reasonably portable (not just to UNIX) and attempts to
compensate for the differences in the way text files are stored on
various systems.
It might be useful, for instance:
- on a UNIX machine that doesn't support printing to remote
Berkeley-style print queues, or
- to print files to a UNIX print queue from a VAX/VMS machine, either over
TCP/IP or DECnet. A gateway from DECnet-based lpr protocol to TCP-based
lpr protocol is supplied, but you must have a UNIX box that speaks the
DECnet protocol in order to use this.
One of the major problems with porting lpr to other systems is the
fact that the lpr protocol requires that the client determine the size
of a file to be printed, as it would be stored on UNIX, before sending
the file. This program accomplishes this by reading the entire file
into memory before transmitting it to the UNIX system. This allows
this lpr client to work on non-UNIX systems that store files in a
different format, but it cannot print any file that is too big to fit
in memory.
port-lpr is (almost) freely redistributable under the terms of the GNU
General Public License.