Serial Printer in OpenSuse 11.4
I have an old Seiko label printer which I am trying to get working under wine.
To get this working I need to disable the FIFO on the serial port otherwise it only prints half a label. In windows I have to go into the advanced serial port settings and disable FIFO and it then works. How do I do this with 11.4 ? I have found some info that suggests using setserial to change the uart to 8250 and then put this in rc.local. Questions setserial /dev/ttyS0 uart 8520 // is this syntax correct if this works where should i put it to make it stick since I don't have a rc.local I have tried this on my machine at home and get dwright@linux-xxm9:~> su Password: linux-xxm9:/home/dwright # setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal linux-xxm9:/home/dwright # setserial /dev/ttyUSB0 uart 8250 Cannot set serial info: Invalid argument linux-xxm9:/home/dwright # setserial /dev/ttyUSB0 uart none Cannot set serial info: Invalid argument linux-xxm9:/home/dwright # could this be due to it being a USB device? The actual machine that I want it to work on is a desktop with a built in serial port which is currently working ok with gtkterm. Best Regards |
All times are GMT -5. The time now is 12:23 AM. |