?
Solved

Serial Printer / Postscript timeout

Posted on 1997-09-12
2
Medium Priority
?
255 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 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