HP3000-L Archives

May 2021, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"James B. Byrne" <[log in to unmask]>
Reply To:
Date:
Tue, 11 May 2021 13:08:41 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (60 lines)
External Email

I am trying to merge a PCL automatic macro with a file sent from the hp3000 to
a virtual printer.  If I transfer the source file file from the HP3000 via ftp
and manually conduct the merge then everything works as desired.

If I transfer the source file via FCOPY to a virtual printer defined in
NPCONFIG then the data comes across fine, but there is a preface string added
to the first record which looks like this:

<esc>%-12345X<esc>Z<esc>E<esc>&l0V<esc>&l0o2a6d3e60f(s10H<esc>&l7H

This causes the PCL target (gpcl6) to reset (<esc>%-12345X) which has the
effect to removing the automatic macro overlay already sent.

The source file is sent to the virtual printer using the following commands:

:FILE PDFPRN;DEV=4178;NOCCTL
:FCOPY QZARPIND;TO=*PDFPRN
HP31900A.05.04 FILE COPIER (C) HEWLETT-PACKARD CO. 1999

*200*WARNING: FROMFILE RECSIZE IS 254 BYTES, TOFILE RECSIZE IS 132 BYTES.
CONTINUE OPERATION (Y OR N) ?Y
EOF FOUND IN FROMFILE AFTER RECORD 1184

1185 RECORDS PROCESSED *** 0 ERRORS


The initial target application on the virtual printer is 'cat'; and that is not
going to add anything to any file it handles. So, my suspicion is that the
HP3000 is sticking this in as a result of involving the HP3000 SPOOLER.

Is the HP3000 the source of this string?  If so, is there some way to telling
the SPOOLER just to send the raw file?

If the HP3000 is not the source of this string then does anyone have any idea
where it is coming from on the Unix side?

For the purposes of testing the virtual printer on the Unix host is defined by:

    socat TCP4-LISTEN:9101,bind=192.168.216.179,fork,reuseaddr,su=hp3000 \
        SYSTEM:'cat - > /tmp/hp3000/HP3000-\"$(date -Iseconds)\".txt' &

--
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[log in to unmask]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

This message is not from a UTC.EDU address. Caution should be used in clicking links and downloading attachments from unknown senders or unexpected email.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2