From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,707b8caf480c5e30,start X-Google-Attributes: gid10b612,public X-Google-Thread: fee84,707b8caf480c5e30,start X-Google-Attributes: gidfee84,public From: beck@duck.ibh-dd.de (Andre Beck) Subject: EOJ handling on DEClaser 1152 Date: 1995/04/20 Message-ID: <3n56hs$405@micky.ibh-dd.de>#1/1 X-Deja-AN: 101270887 organization: IBH - Xlink PoP Dresden newsgroups: comp.unix.ultrix,comp.unix.osf.osf1 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-+