Scrigroup - Documente si articole

     

HomeDocumenteUploadResurseAlte limbi doc
AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml

AspAutocadCDot netExcelFox proHtmlJava
LinuxMathcadPhotoshopPhpSqlVisual studioWindowsXml

lpd linux command

linux



+ Font mai mare | - Font mai mic



lpd

lpd [option] [port]



TCP/IP command. Line printer daemon. lpd is usually invoked at boot time from the rc2 file. It makes a single pass through the printer configuration file (traditionally /etc/printcap) to find out about the existing printers and prints any files left after a crash. It then accepts requests to print files in a queue, transfer files to a spooling area, display a queue's status, or remove jobs from a queue. In each case, it forks a child process for each request, then continues to listen for subsequent requests. If port is specified, lpd listens on that port; otherwise, it uses the getservbyname call to ascertain the correct port.

The file lock in each spool directory prevents multiple daemons from becoming active simultaneously. After the daemon has set the lock, it scans the directory for files beginning wth cf. Lines in each cf file specify files to be printed or nonprinting actions to be performed. Each line begins with a key character, which specifies information about the print job or what to do with the remainder of the line. Key characters are:

C

Classification -- string to be used for the classification line on the burst page.

c

cifplot file.

f

Formatted file -- name of a file to print that is already formatted.

g

Graph file.

H

Hostname -- name of machine where lpd was invoked.

J

Job name -- string to be used for the jobname on the burst page.

L

Literal -- this line contains identification information from the password file and causes the banner page to be printed.

l

Formatted file, but suppress page breaks and printing of control characters.

M

Mail -- send mail to the specified user when the current print job completes.

n

ditroff file.

P

Person -- login name of person who invoked lpd.

r

DVI file.

T

Title -- string to be used as the title for pr.

t

troff file.

U

Unlink -- name of file to remove upon completion of printing.

Option

-l

Enable logging of all valid requests.

Files

/etc/printcap

Printer description file

/var/spool/*

Spool directories

/var/spool/*/minfree

Minimum free space to leave

/dev/lp*

Printer devices

/etc/hosts.equiv

Machine names allowed printer access

/etc/hosts.lpd

Machine names allowed printer access, but not under same administrative control



Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 682
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved