Page Orientation

Robbie
Newbie
Posts: 18
Joined: Tue Apr 02, 2019 12:48 pm

Page Orientation

Post by Robbie » Fri Apr 05, 2019 2:59 pm

Im trying to make a action flow with page orientation.
I got a PDF file with Landscape and portrait pages. I want to select the landscape pages in the pdf and ad a extra borden with tekst on the left and right of the page. and on the portrait pages the extra border with text should go on top and bottom of the page.
Im trying with a select all and page orientation but i can not make it to work. it still does not select the right page it just does every page.

abailescollins
Member
Posts: 169
Joined: Wed Apr 22, 2015 4:28 pm

Re: Page Orientation

Post by abailescollins » Sat Apr 06, 2019 11:36 am

You don't say how you are selecting pages, but you need 'Select by Page Orientation' > Landscape
Attach your Action List if you get stuck
PitStop Product Manager @ Enfocus.
andrewb@enfocus.com

Robbie
Newbie
Posts: 18
Joined: Tue Apr 02, 2019 12:48 pm

Re: Page Orientation

Post by Robbie » Mon Apr 08, 2019 3:27 pm

Pagina orientatie.eal.zip
(220.68 KiB) Downloaded 10 times
Oh ok here is my action list. it does not matter what i select in the "Select by page orientation" it just does alle the pages

LasseThid
Advanced member
Posts: 257
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Re: Page Orientation

Post by LasseThid » Mon Apr 08, 2019 8:07 pm

Robbie: I took the liberty to look at your action list and I think I understand what's going wrong for you.
Basically first you Select all and then Select pages by orientation, then in 01 Afmaskeren you again Select all. This means that everything in the pdf is selected, not just on the pages you selected in the beginning of the action list. The same thing happens in 02, 03, 04 and 05.
I modified your action list to be Select all, Select by page orientation Landscape and the added a NOT to deselect the landscape pages, then I added these two after every Select all in 01, 02, 03, 04 and 05. I then changed the second Select pages by orientation to Portrait and again added a NOT and inserted these two after every Select all in the second 01, 02, 03, 04 and 05.
I think this gives you the result you're looking for with one exception. The text on the landscape pages is not rotated correctly.
Perhaps Andrew can find something I missed? :lol:

By the way... I think you can delete the Select all, Select pages by orientation and NOT outside of the 01, 02, 03, 04 and 05 parts and still get the same result...

Skärmavbild 2019-04-08 kl. 20.05.25.png
Skärmavbild 2019-04-08 kl. 20.05.25.png (27.14 KiB) Viewed 307 times
Pagina orientatie fixed.eal.zip
(222.11 KiB) Downloaded 10 times
Enfocus Switch 2018, Enfocus PitStop Server 18, Enfocus PDF Review, HP SmartStream 12 & Kodak Prinergy 8.2 with RBA
MAN Roland R705 & R708, KBA Rapida 205, HP Indigo 7600, 7900 & 12000, Inca OnsetX2, Durst P10 among other things

Robbie
Newbie
Posts: 18
Joined: Tue Apr 02, 2019 12:48 pm

Re: Page Orientation

Post by Robbie » Tue Apr 09, 2019 8:37 am

Thanks guys i just staring with pitstop so this is a great help. Im using pitstop pro 2017 and iff i import the fixed action im getting a warning that the action is made by a newer version and some items of the action wil be deleted. Mayby you can save the action in older 2017 version.

LasseThid
Advanced member
Posts: 257
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Re: Page Orientation

Post by LasseThid » Tue Apr 09, 2019 4:10 pm

Unfortunately I cant save it as an older version, but what I did was to change the orientation in your Select pages by orientation from Portrait to Landscape and then add a NOT after that selection. i.e. the action list looks like this.

Select all (This selects all pages)
Select pages by orientation (Landscape instead of Portrait) (This selects all Landscape pages)
NOT (Removes Landscape pages from selection)

I did this everywhere where you have a Select all.

In the second repetition you select Portrait instead of Landscpe and do the same.

I hope it's ok I post a screenshot of the action list.
Skärmavbild 2019-04-09 kl. 16.02.01.png
Skärmavbild 2019-04-09 kl. 16.02.01.png (70.07 KiB) Viewed 288 times
Enfocus Switch 2018, Enfocus PitStop Server 18, Enfocus PDF Review, HP SmartStream 12 & Kodak Prinergy 8.2 with RBA
MAN Roland R705 & R708, KBA Rapida 205, HP Indigo 7600, 7900 & 12000, Inca OnsetX2, Durst P10 among other things

Robbie
Newbie
Posts: 18
Joined: Tue Apr 02, 2019 12:48 pm

Re: Page Orientation

Post by Robbie » Wed Apr 10, 2019 11:41 am

Thanks it works nice. i made some small changes to make it work for me. But if i have just a landscape page the text is not there. with a portrait page is fine and if i have a mixed PDF its fine.
Pagina orientatie 10042019.eal.zip
(226 KiB) Downloaded 9 times
Schermafbeelding 2019-04-10 om 11.40.17.png
Schermafbeelding 2019-04-10 om 11.40.17.png (126.55 KiB) Viewed 257 times

LasseThid
Advanced member
Posts: 257
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Re: Page Orientation

Post by LasseThid » Fri Apr 12, 2019 11:53 am

Hi Robbie.
It's funny it works with portrait and mixed pages, but not with landscape only.
I did however find a couple of things that I changed to make it work better.
In the second of the 05 text invoegen the first Select by page orientation it's set to Landscape, but should be Portrait.
In the Add object the offset is set to X=40 and Y=60, which means it's places outside of the page, hence not showing...
Then you Select last added object and follow that by a Rotate object which means the text is rotated as well.
Changing the Y offset to -3 and removing the Select last added object and Rotate object made the text appear.
Enfocus Switch 2018, Enfocus PitStop Server 18, Enfocus PDF Review, HP SmartStream 12 & Kodak Prinergy 8.2 with RBA
MAN Roland R705 & R708, KBA Rapida 205, HP Indigo 7600, 7900 & 12000, Inca OnsetX2, Durst P10 among other things

Robbie
Newbie
Posts: 18
Joined: Tue Apr 02, 2019 12:48 pm

Re: Page Orientation

Post by Robbie » Wed Apr 17, 2019 3:32 pm

Hi LasseThid,

Thanks for the support but still can not get it to work. I want to have the text (file information) on the short end's of the page (so with a portraid page it schould be on top and bottom, and with a landscape page on left and right side. there was a reason of putting the text outside the mediabox al together so it was there to copy it to the clipboard.
But still i can not get it to work.

abailescollins
Member
Posts: 169
Joined: Wed Apr 22, 2015 4:28 pm

Re: Page Orientation

Post by abailescollins » Thu Apr 18, 2019 10:34 am

Hi Robbie
Ok, let's take this stage by stage.
Can you try the attached Action List and Test file.
This increases the Media Box size by 20 mm as requested.
Can you test this and see if it does what you want.
You'll need to look at the Media and Trim Boxes.
The other boxes are not needed at the moment (if at all).

Once we get this part ok we can move onto the next part of the story.
Attachments
Archive.zip
(4.11 KiB) Downloaded 6 times
PitStop Product Manager @ Enfocus.
andrewb@enfocus.com

Robbie
Newbie
Posts: 18
Joined: Tue Apr 02, 2019 12:48 pm

Re: Page Orientation

Post by Robbie » Thu Apr 18, 2019 4:11 pm

abailescollins wrote:
Thu Apr 18, 2019 10:34 am
Hi Robbie
Ok, let's take this stage by stage.
Can you try the attached Action List and Test file.
This increases the Media Box size by 20 mm as requested.
Can you test this and see if it does what you want.
You'll need to look at the Media and Trim Boxes.
The other boxes are not needed at the moment (if at all).

Once we get this part ok we can move onto the next part of the story.
Good idea mayby im just stuck somewhere in the actions. this works fine for diferent pages inside 1 PDF but if i have 1 pdf file with 1 page landchape then its not working.

abailescollins
Member
Posts: 169
Joined: Wed Apr 22, 2015 4:28 pm

Re: Page Orientation

Post by abailescollins » Thu Apr 18, 2019 7:50 pm

Can you send me that file. It may not be 'landscape'. It maybe Portrait with a rotation
PitStop Product Manager @ Enfocus.
andrewb@enfocus.com

Robbie
Newbie
Posts: 18
Joined: Tue Apr 02, 2019 12:48 pm

Re: Page Orientation

Post by Robbie » Fri Apr 19, 2019 8:49 am

Here is my action until now. It does not matter if i make a portrait page and rotate that ore a landshape page
Attachments
schoonsnijden.eal.zip
(232.87 KiB) Downloaded 5 times

abailescollins
Member
Posts: 169
Joined: Wed Apr 22, 2015 4:28 pm

Re: Page Orientation

Post by abailescollins » Fri Apr 19, 2019 12:11 pm

Can you send me the actual PDF file that my Action List does not work on.
Then I can investigate the problem.
You can mail it to me at Andrewb@enfocus.com or maybe contact our support team if you have a maintenance contract. support@enfocus.com
PitStop Product Manager @ Enfocus.
andrewb@enfocus.com

Robbie
Newbie
Posts: 18
Joined: Tue Apr 02, 2019 12:48 pm

Re: Page Orientation

Post by Robbie » Fri Apr 19, 2019 1:06 pm

I send the files to your email. hope you can find out what is happening for what i see now its some sort off bug somewhere.. :? :?

Post Reply