From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100719 invoked by alias); 11 Sep 2019 00:50:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 100713 invoked by uid 89); 11 Sep 2019 00:50:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=H*M:yandex, H*UA:Bat!, H*F:D*ru, device X-HELO: forward102j.mail.yandex.net Received: from forward102j.mail.yandex.net (HELO forward102j.mail.yandex.net) (5.45.198.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Sep 2019 00:50:06 +0000 Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 5D582F20236; Wed, 11 Sep 2019 03:50:02 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id j3p9WfN441-o24GBf82; Wed, 11 Sep 2019 03:50:02 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1568163002; bh=VDzstE1OrcHKFW0lQaUfKfU+/z0pZeXAOjoU2ZUJq/4=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=ILwJbJBXBTkhE3rxpwlkJ818JVKVUBNUA89DLYa85E0Id2QqwTcPArkUP21Nnu+CU eElFgZtwbSEIDCvkDDv2Gg1uYZ7iBb81Iir7HLulVoXfbRgfrZRrttYsPaQkAwOmf0 UhXTvGuOFbbVILbgYtkhprkCsd7apnvgXCOGpr10= Authentication-Results: mxback8j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fCOqhsRrtt-o1IuNRsl; Wed, 11 Sep 2019 03:50:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Wed, 11 Sep 2019 00:44:22 -0000 Date: Wed, 11 Sep 2019 06:55:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <674846623.20190911034422@yandex.ru> To: "Blair, Charles E III" , cygwin@cygwin.com Subject: Re: printf, "unable to initialize PRN" message In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00115.txt.bz2 Greetings, Blair, Charles E III! > I have just installed cygwin (64 bit) and gcc. The "hello world" program > works, but > #include > int main(){printf( "%c\n" , 'X' );return 0;} > leads to > > Unable to initialize device PRN > Unable to initialize device PRN Are you sure you're running the right program? Try "./" instead of just "". -- With best regards, Andrey Repin Wednesday, September 11, 2019 3:43:18 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple