LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2006, 08:36 AM   #1
v1nc3nt
Member
 
Registered: Feb 2006
Location: East London ,South Africa
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
Configure 2nd printer port on rh9


I am a relative noob to linux and wanting to learn as much as possible:

I have installed a server (non-graphic)on rh9 and it needed a second printer port. I bought one of those that connects to a serial PCI card. I assumed redhat would have found this, but it does not. How do I go about configuring this as lpt1 ( as the first one shows as lpt0 . When I do cat /etc/hosts > lp0 it works fine but not when doing the same on lp1.

Anyone that can help would be great as this is an urgent situation for me

Thanks in advance
 
Old 09-15-2006, 07:02 PM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Re: 2nd printer

The pci serial card would have a unique node name.

Example the built in COM port is /dev/ttyS0 and/or /dev/ttyS1.
If this pci serial card does not require a special driver then it might appear as a ttyS device.

Run "dmesg" and grep for tty.
example:

vo ~ # dmesg | grep tty
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
 
Old 09-15-2006, 10:15 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,135

Rep: Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342
Quote:
I bought one of those that connects to a serial PCI card
Can you expand on what you mean by this sentence? Did you purchase a parallel port PCI card or serial port card?

Post the output of the commands:
lspci

dmesg | grep lp1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Cannot Configure CUPS to Recognize Parallel Printer Port as a Printing Device! glaucon829 Linux - Newbie 4 06-05-2007 09:38 AM
2nd NIC how do I configure ? overproof Linux - Newbie 9 05-04-2005 03:47 PM
How Do I configure a serial port printer? Maldain Mandriva 3 01-31-2005 03:35 PM
Advice on how to enable 2nd CPU RH9 sallas Linux - Hardware 2 01-30-2004 07:02 PM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration