ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Convert Spool File to PDF

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    Re: Convert Spool File to PDF

    Well I have modified it slight so its not a command but just a straight CL program which can be called by other programs, I nailed down the issues though I think but am left with two flaws or things I need solutions for:

    1) It creates the pdf document and I can move it using websphere of ftp, but a mapped windows drive can not open the file without triggering "There was an error opening this document. Access Denied." I can only guess this is a result of the different format between windows and IFS, of course I coudl easily be wrong.

    2) To establish the Bookmarks in the PDF document, BMarkPos & BMarkKey, are both list variables; how do you build a list variable within a CL program?? The answer is likely obvious but I can't seem to find a hint as to how to do it, if it can be done.

    Thanks for any help.

    Comment


    • #62
      Re: Convert Spool File to PDF

      1) The CCSID is what allows the two systems to communicate. I would think that
      you have other issues as I can open the .pdf from our system.

      2)you'll need to use the *CAT *BCAT *TCAT opcodes in cl to buld a string of values.

      Please start a new thread as this is tooooo long

      thank you
      jamie
      All my answers were extracted from the "Big Dummy's Guide to the As400"
      and I take no responsibility for any of them.

      www.code400.com

      Comment


      • #63
        Re: Convert Spool File to PDF

        Hi

        The tool works like a gem.But it works if the spool file contains only text.If the spool file contains logos or barcodes, it does not convert to PDF.Is there anyother tool to accomplish this?

        Thank You

        Regards
        Nanda

        Comment


        • #64
          Re: Convert Spool File to PDF

          sure try Giuseppe Costagliola's tool:

          All my answers were extracted from the "Big Dummy's Guide to the As400"
          and I take no responsibility for any of them.

          www.code400.com

          Comment


          • #65
            Re: Convert Spool File to PDF

            Thank You Jamie.

            Regards
            Nanda.

            Comment


            • #66
              Re: Convert Spool File to PDF

              Gloria Zambrano

              I have started using CVT2PDF too and I am pleased with the results. I would like to change the program to hide the bookmarks when the .pdf file is initially open. Can anyone tell me how to achieve this? TIA.
              I have resolved this by changing the code in the CVT2PDF

              Code:
              orig   CALLP     WritePDF('/PageMode /UseOutlines')
              mods   CALLP     WritePDF('/PageMode /UseNone')
              Hope this helps,

              Greg

              Comment


              • #67
                Re: Convert Spool File to PDF

                Hi Jamie

                Is the viceversa possible? PDF to Spool.Atleast would we able to extract text from PDF that is created using the tool that you had mentioned above(AFP to PDF)?

                I have been trying hard to find something in google but in vain.

                Your reply is gr8ly appreciated!!!

                Thanks in Advance...

                Regards
                Nanda

                Comment


                • #68
                  Re: Convert Spool File to PDF

                  Hi nandas400:

                  I'm not sure this is exactly what you are looking for but the article claims to be able to print the pdf through a shared printer. I don't know that it really creates a spool file.



                  Best of Luck
                  GLS
                  The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

                  Comment


                  • #69
                    Re: Convert Spool File to PDF

                    im sure there is a tool out there in PC- land I know of none off hand....

                    BTW: im closing this post its wayyyyy Toooooo long

                    Took me an hour to re-read all the posts down to this one
                    All my answers were extracted from the "Big Dummy's Guide to the As400"
                    and I take no responsibility for any of them.

                    www.code400.com

                    Comment

                    Working...
                    X