Sending standard ASCII code to the PORTB, just like your LCD.

ASCII in ASCII out...like a ASCII delimited file.

PSUEDO CODE

InputData var byte
Output Var byte

Loop:

Read Inputdata (whether you use SERIN or any other input data method)
Portb=Inputdata
toggle your datapin to send your ASCII byte.

goto Loop

Made one of these programs many years ago to test printers in DOS format...

If you take a look at a OLD printer control manual, you will see that Line feeds are Decimal 10... I think top of page was Decimal 12 contolling similar to the LCD...

Either I am misunderstanding something, or we are not on the same frequency at this very minute Maybe I should go back to bed?

DWayne