Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 16 Nov 2001 15:08:46 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Parallel port device in cygwin Message-ID: <20011116200846.GV17035@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23.1i On Fri, Nov 16, 2001 at 01:27:57PM -0000, Tony Arnold wrote: >I've been trying out Luke Bakken's port of LPRng with a local printer >connected to the parallel port. In the printcap file, I've tried setting the >device name to PRN, but lpd objects to it being non absolute path name, I also >tried setting it to /PRN, but that seems to cause lpd to hang. Luke suggests >cygwin needs the LPT1 port available as a /dev/lpxx simulated device, but I'm >wondering if there is another way, such as symlink from /dev/lp to PRN? > >Thoughts and comments welcome. cygwin doesn't have a fhandler layer for parallel ports, currently. So, the only way to reference a parallel is via the raw msdos names, like 'lpt1', 'prn'. I don't know why referring to /lpt would cause things to hang. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/