- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- print fails on Serial attached printer
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 08:30 AM
тАО12-23-2009 08:30 AM
print fails on Serial attached printer
# ls > /dev/ttyS0
after 2 or 3 seconds, I got the prompt back, but nothing prints.
no messages/hints in dmesg and /var/log/messages.
please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 09:30 AM
тАО12-23-2009 09:30 AM
Re: print fails on Serial attached printer
stty can be used.
this is stretching my memory, you man need to do some googling...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 09:32 AM
тАО12-23-2009 09:32 AM
Re: print fails on Serial attached printer
Not a useful description.
> [...] serial cable [...]
You think that there's only one kind of
serial cable?
Bad/wrong cable?
Mismatched serial port characteristics
(speed, bits, parity)?
man stty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 10:11 PM
тАО12-23-2009 10:11 PM
Re: print fails on Serial attached printer
ls -l /dev/ttyS0
crw-rw----. 1 root dialout 4, 64 d├Г┬йc 24 06:45 /dev/ttyS0
Perhaps you need to check that
enjoy, life.
Jean-Pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 02:32 AM
тАО12-24-2009 02:32 AM
Re: print fails on Serial attached printer
# ls -l /dev/ttyS0
crw-rw---- 1 root uucp 4, 64 Dec 24 15:10 /dev/ttyS0
# lpstat -t
scheduler is running
system default destination: printer
device for printer: serial:/dev/ttyS0?baud=9600
printer accepting requests since Jan 01 00:00
printer printer is idle. enabled since Jan 01 00:00
# stty -F /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel
# stty -a < /dev/ttyS0
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol =
rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 04:31 AM
тАО12-24-2009 04:31 AM
Re: print fails on Serial attached printer
> [...]
Wonderful. Now, if we knew anything at all
about the configuration of the printer, or
the cable, ...
If you can't supply any useful information,
then you might do better with prayer to the
all-knowing deity of your choice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2009 11:07 PM
тАО12-26-2009 11:07 PM
Re: print fails on Serial attached printer
please go through the below link
http://aplawrence.com/Unixart/printers.html
hope this helps you
Thanks
Haytham Hosny