LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configure 2nd printer port on rh9 (https://www.linuxquestions.org/questions/linux-newbie-8/configure-2nd-printer-port-on-rh9-483424/)

v1nc3nt 09-14-2006 08:36 AM

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

dxqcanada 09-15-2006 07:02 PM

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

michaelk 09-15-2006 10:15 PM

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


All times are GMT -5. The time now is 02:41 AM.