× 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 ]
Brad:

I tried the same thing just recently.  The API manual
(http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QB3AMZ03/CCONTENTS)
states the following regarding the QSPCRTSP API:

   | Print text        | Y    | N     | The text that is printed on
|
   |                   |      |       | separator pages.  Print text in the
|
   |                   |      |       | print data stream is not changed.

Seems to indicate that the the print text will not be changed.

Dave

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


I have a weird one here.

One of my tools, SPL2SPL, allows a user to copy a spooled
file.  It also allows them to change certain spooled file
attributes for the new spooled file.

Now, I have a couple users who use the Print Text paramter,
and it does not seem to change the print text on the
duplicated spooled file.

I have run this in debug 100 times, and I can see that the
print text parameter of the new spooled file HAS changed.
But when the spooled file is printed, the print text from
the original spooled file appears on the output instead of
the new Print Text.

The documentation on this field is sparse, so I'm at a loss
as to why this isn't working.

Example..

SF1 - print text = "Hi!"

Use SPL2SPL and change print text to "Bye!", creates new
spooled file SF2.

Print SF2, and "Hi!" prints as the print text.

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.

Print SF3, print text still is "Hi!"

Hope this makes sense.  If anyone wants to give it a whirl
to see what I mean, you're more than welcome.  I'd
appreciate any clues or help.  Thanks!  I'm pulling my hair
out on this one.

Brad

_______________________________________________
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-Ups:

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.