Q

Using Ubuntu Linux with WINE

An expert describes how to map Ubuntu Linux serial ports to the serial ports of a Windows application running in WINE.

I have installed Ubuntu Linux (Feisty Fawn) on a Dell Optiplex 745. I have also installed the WINE module, so I could run a legacy Windows application that will not run on 2000 or XP; only 98 or lower. The problem I have is that the application prints to a serial printer with settings as such:
Baud rate = 9600
Data bits = 8
Stop Bits = 2
Parity = None
Flow Control = Hardware
How do I change the serial port settings in Ubuntu Linux to match the settings above? How do I map the Linux serial ports to the serial ports of the Windows application running in WINE?

By default WINE should see properly configured CUPS printers. To configure a CUPS printer with the settings you listed, I recommend you type "man printers.conf" from a terminal and then edit the /etc/cups/printers.conf file appropriately. The printer URL you need to specify will look something like this:

serial:/dev/SERIAL_PORT?baud=9600+bits=8+parity=none+flow=hard

SERIAL_PORT is your serial port device.

This was first published in May 2007

Dig deeper on Ubuntu Server

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close