This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: print from xfig

Jay Abel wrote:
Apparently someone started working on lpr, and it does work for local printers, just doesn't work for network printers.

Say what?

$ which lpr

$ cygcheck -f /usr/bin/lpr

$ lpr -P\\\\myserver\\myprinter /usr/share/ghostscript/8.50/examples/

$ lpr -P//myserver/myprinter /usr/share/ghostscript/8.50/examples/


From the man page:

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

-d device specifies the device to which to send the output. -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).

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.

-- Chuck

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]