lpr man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

LPR(1)									LPR(1)

NAME
       lpr - Spool files to a printer

SYNOPSIS
       lpr [-D] [-d device ] [-h] [-l] [-P device ]

DESCRIPTION
       lpr  spools  a  file  to the specified printer device. No formatting is
       done -- data is sent "raw". This is useful, for	example,  for  sending
       Postscript data to a Postscript printer.

OPTIONS
       -D     enables some debugging output.

       -d device
	      specifies the device to which to send the output.

       -h     does nothing and is accepted for compatibility only.

       -l     disables	CR/LF  translation.  Normally,	files are converted to
	      DOS/Windows-style	 line  endings	(CR+LF)	 during	 the  spooling
	      process.	Some drivers appear to require this translation, while
	      most don't seem to care. Including this option on the  lpr  com‐
	      mand line disables any such translations.

       -P device
	      an alias for -d.

DEVICES
       A  device  name	may  be	 a  UNC	 path  (\\server_name\printer_name), a
       reserved DOS device name (e.g., prn, lpt1), or a local port  name  that
       is  mapped to a printer share. Note that forward slashes may be used in
       a UNC path also (e.g., //server_name/printer_name).

ENVIRONMENT
       A default device name may be specified in the PRINTER environment vari‐
       able.  Specifying a device via a -d or -P will override the environment
       variable setting.

NOTES
       Make sure that the default paper size setting is correct for  the  pro‐
       gram  that is formatting the page. For example, for enscript, make sure
       the DefaultMedia setting is correct in /etc/enscript.cfg. If this  set‐
       ting  is	 incorrect,  it is possible that no output at all will be pro‐
       duced by the printer. This is not an lpr issue.

AUTHORS
       Written by Rick Rankin.

				 22 Mar 2003				LPR(1)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net