Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Serial Printer / Postscript timeout

Posted on 1997-09-12
2
Medium Priority
?
256 Views
Last Modified: 2013-12-15
I have an Apple LaserWriter IIf connected to my Linux 2.0.30 machine. The connection is on ttyS0. The problem is that after the printer completes the job, it seems to receive some more data from the computer and keeps flashing it's busy light. Eventually a timeout error page is printed. With the same cable the printer works perfectly with a different Win 95 machine. However, in Win 95 I have to specify that a ctrl-D be added before and after the job.

I want to use the Linux box as a print server. It is running Samba and I can print (albeit with the above problem) via Samba from Win 95. I have also tried printing to a file on Win 95 and dumping the file using cat file > /dev/ttyS0 with the same result. I did discover if I unplug the cable after the job finishes, I still get the timeout error but the printer goes into it's normal ready mode. I have tried many variations on the ttyS0 settings, including setting eof=<undef> from it's default of eof=^D. But it seems extra data is being sent to the printer after the job finishes.

Any clues?
0
Comment
Question by:eddie_s
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 1629796
check your filter program defined in /etc/printcap. It should contain:

        printf "\004"


0
 

Author Comment

by:eddie_s
ID: 1629797
Let me add a little more detail. I have confirmed that the file that is being sent already has ^-D characters prepended and appended. Also, from the Win95 side, the only thing that is different between the direct connection and going through Samba is the port setting. I left everything else as it was.
Are the ^-D chars being stripped from the file and they have to be added back in with the filter?

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question