Software Companions - Gerber and HPGL Viewers

Tools for Viewing, Printing, Markup and Conversion 

ViewCompanion
Command Line Parameters

ViewCompanion filename
Start Viewcompanion and open the file named "filename".

ViewCompanion /associate ext
Associate a file extension with ViewCompanion and the shell extension.
Sample command line to assoicate the pdf extension with ViewCompanion: viewcompanion.exe /associate pdf

ViewCompanion /c format inputfile outputfile
Convert the file named "inputfile" to a file of the given "format" to a new file named "outputfile".
If inputfile contains wilcards (for example *.*) the outputfile should be the destination folder for the converted files.
Valid options for format are:
Format IdentifierDescription
BMPWindows BMP
CALSCALS Group 4 Raster
CGMCGM Binary
DWFAutoDesk Drawing Web Format
DXFAutoDesk DXF
EMFWindows Enhanced Metafile
GBRGerber RS274X
GIFGIF Raster
JPEGJPEG Raster
JPEG2KJPEG2000
PCXPaintbrush PCX
PDFAdobe PDF
PDFRASTERAdobe PDF Raster
PLTHPGL/2
PNGPortable Network Graphics
PSAdobe Postscript
SVGScalable Vector Graphics
TIFFTIFF Raster
WMFWindows Placeable Metafile

Sample command line: viewcompanion.exe /c PDF input.plt output.pdf


ViewCompanion /ci initname format inputfile outputfile
Same as /c command (see over), but uses a conversion configuration file to control the conversion.

ViewCompanion /cm format inputfilemask outputfile
Convert all input files matching the given "inputfilemask" to a single multipage file named "outputfile". The inputfilemask can contain both * and ? characters. The "inputfilemask" can also be the name of a text file that contains a list of all the files that will be converted. This file must include one file name per text line. Batch list files (VBL) and ViewCompanion Project files (VPR) are accepted by this command.
Valid options for format are:
Format IdentifierDescription
PDFAdobe PDF
PDFRASTERAdobe PDF Raster
PLTHPGL/2
TIFFTIFF Raster

Sample command line: viewcompanion.exe /cm PDF *.plt out.pdf


ViewCompanion /cmi initname format inputfilemask outputfile
Same as /cm but accepts a conversion configuration file name as second parameter.

ViewCompanion /cmpdf inputfilemask outputfile
Merge all input PDF files matching the given "inputfilemask" to a single multipage PDF file named "outputfile". The "inputfilemask" parameter can contain both * and ? characters. The "inputfilemask" may also be the name of a text file that contains a list of all the PDF files that will be merged. This text file must include one complete file name path per line. Both Batch list files (VBL) and Project files (VPR) are accepted as input.

ViewCompanion /compare comparefile1 comparefile2
Load and compare two files.

ViewCompanion /comparepdf comparefile1 comparefile2 output.pdf
Load two files and compare them, then save the comparison result to an output PDF file.

ViewCompanion /dw
This parameter will force the detail window to be shown after startup.

ViewCompanion /f listname
Load a text file that contains a list of one or more files to open. Each line should contain a file name to open.

ViewCompanion /lf-
This parameter will enable or disable the logfile creation. Use lf+ to enable the logfile and lf- to disable this function.

ViewCompanion /lu #
Select the unit to be used in the logfile. Use 0 for metric and 1 for imperial units.

ViewCompanion /lxml filename 
Load markup data from a XML formatted markup file. The ViewCompanion XML markup format description can be found here.
This parameter can be combined with the /c, /ci and /pi parameters.

ViewCompanion /namedview name
Load file and show the named view (DWF files only).

ViewCompanion /ne
Don't show the file explorer.

ViewCompanion /NoEdit
Disable all markup drawing functions.

ViewCompanion /NoSave
Disable the markup save function.

ViewCompanion /p filename
Open the file named "filename" and print it.

ViewCompanion /pi initname filename
Print the file named "filename" using settings stored in a printer init file named "initname"

ViewCompanion /pt filename printer driver port
Print the file named "filename" to a printer specified with printer, driver and port.

ViewCompanion /resetgui
In some rare situations the toolbars may be lost after a customization. Use this command line parameter to reset all toolbars and menus to default settings.

ViewCompanion /ro90 filename
Use this parameter to rotate the given file after loading. Valid rotation factors are 0, 90, 180 and 270.

ViewCompanion /rw
This parameter will force the reference window to be shown after startup.

ViewCompanion /s filename
This parameter will force ViewCompanion to check for a previous instance.
If a previous instance is found, it will be activated.
If a previous instance is not found, a new ViewCompanion instance will be started and activated.
Any filename given on the command line will be opened in the active instance.

ViewCompanion /t pentablefile filename
Loads the file together with the given pentable.