Hello...
I have searched for an answer to this question in various MPE and
NB-Spool resources (including google groups) but have yet to find an
answer which I can get to work.
I have limited HP3000/MPE experience, so please excuse any errors in
my terminology.
We are running Ecometry's MACS application. A batch process in this
application is creating output spool files in OUT.HPSPOOL.
We have another process which converts these spool files to "regular"
files, in PUB.SOMEUSER. These files are then FTP'ed by our HP to a
Unix machine. From there, these files are sent to a Lexmark laser
printer. When the files arrive at the Unix machine (and I believe, by
the time they are in PUB.SOMEUSER -- though I've not been able to
confirm this), they contain a simple stream of PCL, which the Lexmark
is very happy with.
I currently have need to imitate this process -- I need to somehow
transfer spool files to a Unix machine for printing. FTP'ing the
spool file itself does not work, and my understanding is that a
regular file must be created first, as in the process described about.
Is there a simple way I can do this? I have tried various forms of
the NB Spool MERGE command, and various forms of PRINT;FILE=;OUT=, but
so far no luck. The PCL in the resulting file appears to be corrupt
and come out as quite a mess when we send it to the Lexmark from the
Unix machine.
(The process which currently seems to be doing this transformation is
not one I can use. It is piece of compiled Cobol, and it does many
other things beyond this transform. So I can't just pull it out and
use it as a utility. (A Cobol/HP3000 expert probably could, but I am
hoping there is a simpler way.))
--bill |