X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=QcNw/vy8iOgZQ6mq 8E//9CdBuJtbnyzj4QxR7zaOkV3bjuqfg7lvnHu4SSboaKishlzg9S4AoyQXhX5w vRiY/7om+4Rqm73WsGHgvQ+AQJ9Q2VHLcuj2YpBhu8QL5mYzFJe8oDA+C4RRlr5v AwebVP/BqanKqfHJawDm6WXpC/M= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=ymdvpgLiad9VOimceV9zHn XWAjI=; b=hDYc+LPsIg54eGNYYtFScCKNnOLR2d9GLNL+kA7LrJeNY/MH3galCK e7fRFUK+3vGGLliBSJZvy3QDo3mwaWeATc3da9df2sC9ZkPFnBUOCEnl+HHdw2CJ pwl5vkYfTM5v78d1KCMHHnZ5n1c0uOr/Kd2CKHU2+XocVxsMbhAWU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 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 Date: Wed, 11 Sep 2019 03:44:22 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <674846623.20190911034422@yandex.ru> To: "Blair, Charles E III" , cygwin AT cygwin DOT 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 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