I need to create a job which will take PDF input, set the boundary to 4 pages, check if the third page in the set is blank and if it is discard pages 3 and 4. Any resulting sections with 2 pages should be printed simplex and any with 4 pages should be duplex.
I am happy that if I can determine if page 3 is blank I can then set a field to either Simplex or Duplex and can use this with a Retrieve Items action in the workflow to handle the print. My questions are -
How can I determine if a PDF page is empty? And how can I delete pages 3 and 4 of a set where page 3 is blank?