Option 1
System I Navigator.
Select your system
Work management
Output ques
Select your q
Select your spoolfile
Rt ck
Convert to PDF.

Option 2
Info Print Server 5722IP1 *COMPATIBLE IBM Infoprint Server for iSeries

Configuration to convert spoolfile to PDF, email, store on IFS

Object Type Library Attribute Text
PDF_EMAIL *DEVD QSYS PRTLAN 19528 pdf transform device
PDF_EMAIL *OUTQ QUSRSYS Default output queue for pr
PDF_EMAIL *PDFMAP QGPL PDF_EMAIL for BRC Engineeri
PDF_EMAIL *PSFCFG QGPL 19528-PDF device for PEF_EM

1. Create *PSFCFG object - CRTPSFCFG PSFCFG(QGPL/Youroutq) PDFGEN(*MAIL *STMF) PDFMAILSVR(PSIEXCHHUB01.PENCOR.COM) PDFSENDER(PENCOR05) PDFDIR('/pauls') TEXT('pdf device for email/stmf')
2. Create *IPDS *LAN device (any high unused port) - CRTDEVPRT DEVD(Youroutq) DEVCLS(*LAN) TYPE(*IPDS) MODEL(0) LANATTACH(*IP) AFP(*YES) PORT(19526) FONT(11) FORMFEED(*AUTOCUT) RMTLOCNAME('127.0.0.1') USRDFNOBJ(QGPL/Youroutq *PSFCFG) TEXT('pdf transform device email/stmf')
3. Ensure directory entry exists for QSPLJOB – WRKDIRE
4. Create PDF mapping object - WRKPDFMAPE PDFMAP(Youroutq) – see separate doc for PDFMAPE
5. Change *PSFCFG object (step 1 above)to use IPDS printer from step 2 and mapping object and Legal paper size in drawer 1.
• CHGPSFCFG PSFCFG(Youroutq) PDFMAPPGM(*IBMPGM) PDFPPRDWR1(*LEGAL) PDFMAP(QGPL/Youroutq)
6. Vary on IPDS device above
7. WRKRPYLE – add an CPA3394 entry for new pdf_outq
8. WRKTR – STRPRTWTR Youroutq for device above

Paul

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Ing. Gerardo A Martinez
Sent: Thursday, September 14, 2017 11:45 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Convert Spool(AS400) to PDF

HelloEveryone
We need to convert spool (AS400) to PDF.Do you have any info?
Thx A lot.


Saludos,
____________________________________
Ing. Gerardo A Martínez
Gerente de Proyectos
One System El Salvador, S.A. de C.V.
Telefonos: (503) 2557 - 3081 / 3082
Movil: (503) 7117 - 0703 / 7319 - 2213
Skype: itcomsacv
Email: gmartinez@xxxxxxxxxxxxxxx
Web site: www.onesystemsv.comCorreo Alterno: gerardomaro@xxxxxxxxx
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].