LPD
Section: User Commands (1)
Updated: MiNT
Index
Return to Main Contents
NAME
lpd - line printer daemon
SYNOPSIS
bg
lpd
[
printfile
]
DESCRIPTION
This is a (very simple) MiNT based print spooler.
It opens the file
Q:\LPD.MSG
and accepts print requests written to that file.
The request should consist of the full pathname of a file,
padded with zeros to 128 bytes.
The file is copied to the directory specified in the environment
variable TEMP (default is the current directory), and is then printed as
time allows.
A 128 byte ASCII string is written back to
Q:\LPD.MSG
as a reply; this string describes the error that occured (if any).
If an argument is supplied to lpd, this is taken to be the name of the
file for printer output, instead of
V:\PRN.
NOTES
lpd.ttp and lpr.ttp are provided as examples of how to use named FIFOs
for interprocess communication.
IMPLEMENTATION
Built with the MiNT library, patchlevel 19.
Using a different library, or an earlier version of the
MiNT library, may or may not cause problems;
in particular, various constants defined in
<signal.h>
and
<ioctl.h>
will probably be wrong if you are not using the MiNT library.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- NOTES
-
- IMPLEMENTATION
-
This document was created by
man2html,
using the manual pages.
Time: 23:26:07 GMT, January 03, 2023