Hi Rob
Understandable
I was hoping that CPYSPLF to create a pdf that can be e-mailed directly from the AS/400 would have been my simple, quick answer to what the users are requesting
Unfortunately - it seems that I am wrong
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
‘If you're going through hell, keep going.’
Winston Churchill
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Rob Berendt
Sent: Wednesday, April 29, 2020 8:36 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] Re: Trying to use CPYSPLF to create a PDF
Overlays are a fickle item. They often have to be customized based on printer, etc. One of the reasons we told all trading partners we were obsoleting fax was we were tired of customizing forms multiple times for different output.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Alan Shore via MIDRANGE-L
Sent: Wednesday, April 29, 2020 8:26 AM
To: Bryan Dietz <bdietz400@xxxxxxxxx>; Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: Alan Shore <ashore@xxxxxxxx>
Subject: RE: [EXTERNAL] Re: Trying to use CPYSPLF to create a PDF
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi
I think that I am STILL missing something
I went through and used WCST parameter, using ALL of them
I didn’t see ANY differences between ANY of them
So – I was thinking that it might have been because I was replacing an existing ifs file, so I changed it so that each of my runs created a new ifs file, and THAT was the file I sent to myself
They STILL looked all the same
The print character moved over to the left
Anyone any ideas?
Alan Shore
E-mail : ASHORE@xxxxxxxx<mailto:ASHORE@xxxxxxxx>
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
‘If you're going through hell, keep going.’
Winston Churchill
From: Alan Shore
Sent: Wednesday, April 29, 2020 7:28 AM
To: Bryan Dietz <bdietz400@xxxxxxxxx>; Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] Re: Trying to use CPYSPLF to create a PDF
Thanks Bryan
Believe it or not – Marco mention the translate tables – but for V7r2, so I was JUST wondering if there was anything different for V7r3
Appreciated
Alan Shore
E-mail : ASHORE@xxxxxxxx<mailto:ASHORE@xxxxxxxx>
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
‘If you're going through hell, keep going.’
Winston Churchill
From: Bryan Dietz [mailto:bdietz400@xxxxxxxxx]
Sent: Wednesday, April 29, 2020 7:20 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>>
Cc: Alan Shore <ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>>
Subject: Re: [EXTERNAL] Re: Trying to use CPYSPLF to create a PDF
More info on different WSCST objects here:
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzalu/rzaluwscstpara.htm
Bryan
On Apr 29, 2020, at 6:40 AM, Alan Shore via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>> wrote:
Thanks Marco
I didn't think that I would need to do that
Just specify *PDF
Let me give it a shot
I just suppose that it will be trial and error
MUCH appreciated
Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone
-------- Original message --------
From: Marco Facchinetti <marco.facchinetti@xxxxxxxxx<mailto:marco.facchinetti@xxxxxxxxx>>
Date: 4/29/20 06:36 (GMT-05:00)
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>>
Subject: [EXTERNAL] Re: Trying to use CPYSPLF to create a PDF
Hi Alan another option is doing some tests using one of the transform
objects in qsys (V7R2):
QCTXPDF
QCTXPDFMBD
QCTXPDFMB2
QCTXPDFWT
QCTXPDFWT2
QCTXPDF2
Eg:
CPYSPLF FILE(MYSPOOL)
TOFILE(*TOSTMF)
TOSTMF('/tmp/testpdf.pdf')
WSCST(*LIBL/QCTXPDF2)
STMFOPT(*REPLACE)
HTH
--
Marco Facchinetti
Mr S.r.l.
Tel. 035 962885
Cel. 393 9620498
Skype: facchinettimarco
Il giorno mar 28 apr 2020 alle ore 19:54 Alan Shore via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>> ha scritto:
Hi everyone
We are on V7r3
I have been asked to look into creating and e-mailing our invoices as
pdf's from the AS/400
I already knew about the changes to CPYSPLF, so I thought that I would
look into that
The command I used was
CPYSPLF FILE(INVOICE) TOFILE(*TOSTMF) JOB(192813/CREDSALE36/JKEITTB)
TOSTMF('/ashore/invoice.pdf') WSCST(*PDF) STMFOPT(*REPLACE)
The INVOICE spool file has an overlay
I then used this command to e-mail it to myself
SNDSMTPEMM RCP(('ashore@xxxxxxxx<mailto:ashore@xxxxxxxx>')) SUBJECT('Sending a pdf file')
ATTACH(('/ashore/invoice.pdf'))
When I received the e-mail, the overlay was there, but the characters
(print) were not where it should be - in the boxes
The characters were "pushed" to the left
I googled CPYSPLF and came across this web page
https://www.rpgpgm.com/2014/03/creating-pdf-files-from-spool-files.html
and I checked the ptf's mentioned
Both of the ptf's mentioned there are on our system
5770TS1 *COMPATIBLE IBM Transform Services for i
5770TS1 *COMPATIBLE Transforms - AFP to PDF Transform
Does anyone have any ideas as to what I did wrong or is missing?
As always, all answers gratefully accepted
Alan Shore
E-mail : ASHORE@xxxxxxxx<mailto:ASHORE@xxxxxxxx<mailto:ASHORE@xxxxxxxx%3cmailto:ASHORE@xxxxxxxx>>
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
Help support midrange.com<
http://midrange.com> by shopping at amazon.com<
http://amazon.com> with our affiliate link:
https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
Help support midrange.com<
http://midrange.com> by shopping at amazon.com<
http://amazon.com> with our affiliate link:
https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.