|
Niels you are right. Ovrprtf to pdf and cpysplf to stream file have the
same effect. I use cpysplf strategy because my programs decide what to do
with the spool file only after its closure.
Thanks for having remind me of it.
Lucia
Il 14/Set/2017 21:53, "Niels Liisberg" <nli@xxxxxxxxxxxxxxxxx> ha scritto:
Take a look at OVRPRTF .. it now have a PDF out file parameter ... :)it
On Thu, Sep 14, 2017 at 8:46 PM Maria Lucia Stoppa <mlstoppa@xxxxxxxxx>
wrote:
Hilater
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;
on you can pick up pdf file from IFS through explorer or you can print
it'sdirectly 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
images,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/spltool
Not only will it convert to PDF, it will let you add overlays,
sizebarcodes... and it will also let you format the PDF with the page
Andspecific to your report. Very customizable and very inexpensive.
Para: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)
seeforiSeries"'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
PDF_EMAIL *OUTQ QUSRSYS Default output queue
premail/stmf')
EngineeriPDF_EMAIL *PDFMAP QGPL PDF_EMAIL for BRC
PEF_EMPDF_EMAIL *PSFCFG QGPL 19528-PDF device for
1. Create *PSFCFG object - CRTPSFCFG PSFCFG(QGPL/Youroutq)
PDFGEN(*MAIL *STMF) PDFMAILSVR(PSIEXCHHUB01.PENCOR.COM)
PDFSENDER(PENCOR05) PDFDIR('/pauls') TEXT('pdf device for
AFP(*YES)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
3. Ensure directory entry exists for QSPLJOB – WRKDIRE
4. Create PDF mapping object - WRKPDFMAPE PDFMAP(Youroutq) –
fromseparate doc for PDFMAPE
5. Change *PSFCFG object (step 1 above)to use IPDS printer
affiliatestepaffiliate
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)
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(RPG400-L)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(RPG400-L)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
(RPG400-L)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
(RPG400-L)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
--
Best regards
Niels Liisberg
Chief Software Architect
System & Method A/S
--
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.