Using program Output services via the command line or a batch file to print or export data
Use program: OUTPUT
This allows printing or export of runs / summaries. There are several different options available:-
/PRINT - print
/EXPORT - export to ASCII/Unicode files
/EXPORT /MDB - export to Access database
Printing
/PRINT=<printername> - specify the printer
/REPORTS=<reportletters> - set the reports to print
/RUN=<runumber> - set the run name / number
Reports are specified with a report letter (see below).
For example:-
OUTPUT /PRINT /REPORTS=BCE
OUTPUT /PRINT=\\SERVER\LASERJET4 /RUN=00027 /REPORTS=BCE
Export to ASCII file(s)
/EXPORT - export to ASCII/Unicode files
/REPORTS=<reportletters> - set the reports to print
/RUN=<runumber> - set the run name / number
Reports are specified with a report letter (see below).
For example:-
OUTPUT /EXPORT /REPORTS=BCE
OUTPUT /EXPORT /RUN=00027 /REPORTS=BCE
Note: If these commands are to be run from the Auxiliary menu then the equals sign should be replaced with a colon.
For example:-
OUTPUT /PRINT /REPORTS:BCE
Export to MDB file
/EXPORT /MDB - export to Access database
/REPORTS=<reportletters> - set the reports to print
/RUN=<runumber> - set the run name / number
Reports are specified with a report letter (see below).
For example:-
OUTPUT /EXPORT /MDB /REPORTS=BCE
OUTPUT /EXPORT /MDB /RUN=00027 /REPORTS=BCE
Export to XLS/XLSX
/EXPORT /XLS - export to Excel
/EXPORT /XLSX - export to Excel
Errors
Any errors are sent to a .ERR file.
Report letters (not all reports can be exported)
A Batch summary
B Management summary
C Pattern summary
D Part summary
E Board summary
F Offcut summary
G Distribution summary
H Input summary
I Destacking summary
J Pattern drawing
K Part sizes for pattern
L Cutting dimensions
M Pattern preview
N Edging summary
O Material summary
P Machine times summary
Q Saw loading summary
R Station summary
T Job costing
U Fittings
V Operations
Y Sundry parts
1 Nested Preview
2 Nested Drawings
3 Saw simulation
4 Nested pieces
5 Nested parts
6 Batch material summary
Override export path
The location of exported files can be temporarily overridden when exporting review runs data by using the OUTPUT program in stand alone mode.
The command line argument is /EXPORTPATH followed by the path for export data. This path can also be a UNC path, for example:-
..\OUTPUT.EXE /EXPORT /REPORTS=J /EXPORTPATH=O:\EXPORT\
..\OUTPUT.EXE /EXPORT /REPORTS=J /EXPORTPATH=\\SERVER\EXPORT\
If a path contains spaces then the path must be surrounded with quotes, for example:-
..\OUTPUT.EXE /EXPORT /REPORTS=BCD /EXPORTPATH="O:\SPACED PATH\"
If the path specified is not valid the export does not take place
Send to PDF
Create a printout as a PDF file. Use the /PDF argument:-
..\OUTPUT.EXE /PDF /REPORTS:BC
'/PRINT' is not needed if '/PDF' is used. To use PDF there must be at least one printer driver installed on the system.
Note
- If any stand alone commands are to be run directly from the Auxiliary menu, Automatic command files, Saw transfer (program name) or Machining transfer (post transfer program) areas of the software then any equals sign "=" should be replaced with a colon ":".