|
Hi
There's a third option: cpysplf command using *stmf destination.
This way a spool file is converted in a pdf file and written on IFS; later
on you can pick up pdf file from IFS through explorer or you can print it
directly from IFS to a printer using SK routine.
Images and overlay can also be added.
It is a bit tricky and less powerful than Ibm Infoprint product but it's
free and native.
The choice depends on what is your final goal. We use this method
extensively for invoices and similar stuff.
Best regards
Lucia
Il 14/Set/2017 19:27, "Bradley Stone" <bvstone@xxxxxxxxx> ha scritto:
www.bvstools.com/spltooliSeries
Not only will it convert to PDF, it will let you add overlays, images,
barcodes... and it will also let you format the PDF with the page size
specific to your report. Very customizable and very inexpensive. And
pretty good support from what I've heard.. ;)
Brad
www.bvstools.com
On Thu, Sep 14, 2017 at 11:28 AM, Ing. Gerardo A Martinez <
gerardomaro@xxxxxxxxx> wrote:
Thx Paul.
I will.
Saludos,Regards,
____________________________________
Ing. Gerardo A Martínez
-------- Mensaje original --------De: "Steinmetz, Paul" <
PSteinmetz@xxxxxxxxxx> Fecha: 14/9/2017 10:19 AM (GMT-06:00) Para:
"'RPG programming on the IBM i (AS/400 and iSeries)'" <
rpg400-l@xxxxxxxxxxxx> Asunto: RE: Convert Spool(AS400) to PDF
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
device
Configuration to convert spoolfile to PDF, email, store on IFS
Object Type Library Attribute Text
PDF_EMAIL *DEVD QSYS PRTLAN 19528 pdf transform
prPDF_EMAIL *OUTQ QUSRSYS Default output queue for
EngineeriPDF_EMAIL *PDFMAP QGPL PDF_EMAIL for BRC
PEF_EMPDF_EMAIL *PSFCFG QGPL 19528-PDF device for
AFP(*YES)
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)
email/stmf')PORT(19526) FONT(11) FORMFEED(*AUTOCUT) RMTLOCNAME('127.0.0.1')
USRDFNOBJ(QGPL/Youroutq *PSFCFG) TEXT('pdf transform device
step3. 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
PDFPPRDWR1(*LEGAL)2 and mapping object and Legal paper size in drawer 1.
• CHGPSFCFG PSFCFG(Youroutq) PDFMAPPGM(*IBMPGM)
Ing.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
(RPG400-L)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 Tosubscribe,
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 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 is the RPG programming on the IBM i (AS/400 and iSeries)
--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 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 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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.