Print from RPGLE without closing program or PRTF

5 pts.
Tags:
AS/400 printing
PRTF
RPGLE
I just setup an Epson TM-H6000III POS printer on the AS400. This is used to print a receipt and then change to the check validation to print on the back side of checks. I got everything working except the receipt prints a " - -1" everytime I close the PRTF to release the print. Does anyone know a way to release the PRTF for printing without closing the program or using the OPEN/CLOSE to the PRTF? I had to make the PRTF a USROPN so that it would print the receipt and validation without having to close the program out. Thanks in advance for your suggestions. Larry
ASKED: November 7, 2008  1:23 PM
UPDATED: November 7, 2008  6:31 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Not sure – never done this but this sound good
On crtprtf or Ovrprtf
Defer write . . . . . . . . . . *YES <– *no
Spool the data . . . . . . . . . *YES <– *no
Spooled output queue . . . . . . *JOB <– *IMMED

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following