Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20050923123423.59754.qmail@web33907.mail.mud.yahoo.com> Date: Fri, 23 Sep 2005 05:34:23 -0700 (PDT) From: The One Subject: fopen cannot open device name for network printer in windows xp To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Hi, I've a c program that prints to network printer by getting a filehandle from fopen("\\computer1\printer1", "wb"). That has always worked on Windows 95, 98 & 2000. When it's running under windows xp (sp1 or sp2), fopen returns a NULL. Has any one had a similar problem? Is there a solution to this? Thank you __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/