Batch & Print Pro
Using Batch & Print Pro from the command line
Command Line Parameters
![]() |
-p option invokes the PRINT button |
![]() |
-q option waits for prints to print & quits Batch & Print Pro Application |
![]() |
-s option disables splash screen |
![]() |
-S option for silent operation, will suppress spooling to printer dialog, no files in list dialog & page count progress dialog. |
![]() |
-c(n) option repeats the files in the print list n times. |
![]() |
-C(n) option sets the number of copies on the printer device. |
![]() |
-d option saves the current printer settings at the beginning and resets the printer back to these settings at the end of the print job. |
![]() |
-l option clears the print log |
![]() |
-h(n) option holds/pauses the process for n seconds |
![]() |
-e<filename> option exports the print.log to a csv file ready for excel import. |
![]() |
-r option resets/clears the filelist |
![]() |
-m move file after print |
![]() |
-M for moving all files after print |
![]() |
-e email message |
![]() |
-w wait for prints to finish before printing next |
![]() |
-W0 start window restored (normal), -W1 start window minimized |
![]() |
-F force multiple instances of Batch & Print Pro (without warning) |
![]() |
-A set addon parameters |
![]() |
filename(s) note: ? * wildcards are permitted |
Examples of usage:-
![]() |
To
print 2 documents and quit "Batch And Print" 1.doc 2.doc -p -q |
![]() |
To
print all .doc files and quit "Batch And Print" *.doc -p -q |
![]() |
To
change printer settings, print 2 documents and quit use .prs (printer
settings) files "Batch And Print" myjob.prs 1.doc 2.doc -p -q |
![]() |
To
print from a previously saved job list and quit use .job files saved by
batch & print pro interface or a simple text list. "Batch And Print" docs.job -p -q |
![]() |
To
change printer settings, print from a previously saved job list and
quit "Batch And Print" myjob.prs -p docs.job -p -q |
![]() |
To
print multiple documents with different printer settings and quit "Batch And Print" myjob1.prs 1.doc myjob2.prs 2.doc -p -q |
![]() |
To
print your list twice use the -c option, note order will be 1.doc, 2.doc,
1.doc & 2.doc "Batch And Print" 1.doc 2.doc -c2 -p -q |
![]() |
To
change the number of copies on the printer device use the -C option, note
order will be 1.doc, 1.doc, 2.doc & 2.doc, note: use the -r option if
you wish to do multiple -C options on the same command line (see below),
note: the -C set's the printer when the command is issued, so any .prs
files afterwards will cancel this out. "Batch And Print" 1.doc 2.doc -C2 -p -q |
![]() |
To
reset/clear the file list for multi commands on the same command line use
the -r option "Batch And Print" -C1 1.doc -p -r -C3 2.doc -p -q |
![]() |
To
put back your default printer settings after a print job use -d option "Batch And Print" -d -C10 1.doc -p -q |
![]() |
To
clear the print log, print some documents and export the print log to a .csv
file "Batch And Print" -l 1.doc 2.doc -p -ec:\mylog.csv -q |
![]() |
move
a file after print with the -m option. "Batch And Print.exe" c:\test.pdf -p -mc:\zz\test.pdf -q |
![]() |
move
all files after a wildcard print with the -M option. "Batch And Print.exe" -Mc:\test c:\*.pdf -p -q |
![]() |
email
user after print with the -E option, messeage is the email body, all other
email parameters are taken from the email setup in Batch & Print Pro. "Batch And Print.exe" c:\test.pdf -p -E"all done" -q |
![]() |
To print using the excel addon. "Batch And Print" -Aexcel"-s1|-e9999" c:\test.xls -p -q |
email: support@traction-software.co.uk
web site: http://www.traction-software.co.uk