printing invoice from as400 to pdf and emailing it

55 pts.
Tags:
AS/400
OVRPRTF
have created the PSF configuration object PDFPSFCFG as such: pdf device emulatuion type: *IP40300 pdf paper size drawer 1: A4 pdf paper size drawer 2: A4 pdf acknowledge multiple groups: *NO pdf fonts inline: *YES generate pdf output: *MAIL pdf mail server: *SNDDST have created the virtual printer PDFDEVD to transform the *afpds output to PDF and coded this object . BUT how do you know which port number to use? crtdevprt option: *basic category: *prt device class: *lan device type: *ipds device model: 0 lan attatchment: *ip advanced function printing: *yes port number: ?????????? used 9100 port for all our *lanprt devices online at ipl: *yes remote location address: 127.0.0.1 user defined object: PDFPSFCFG library: qgpl object type: *psfcfg to use this in the OVRPRTF statement in the generation of the invoice - so invoice is generated then emailed - do you need to have infoprint server 5722IP1 installed? How do you say where the email is to go to? Am I missing anything else? Thanks

Answer Wiki

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

I’m not sure if you have to input the email addy’s within the 400 or not, but we’ve ran into this issue before and use the new version of the RPM software, on the Windows side. This way there is absolutely no programming on the 400 side, it’s all done on the Windows side which should save you time.

RPM will take the AS400 print file, convert it to PDF, and then email the file to one or many recipients. You can also write to disk at the same time so it will archive your print jobs giving you a complete print history from your 400 that can be pulled up later.

Either way works, using the OVRPRFT for the invoice then printing. But with RPM all can be setup, converted to PDF and emailed easily, <b>the entire process takes less than 10 minutes</b>.

You may want to give it a shot. Especially if you have more than one programmer on the 400 working, it will save you the headaches :) RPM will <a href=”http://www.as400tcpipprinting.com/as400-to-pdf-conversion.html”>convert AS400 print files to PDF</a>.

<b>Best</b> of luck to you!

Discuss This Question: 2  Replies

 
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
  • WoodEngineer
    We've had great success with Bradley Stone's MailTool product for the AS/400 doing this exact thing. What we like it that everythng is contained on the AS/400 giving us the full set of tools we need. Also, since our customer e-mail addresses are stored in their ship-to records on the AS/400 it makes it very easy to extract the info we need using RPG and use MailTool to send the info on its way. For the record, my only involvement with Bradley Stone is as a customer.
    6,435 pointsBadges:
    report
  • Sloopy
    Another emailer for the iSeries is a set of free APIs from an excellent programmer called Aaron Bartell. I created an emailer application using the APIs and some converters (PDF, XML, CSV etc. from other sources). It works a treat (and takes a lot less that 10 minutes to send an email!). I am not connected to Mr. Bartell. His web site is : http://mowyourlawn.com/ Regards, Sloopy
    2,195 pointsBadges:
    report

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