Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* EOJ handling on DEClaser 1152
@ 1995-04-20  4:00 Andre Beck
  1995-04-20  4:00 ` Andre Beck
  0 siblings, 1 reply; 4+ messages in thread
From: Andre Beck @ 1995-04-20  4:00 UTC (permalink / raw)


Hi,

I'm getting severe problems with EOJ handling on the DEClaser 1152
printer (PS level 2). The printer is connected via a LATprint terminal
server device on its serial port. It seems to _need_ a Ctrl-D character
to indicate EOJ. Furthermore, I need to filter out existing Ctrl-D chars
in PS output f.i. from PCs, because a leading Ctrl-D would cause ln03rof
to not detect the leading %! of postscript - and I hate PS source listings :-|

I wrote a script which filters out ^D, calls ln03rof, and outputs a
leading and trailing ^D to get EOJ handling correct. What happens:

1) Output filter only: This seemed to work well, until some jobs queue
   up. Then I suddenly get PS source listings again. Dark memory serves
   that of is called once for a number of jobs, which would be evil for me.

2) Input filter only: This works well on the input side, but the emitted
   ^D characters don't pass to the printer

3) Input & Output filter: The whole thing locks up. For some reason, the
   of gets never called (I'm sure, it would write a lot of stuff to
   /dev/console if ever invoked).

My questions: How does one get EOF handling correct with the Ultrix printing
system and a PS printer which requires ^D for EOJ ?

Alternatively, can anyone explain why this was no problem with former DEC PS
printers (connected to real DEC terminal servers). Do they sense EOJ in some
hardware way, f.i. on DTR drop or similar ? If so, can the 1152 be configured
to do this as well ? Or is it doing this anyway, and the LATprint device either
is not setup to drop DTR or whatever correctly or (worse) cannot be setup to
do so in the first place ?

Appreciate any help,

Thanx,
Andre.
--
+-o-+--------------------------------------------------------+-o-+
| o |		    \\\- Brain Inside -///		     | o |
| o |			^^^^^^^^^^^^^^			     | o |
| o | Andre' Beck (ABPSoft)          Andre_Beck@ibh-dd.de    | o |
+-o-+--------------------------------------------------------+-o-+



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-04-26  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-20  4:00 EOJ handling on DEClaser 1152 Andre Beck
1995-04-20  4:00 ` Andre Beck
1995-04-25  4:00   ` Michael Hohmuth
1995-04-26  4:00     ` Andre Beck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox