Search found 2 matches

by Paul Lewis
Tue May 08, 2018 4:51 am
Forum: Preflighting
Topic: Portrait or Landscape?
Replies: 3
Views: 7507

Re: Portrait or Landscape?

Hello w2print, I'm not really following the objective here. Are you wanting to check all pages have the same orientation or, do you NOT want to fail preflight if a job has it's width and height dimensions around the wrong way compared to a job spec such as XML ? We have solved a potentially similar ...
by Paul Lewis
Wed Nov 29, 2017 6:18 am
Forum: LEGACY scripting
Topic: Script fails with Failed to make directory
Replies: 3
Views: 5704

Re: Script fails with Failed to make directory

You need to escape / add double backslashes in your base folder object (which is "dir").

EG
s.log(3,"jobArrived test write triggered");
var dir = new Dir("C:\\JOBS\\J000029\\Client\\PDF");
dir.mkdir("testtest");