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
Software/Hardware used:
ASKED:
January 6, 2008 10:11 PM
UPDATED:
November 28, 2008 10:44 AM
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.
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