PDA

View Full Version : Commandline Printing has Stopped working in 2.3 Build 3309


john8oy
October 14th, 2008, 04:03 AM
Anyone know if there is a fix for this as I use it to print some jobs from a batch file. U have had to roll back to earlier build.

Cheers
John

christina
October 14th, 2008, 08:16 AM
Hi Jhon, sorry for certain reasons the function 'printing batch files from commandline' has been disabled.

john8oy
October 14th, 2008, 09:23 AM
Hi Jhon, sorry for certain reasons the function 'printing batch files from commandline' has been disabled.

Thanks for the reply Christina.
So has the commandline function been disabled completely? It still gives you the usage switches when queried. If so it's such a shame as it worked so well and was better than adobe reader. I did want to use the latest build as I've had a few crashes lately with a certain graphic within a PDF (the new build cured this) Does this mean I have to go back to Adobe Reader?

Cheers
John

christina
October 14th, 2008, 11:31 PM
HI John,

Sorry to say this function was off stage for a long time. I will make a reqeust for this to see if possible it will be added in another way.

And, you wrote 'It still gives you the usage switches when queried' , I could not find this usage in the commandline, how can I get it?

BTW, in which Reader version, you can use this commandline function?

john8oy
October 15th, 2008, 04:07 AM
HI John,

Sorry to say this function was off stage for a long time. I will make a reqeust for this to see if possible it will be added in another way.

And, you wrote 'It still gives you the usage switches when queried' , I could not find this usage in the commandline, how can I get it?

BTW, in which Reader version, you can use this commandline function?

To get the switches paste this into a run command:
"C:\Program Files\Foxit Software\Foxit Reader\foxit reader.exe" /?

You can use /T in most reader versions to print a file from command line. Only problem is it leaves the program running when the file has printed. I am working on a solution to this and think I've found one.

Cheers
John

christina
October 15th, 2008, 06:51 AM
O, that's terrific. can you share your solution?

john8oy
October 16th, 2008, 07:13 AM
O, that's terrific. can you share your solution?

Sure,

My solution is to use this free command line utility which uses Adobe Acrobat Reader and works great with latest version 9. Download here:
http://www.esnips.com/doc/0a1928c4-a96d-4a4c-838a-eb6e0b9a986c/pdfp8

Regards
John

christina
October 18th, 2008, 01:17 AM
I thought u find solution within foxit reader.::1_01:

john8oy
October 20th, 2008, 07:22 AM
I thought u find solution within foxit reader.::1_01:

well, I was hoping you might come up with that :p

hansen
October 21st, 2008, 10:20 AM
I got commandline printing working in 3309. Searched a bit in the registry and found that you have to switch around on the parameters.

WORKING (at least in 3309):
FoxitReader.exe /p "path\to\file.pdf"
FoxitReader.exe /t "path\to\file.pdf" "PrinterName"

NOT working, but listed in FoxitReader.exe /?:
FoxitReader.exe "path\to\file.pdf" /p
FoxitReader.exe "path\to\file.pdf" /t "PrinterName"

Christina: Can you file a bug to change the /? page or the parameters, but please make sure it's stated in the changelog, so we can change around in our scripts if the parameters are disabled/changed.

christina
October 21st, 2008, 07:31 PM
Hi Hansen, Thanks much to your post. We have changed this variance in our internal new edition.

pbowman
November 19th, 2008, 12:22 PM
What if I wanted to print all PDF files that were in a folder? It does not seem to like the command:

"Foxit Reader.exe" /t "c:\pdfqueue\*.pdf" "Invoice2"

christina
November 19th, 2008, 05:25 PM
Sorry there is no batch print command.