I have been fighting with this Problem for weeks and I finally think I found something ...
I am trying to make a Winblows POS Software work in Wine, which uses direct serial printing to send the invoice out to an Epson TM-U200A or TM-U220A Serial Printer connected to /dev/ttyS00.
I tried with almost every version of wine from 0.9.8 to 0.9.17, they all show the same problem.
the invoice Text consists of this:
Code:
Restaurant name
Adress
# 4
The 07-31-20 at 06:10 PM
Waiter : MANAGER
Cherry coke 1 2.00
Coke 1 1.50
________
3.50
Servicio 0.35
Amount to pay: (œ) 3.85
-----------DUPLICATA-----------
Welcome message
Suggestion
To type in setup
****************************
Now when I create my symbolic link
Code:
ln -s /dev/ttyS0 com1
and send my invoice to print only the following is printed.
Code:
Restaurant name
# 4
The 07-31-20 at 06:10 PM
And when I change my symbolic link
Code:
ln -s /dev/pts/1 com1
and send my invoice to print, the whole invoice is correctly sent to the text window. I can now copy the text and send it to /dev/ttyS0 which prints the invoice correctly.
I think this proves that the invoice data is correctly sent to linux.
Now could it be that the that the date is sent too fast or too slow for the printer for some reason?
Do I have to find a way to reconfigure the comm port in Wine or in Linux?
Or is there a way to send the invoice to a file where it can be rerouted to the printer?
I tried to use CUPS to configure the Printer but there is no Driver for Epson TM printers, and raw printing screws up the invoice as it tries to print in graphic mode.
Any help is appreciated