Printing from HTTP

Jay <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <[email protected]>
I am extending an existing application to permit printing directly from the HTTP session.
So far, okay. It prints when it is told to send to a printer.
When I added in the ability to copy the spool file to a PDF file, I run into issues.
The printer file name is okay, but the job is not longer the current job. It's the QPRTJOB session that handled the request.
So, copying the spool file blows up.

Is there a way to capture the actual printer job handling the print request?
I'm expecting it to be 123456/QMHHTTP/username, but I wind up with a spool file in 123456/QPRTJOB/username.


-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.