Return-Path: <@VM1.CC.UAKRON.EDU:U001222@HNYKUN11.URC.KUN.NL>
X-Envelope-to: banyan-l@AKRONVM.BITNET
Resent-Organization: Universitair Centrum Informatievoorziening, KU Nijmegen, NL
Newsgroups: bit.listserv.banyan-l
Date:         Tue, 26 Jan 1993 07:27:31 MET
Comments:     Resent-From: Jos Wennmacker <U001222@HNYKUN11.URC.KUN.NL>
Comments:     Originally-From: Jos Wennmacker +31 80 617955
              <J.Wennmacker@UCI.KUN.NL>
From:         Jos Wennmacker <U001222@HNYKUN11.URC.KUN.NL>
Subject:      (Copy) JES328X en VINES

I got a copy of this mail from our Banyan/Vines specialist. I am
not on this list, so if you want to contact me, do it directly.
 ---------------------------- Text of forwarded message -----------------------
...stuff deleted...
>> Has anyone out there tried to use the Vines Adv.3270 to receive printed
>> output from JES and have JES insert ESC char's so that a laserjet printer
>> will execute stored macros? I haven't had a lot of luck with IBM in
>> resolving this problem. ie 5 months and not resolution.
>
>Since you are working with IBM I assume you are using JES328X to send output
>to a Banyan printer.  We switched to a third party product called VPS after
>IBM dropped support for JES328X.   VPS provides an EXIT that allows a "setup
>string" to be inserted ahead of the print stream.  We use it to select the
>font and page orientation.

I recently installed JES328X version 3.1.0, which lets you define FCB
extensions. These extensions are sent to the printer before each sysout
dataset. We use them to select between portrait and landscape, simplex and
duplex etc. These FCB extensions are stored in a dataset that you associate
with your printer, so for every type of printer you could have a different
fcb extension dataset. A disadvantage is that you need a 'base fcb'
for every form you want, e.g. if you want to be able to choose between
landscape and portrait and for each of them between simplex and duplex,
you need 4 'base fcb''s'. If you want to be able to choose between short
and long edge binding you need 8 already.
One of the advantages, above sending the ESC code with the data, is that
after rerouting to another printer (of different brand) you still will
have correct output, and not rubbish because the printer X does not
understand the escape codes meant for printer Y.
If you are not on JES328X Version 3.1.0, but still on 2( the last one we
had and even still have on one system) was 2.2.0....you have to modify
the JSXGPS module. It has a translation table, that simply converts
every character in the 00-3F range to blank. This is ok, since you
are not supposed to send those characters over SNA as data. If fact,
I tried to send more of those characters (shift in, shift out etc)
but most of these caused trouble. Anyway, most printers we had were
HP Laserjets III D, which understand PCL, so the only 'odd' character
we needed was ESC. I will include the mod below.
Regards,
Jos Wennmacker
.
++USERMOD (MA00040). /* Prevent JSX from blanking ESC */
++VER (Z038)
             FMID(HBY2202).
/* Base translation table is at offset 9D0C in JSXGPS.         */
/* Since we do not want the escape char (x'27' in EBCDIC)      */
/* we zap at 9D0C + 27 = 9D33 the x'40' to x'27'.              */
++ZAP (JSXGPS).
  NAME JSXGPS JSXGPS
  VER 9D33 40
  REP 9D33 27
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU