Contact UsContact Us

Command line usage (post install)

Command lines run in Windowed mode (Used to load a config or single file)

 

Parameters:

  • /CONFIG: (Followed by the full path and file name of the JSON config file)
  • “ExamText file” (No parameter needs defining, just the full path to the ExamText file you wish to load)

 

Examples:

Load the JSON config file from a custom location:

ExamWritePad.exe /CONFIG:"C:\Users\TestUser\Desktop\ExamWritePadSettings.json"

 

Load an ExamText file:

ExamWritePad.exe "C:\Users\TestUser\Desktop\TestFile.ExamText"

 

Command lines run in Windowless mode (used for Single or Batch Printing)

Required Parameters:

  • /FILE: (Followed by the full path and file name)
  • /FOLDER: (Followed by the full path to the folder)
  • /PRINT: (either a local printer name, networked printer name or default printer)

Optional Parameters:

  • /COPIES: (Followed by a numeric value, but if not specified, will fall back, and use the ‘NumCopiesToPrint’ value in the EWP config file)
  • /COVER (If specified, it will print the JCQ or CIE coversheet (Form 4) based on the exam board specified in the EWP file)
  • /COVERSCRIBE (If specified, it will print the JCQ Scribe coversheet (Form 2) based on the exam board specified in the EWP file)

 

Each parameter MUST be made up of: a forward slash, parameter name, colon, double quotes, a specified string or number relating to the parameter, double-quotes.

 

Examples:

 Print a document to the DEFAULT printer:

CommandlinePrinting.exe /FILE:"C:\Users\TestUser\Desktop\Test.ExamText" /PRINT:"default"

 

Print two copies of the document and coversheet to the DEFAULT printer:

CommandlinePrinting.exe /FILE:"C:\Users\TestUser\Desktop\Test.ExamText" /PRINT:"default" /COPIES:"2" /COVER

 

Batch print a folder of ExamText files (including within all subfolders) to a network printer:

CommandlinePrinting.exe /FOLDER:"C:\ExamScripts" /PRINT:"\\Server1\MonoPrinter"

 

Batch convert a folder of ExamText files (including within all subfolders) to PDF files with (Form 4) coversheets, saved within the same folder:

CommandlinePrinting.exe /FOLDER:"C:\ExamScripts" /PRINT:"Microsoft Print to PDF" /COPIES:"1" /COVER

If batch printing from a folder, you can only select COVER or COVERSCRIBE, so I would split up into two batch jobs, one folder with cover and another with coverscribe.

Still need help? Contact us here