Solved

Serial Printer / Postscript timeout

Posted on 1997-09-12
2
249 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 100 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Securing Azure Oracle instance of Linux VM 4 74
Bash script - Exit out of choice loop 2 55
awk variable in printf 1 43
linux SFTP 8 78
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

733 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