ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

CVT2CMD margin on PDFs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: CVT2CMD margin on PDFs

    I think the original setting for the tool is designed for a 11.00 x 8.50 page setup. This is a landscape format.

    If you want to make it to portrait, you will need to modify the CVT2PDF and change the /Mediabox parameters.

    Here is the code
    PHP Code:
    orig
    WritePDF
    ('/MediaBox ^0 0 792 612]')

    mods
    WritePDF
    ('/MediaBox ^0 0 612 792]'
    Hope this helps.

    Greg

    Comment


    • #17
      Re: CVT2CMD margin on PDFs

      I found CVTSPLSTMF - converts Spool file to PDF in IFS.

      Did anyone use this tool? Which one is better? Thanks.

      Comment


      • #18
        Re: CVT2CMD margin on PDFs

        Try em all pick out your favorite........

        as greg said you can modify the CVT2PDM program to
        use this

        Code:
        WritePDF('/MediaBox ^0 0 612 792]')
        if spooled file is 80 see variable snPageWdth

        then new way from greg else

        oldway!

        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


        • #19
          Re: CVT2CMD margin on PDFs

          Where can i download the CVTSPLSTMF. I want to try it too.

          Thanks in advance.

          Comment


          • #20
            Re: CVT2CMD margin on PDFs

            try here

            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