This is the mail archive of the cygwin@sourceware.cygnus.com 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]

B20: /dev/lp not supported


SITUATION:
   Since you so nicely provide for /dev/tty and others, why is /dev/lp so
obviously missing?

ANALYSIS:
   I know that you implement access to the dos devices PRN and LPT?.  However,
these
are not typical of unix software usage. Some tools use " ... >/dev/lp"  and rely
on the spooler.

   Most systems have a printer or "connection" to one. Eventually, many
applications want
[I can't say that they 'need'] paper output.

RECOMMENDATION:
This might be easy given existing support for PRN &c:
1.  Since DOS/windoze supports up to three printer devices in hardware,
implement /dev/lp1
... /dev/lp3 corresponding to LPT1: ... LPT3:  [Maybe unix convention is lp0 ...
lp2, but I
forget.]
2.  Support use of a sym link for the default printer:
        bash$  ln -sf  /dev/lp?  /dev/lp
These two items give the user access to the printer in unix syntax.

Eventually:
3.  Provide some sort of hook so that "... > /dev/lp" can hook a spooler.
If they want a spooler, they can do whatever they want by hooking /dev/lp
somehow.

It might be nice:
4.  Given that win-doze is lurking somewhere behind a CygWin session, you might
provide a new CygWin utility that grabs onto the win-doze print queues from the
command
line world.  This probably requires a win-doze aware daemon/service that watches
some spool
folder, grabs workorders, and passes jobs to win-doze printing.

Cordially,
~~~ Dan 0:-D
--
==============================================================
The Tenth Amendment ... its not only a good idea, its the law!
http://www.law.cornell.edu/constitution/constitution.billofrights.html#amendmentx

==============================================================

begin:vcard 
n:St.Andre';Daniel M.
tel;fax:512.335.8494
tel;work:512.335.7450x223
x-mozilla-html:TRUE
url:http://www.nuthena.com
org:Nu Thena Systems, Inc.;Product Development
version:2.1
email;internet:saint@nuthena.com
title:Director, Quality Management
adr;quoted-printable:;;11824 Jollyville Road=0D=0ASuite 101;Austin;Texas;78759;USA
fn:Dan St.Andre'
end:vcard

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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