Date: Mon, 24 Jul 2000 08:54:25 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: cannot output to stdprn In-Reply-To: <131e0802.e4919ca4@usw-ex0106-048.remarq.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 23 Jul 2000, tshep wrote: > Whenever I enter > fprintf(stdprn, " my string here"); > the printer does not print. All I get is a blank screen. What type of printer do you have? Many printers won't print anything until they see a newline, so try this: fprintf(stdprn, " my string here\r\n"); (You need \r\n because stdprn is by default in binary mode.) Some printers, typically laser printers, won't print anything unless they see a form-feed character, so try this as well: fprintf(stdprn, " my string here\r\n\f"); > Could I possibly have the wrong printer as the default or > is there some unique way of outputting to the printer in > Djgpp No, there's nothing unique about printer output in DJGPP.