avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] LX-800 Printer driver


From: Andi
Subject: Re: [avr-gcc-list] LX-800 Printer driver
Date: Fri, 18 Apr 2008 15:03:58 +0700

Hi,

My printer connect to PORTC directly. Something the printer print unknon string. I'll try to use IC 74LS244 or 74LS541 as buffer next time. May be the the PORTC current is dropping

Regards
Andi

----- Original Message ----- From: "Blake Leverett" <address@hidden>
To: <address@hidden>
Sent: Friday, April 18, 2008 12:00 PM
Subject: Re: [avr-gcc-list] LX-800 Printer driver


On Thursday 17 April 2008, Andi wrote:
Hi,

Does anyone ever make a LX-800 printer driver for AVR ?
I make a code but it didn't work at all.
Here my code :
<snip code>
int main(void)
{

  SendStringToPrinter("System Ready !\r\n");

 for (;;){
 }
}

Anyone can help me ?

This probably belongs on AVR-chat rather than avr-gcc-list.

I don't see any problem with your code, though I don't know what interface you
are using to the printer.

The only thing I can suggest is that you may want to issue a form feed (0x0c)
to the printer after your test string, as the printer may be buffering the
data and waiting for the end of the page to start printing.

Blake




_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list





reply via email to

[Prev in Thread] Current Thread [Next in Thread]