Batch & Print Pro 

Using Batch & Print Pro from the command line

 

Command Line Parameters

bullet -p option invokes the PRINT button
bullet -q option waits for prints to print & quits Batch & Print Pro Application
bullet -s option disables splash screen
bullet -S option for silent operation, will suppress spooling to printer dialog, no files in list dialog & page count progress dialog.
bullet -c(n) option repeats the files in the print list n times. 
bullet -C(n) option sets the number of copies on the printer device.
bullet -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.
bullet -l option clears the print log
bullet -h(n) option holds/pauses the process for n seconds
bullet -e<filename> option exports the print.log to a csv file ready for excel import.
bullet -r option resets/clears the filelist
bullet -m move file after print
bullet -M for moving all files after print
bullet -e email message
bullet -w wait for prints to finish before printing next
bullet -W0 start window restored (normal), -W1 start window minimized
bullet -F force multiple instances of Batch & Print Pro (without warning)
bullet -A set addon parameters
bullet filename(s) note: ? * wildcards are permitted

 

    Examples of usage:-

bullet To print 2 documents and quit
"Batch And Print" 1.doc 2.doc -p -q
bullet To print all .doc files and quit
"Batch And Print" *.doc -p -q
bullet 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
bullet 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
bullet To change printer settings,  print from a previously saved job list and quit
"Batch And Print" myjob.prs -p docs.job -p -q
bullet To print multiple documents with different printer settings and quit
"Batch And Print" myjob1.prs 1.doc myjob2.prs 2.doc -p -q
bullet 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
bullet 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
bullet 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
bullet To put back your default printer settings after a print job use -d option
"Batch And Print" -d -C10 1.doc -p -q
bullet 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
bullet move a file after print with the -m option.
"Batch And Print.exe" c:\test.pdf -p -mc:\zz\test.pdf -q
bullet move all files after a wildcard print with the -M option.
"Batch And Print.exe" -Mc:\test c:\*.pdf -p -q
bullet 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
bullet 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