Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create/define serial port for printer on Ubuntu?

Status
Not open for further replies.

BobMCT

IS-IT--Management
Sep 11, 2000
756
US
Certainly a Linux server question: I'm running Ubuntu 6.06.1 server edition (no Xserver/GUI) and am trying to attache, configure and use a serially attached printer.

I've tried both MAKEDEV and mknod in detail both with no success.

Can someone PLEASE advise how one goes about accomplishing this feat?

Thanks
 
What kind of printer is it? Serial printers must be very unusual nowadays??

Anyway, I doubt you would need to go to the mknod level... the serial devices will already exist, e.g. /dev/ttyS0 for COM1, /dev/ttyS1 for COM2, etc.

Do you have CUPS installed? If so try checking the documentation to see whether it supports serial printers. You'll probably end up doing something like:

[tt]lpadmin -p queuename -v /dev/ttyS0 ...[/tt]

Annihilannic.
 
Serial unusual? Certainly. But for specialized, apparently not.

The printer is a Dymo SE300 which is an ASCII label printer with a serial (DB9) interface. I've plugged this into the COM1 port and a search through the /dev directory's numerous tty files shows that this MAY have been assigned to /dev/ttyS2 (strange because its the only serial device enabled/attached).

If I cat a string to >/dev/ttyS2 I do get some output albeit at an extremely S-L-O-W pace.

I will try experimenting with the lpadmin utility now - thanks. But, if you know of anything about this particular series of printers, please post?

Thank you,

Bob
 
From Answer ID 354 on the Dymo support site:


Dymo Support said:
DYMO also offers a BETA SDK for Linux/Unix. This SDK consists of CUPS drivers and several command line script samples. For more information on acquiring the BETA SDK for Linux/Unix, contact DYMO support by clicking on the Ask a Question tab above.

That might be useful?

Annihilannic.
 
Thanks for pointing me in the right direction. I have the BETA SDK for Linux/Unix on its way.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top