4 Replies Latest reply on Oct 10, 2011 9:58 PM by MikaelKristoffersson

    Layout of a saved PDF-file

    MikaelKristoffersson

      Title

      Layout of a saved PDF-file

      Post

      Hello!

       

      I have a problem I cannot find a solution to.

      I found out how to attach a PDF whilen sending SMTP-e-mail on an iPad at this forum. It works fine, exept for one thing.

      The resulting PDF-file depends on how the iPad device is held. If it is held in portrait position I get the result I want, a PDF that fits perfectly on a paper print from it, but if the device is held in landscape position, the PDF is also saved in protrait position.

       

      Is there a way to lock a layout to be saved in portrait format?

       

      /Mikael

        • 1. Re: Layout of a saved PDF-file
          TSGal

          Mikael Kristoffersson:

          Thank you for your post.

          In your Print Setup script step, did you set the orientation to Portrait or Landscape?  If you aren't using a script, do you set the orientation prior to tapping PDF?

          If you could provide the exact steps you are taking, I'll try to reproduce the problem.

          TSGal
          FileMaker, Inc.

          • 2. Re: Layout of a saved PDF-file
            MikaelKristoffersson

            Thank you for your answer!

             

            This is the script code (in Swedeish, as I'm using a Swedish FileMaker Pro);

            testa sända mail

            Gå till layout [ “Störningar Utskrift” (Störningar) ]
            Ange variabel [ $filnamn; Värde:"storning_" & Störningar::Störningsnummer & Substitute ( Get ( AktuelltDatum ) ; " / " ; " - " ) & ".

            pdf" ]

            Spara poster i PDF-format [ Filnamn: “$filnamn”; Aktuell post ]
            [
            Dokument - Compatibility: Acrobat 7 och senare ]
            [
            Sidor - Numrera sidor från: 1; Ta med: Alla sidor ]
            [
            Säkerhet - Utskrift: Hög upplösning; Redigering: Allt utom att extrahera sidor; Aktivera kopiering; Aktivera skärmläsare ] [ Startvy - Visa: Sidpanelen och sidan; Sidlayout: Enstaka sida; Förstoring: 100% ]

            [ Spara; Ingen dialogruta ]

            Ange variabel [ $PDFPath; Värde:Get ( Dokumentsökväg ) & $filnamn ]

            Skicka e-post [ Skicka via SMTP-server; Till: "storning@xxxx.se"; Ämne: "Storning"; Meddelande: Störningar::Störning; Bilaga: “$PDFPath”; Namn: "yyy xxx"; E-postadress: "xxxx@gmail.com"; Svara-till adress: "xxxx@gmail.com"; SMTP-server: "smtp.gmail.com"; Port: 587; Använd TLS; Typ av verifiering: Bara lösenord; Användarnamn: "xxxxx@gmail.com"; Lösenord: "xxxx" ]
            [
            Ingen dialogruta ]

            Gå till layout [ ursprunglig layout ]

            • 3. Re: Layout of a saved PDF-file
              TSGal

              Mikael Kristoffersson:

              Instead of Save Records as PDF, try printing as PDF.  Save Records will use the existing layout, while printing uses the Print Setup.

              TSGal
              FileMaker, Inc.

              • 4. Re: Layout of a saved PDF-file
                MikaelKristoffersson

                Thank you for your help! Problem solved!

                 

                /Mikael