|
Sean, you said at first that you are using AFPDS. Here is the beginning of the command -
CRTPRTF FILE(QTEMP/P1401) DEVTYPE(*AFPDS)
So I'm not sure why you told Jimmy your file is *IPDS. If it is *IPDS, then I suggest overriding to *AFPDS if you need graphics or *SCS if just text. Ted Holt wrote an article about this topic - https://www.itjungle.com/2005/02/23/fhg022305-story01/
I read in the help for CPYSPLF that if the target IFS file does not exist, that the CCSID will be 66535 - so maybe create a pre-existing empty (no content) IFS file with PDF extension with the Czech CCSID.
HTH
Vern
On Mon, 11 Dec, 2023 at 1:49 PM, Brad Stone <bvstone@xxxxxxxxx> wrote:
To: rpg programming on ibm i
IPDS (and USERASCII) spooled files stink for converting. AFPDS are ok but
are normally raster image PDFs. *SCS are fine, though. :) I think my
SPLTOOL has been out for over 25 years now and still going strong.
On Mon, Dec 11, 2023 at 1:07 PM Roger Harman <roger.harman@xxxxxxxxxxx<mailto:roger.harman@xxxxxxxxxxx>>
wrote:
At my last employer, I tried every combination of
conversions/copies/<whatever> on an IPDS spool file. I never could get it
to work - something was always lost in the process. Even a couple of
commercial products failed.
I wish you better success than I had.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx>> On Behalf Of
scourtney@xxxxxxxxxxx<mailto:scourtney@xxxxxxxxxxx>
Sent: Monday, December 11, 2023 10:10 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>
Subject: Re: CCSID Problem with PDF output
Hello Jimmy,
thank you .. but
I know all that ... the problem is that my spool is an *IPDS spool file
and for a direct conversion it must *AFPDS. That is why I am doing it the
hard way ..
That is also not really the issue ..
The Czech language is at least according to IBM covered by CCSID 1153 (
Latin-2 with Euro) ....when I change my ACS session configuration to Host
CCSID 1153 I can see the special characters correctly ..
So for example the word Krňák show correctly ...the same word in CCSID
65535 shows as Krȇk. When I generate my PDF it always shows the values
incorrectly and
I am lost in finding out how to generate a PDF with CCSID 1153 that shows
the special characters correctly.
Mit freundlichen Grüßen / Kind regards / Bien à vous,
Seán
________________________________
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx>> on behalf of Jimmy
Sansi <jsansi@xxxxxxxxx<mailto:jsansi@xxxxxxxxx>>
Sent: Monday, December 11, 2023 09:39
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>
Subject: Re: CCSID Problem with PDF output
If you're creating the spool file and copying to a file (?) ... you can
shortcut that and just create a pdf right from a spool file using
CPYSPLF.
On 2023-12-11 03:10, Sean Courtney wrote:
Hello all,to output to *PDF. The contents of the file are in the Czech language and
Maybe someone has an idea what I am doing wrong ..
I have a file (PF) with the contents of a spool file which I would like
when I alter my ACS session to CCSID(1153) I can see all of the special
language chars without problem.
I created a PRTF in QTEMP with the attributes of the SPLF and copy thecontents of my PF to the PRTF.
CRTPRTF FILE(QTEMP/P1401) DEVTYPE(*AFPDS) PAGESIZE(72 133) CPI(15)OVRFLW(72) RPLUNPRT(*YES) CTLCHAR(*FCFC) HOLD(*YES)
TOSTMF(&PDFOUT) WSCST(*PDF ) LVLCHK(*NO)language chars are no longer readable. I have played around with the
So far that works fine but when the PDF is generated all my special CZ
CCSID's
But nothing helps.wrong.
Maybe somebody has done something similar and knows what I am doing
Thanks in advance..--
Mit freundlichen Grüßen / Kind regards / Bien à vous,
Seán
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.
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.