× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
But you're using the print data from an existing spool file, aren't you?

Dave

-----Original Message-----
From: Brad Stone [mailto:brad@bvstools.com]
Sent: Wednesday, October 10, 2001 11:57 AM
To: midrange-l@midrange.com
Subject: Re: Print Text and Spooled Files


But I'm assigning the print text using the Create Spooled
File API (QSPCRTSP).  I'm making a NEW spooled file with new
attributes.  Not trying to change an existingn spooled file.

Brad

On Wed, 10 Oct 2001 17:40:06 +0100
 David.X.Kahn@gsk.com wrote:
> Brad wrote:
>
> > Use SPL2SPL to copy SF2.  I run it in debug and
> retrieve the spooled
> > file attributes and the print text IS "Bye!". Change it
> again to
> > "Grape!" which makes SF3.
>
> Brad, I think the problem is that once the spooled file
> has been closed the
> print text is already in it - it doesn't get plugged in
> at print time. The
> print text attribute in the spooled file which is the
> target for the copy,
> would be effective if you were to write new spooled file
> data into it. As
> you are copying the data from an existing spooled file,
> however, you get
> the original data including the original print text.
>
> If you're going to deal with this in your tool I think
> you'll need to scan
> for the old print text and transform it on the fly. Very
> messy and nasty as
> you would have to cater for the identical string
> appearing elsewhere on the
> page and avoid transforming that.
>
> :-(
>
> Dave...
>
> =======================================================
> The opinions expressed in this communication are my own
> and do not
> necessarily reflect those of my employer.
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion
> (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/midrange-l.
>

Bradley V. Stone
BVS.Tools
www.bvstools.com
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
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.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.