Acrobat read batching (OpenInsight 32-bit Specific)
At 14 AUG 2003 04:34:09AM Barry Stevens wrote:
I have created 30+ PDF files in an OIPI run.
The user selects those files in explorer and print, problem is they dont print in the order selected. I want to print pdf files from OI without user intervention after they have selected the files, in order, to print. I was looking at calling AcroRd32.exe as a commond line and passing each filename. I was testing in Windows Run and fluked on "……\AcroRd32.exe /P " command line where the print dialog comes up, BUT, I want to print immediately without the dialog.
Does anyone what the command line options are and/or how can I do this, I suppose I am asking for a "Batch" print option.
Barry
At 14 AUG 2003 05:53AM Oystein Reigem wrote:
Barry,
Your posting caught my attention since it mentions problems with order in file selections. I've seen this slightly annoying problem both in Explorer and File Open dialogs. To me it seems like one file or two might be in correct order, while the rest are in backwards order. Or something. There seems to be some method to the madness. This must be a problem with Windows, right? Curious it hasn't been fixed.
I have no knowledge of command line options for Acrobat, but I managed to find this, which mentions a /t option:
- Oystein -
At 15 AUG 2003 12:35AM Barry Stevens wrote:
That is the problem I am circumventing.
I found the parameter – /p /h (Where /p=print /h=hide)
Barry
At 15 AUG 2003 03:40AM Oystein Reigem wrote:
Barry,
Glad you found a solution.
(According to the page I found that /t parameter allows you to print to a specific printer with a specific driver at a specific printer port, but you might not need all that.)
Tell me - how exactly do you circumvent the order problem? Do your users pick files from a multi-select edit table? I'd assume you'd get the order problem with any File Open dialog.
- Oystein -
At 15 AUG 2003 04:32AM Barry Stevens wrote:
I used the OI DirList to get the all the PDF files (returned sorted already) from the nominated folder. Then loop thru the filelist calling Acro??32.exe (using RUNWIN) for each file. Put in a few more options…All files, Print all starting from, Print selected.
Barry
At 15 AUG 2003 05:02AM Oystein Reigem wrote:
Barry,
All right. So it's not really the user who decides the order of the files. The order is decided by the file names. E.g, files f1.pdf, f2.pdf, f3.pdf will always be printed in that order. The user can't select and print them in a different order, e.g, f3.pdf, f1.pdf, f2.pdf.
- Oystein -
At 15 AUG 2003 08:50PM Barry J Stevens wrote:
If it was a requirement they could.
If idividual reports are required to print I present a popup of Filenames…so the ordered select option could be set.
Are you asking because you need to do something similar.
I can sent you my code if you like.
Barry
At 16 AUG 2003 04:41AM Oystein Reigem wrote:
Barry,
Are you asking because you need to do something similar.
No, asking questions is just one of my compulsive disorders.
![]()
Actually the need might turn up one place in my recent app, but I'll wait until my clients ask for it.
I can sent you my code if you like.
Thanks for the offer but because of the programming and functionality that's already there I think I'll have to solve it a different way - like having something that allows the user to reorder the selection afterwards. Besides - writing code is another one of my compulsive disorders.
![]()
- Oystein -
At 16 AUG 2003 09:01AM Don Miller - C3 Inc. wrote:
Oystein ..
You forgot "Impulsive" which goes right along with it too.
Don M.
At 16 AUG 2003 03:15PM Oystein Reigem wrote:
Don,
Compulsive, impulsive, even propulsive. As long as you don't find me repulsive.
![]()
- Oystein -