Printing out of a C-programm

andre maute andre.maute@gmx.de
Tue Sep 2 12:06:00 GMT 2014


On 08/31/2014 10:41 AM, Jakob Bucher wrote:
> My printer, Brother HL-2040, does not accept print-jobs out of a C-program. It works, however, perfectly on the lpr-command, with office applications and emacs.
>
> System: openSuse Linux 13.1
> Compiler: GNU C-compiler 4.8-2.1.2
> Driver: Brother HL-2060-CUPS+Gutenprint v5.2.9
> Options: Locale, Remote, Use as Default, Accept Print jobs, Enable printing
>
> The printer can be opened as a file, but it does not react on the "putc" command  nor on fprintf.
> Printer status: ready,  printing que emty;
>
> What can be done?
Do you really think that is a GCC problem??
Other applications on your system are working,
and I suppose they are compiled with GCC.

Regards Andre



More information about the Gcc-help mailing list