This'll work:
finput ipe f 136 disk
fQPRINT o f 132 printer prtctl(prtctlds)
f oflind(of)
d prtctlds ds
d prtctl 15
d skipb 3 overlay(prtctl:7)
d spaceb 1 overlay(prtctl:3)
iinput NS 01
i 1 3 skipb
i 4 4 spaceb
i 5 136 line
oQPRINT D 01
o line 132
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Thursday, October 08, 2009 12:21 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: *PRTCTL file
Although there is a CTLCHAR(*PRTCTL) for CPYSPLF to output to a
[device or] database file, there is no equivalent CTLCHAR(*PRTCTL)
support for opening a printer file [not a valid parameter value in
either of CRTPRTF nor OVRPRTF]; there is however, *FCFC. A program
specific to that purpose must be used; i.e. a program that reads the
first four characters of each line of data for both a skip-before
control [first three bytes] and a space-before control [fourth byte]
character, and then writes the data to effect the equivalent, either
with or without forms-control characters. I am not aware of any program
as part of the OS to effect that.
Regards, Chuck
Dan Kimmel wrote:
CPYF to a print file defined with *PRTCTL. I think QGPL/QPRINT will
do.
Spencer Elliott wrote:
Does anyone know of a utility that will convert a spool file that was
copied to a PF using *PRTCTL back into a spool file?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.