All available GerbView switches are listed below.
Please don't hesitate to contact us if you have an idea for a switch you would like to see added to this list.
Switch and parameter | Description | ||||||||||||||||||||||||||||||||
filename |
Start GerbView and open an existing file. You may use wildcards (* and ?) instead of a single filename for this command.
Examples: |
||||||||||||||||||||||||||||||||
/add filename |
Open a file in an already running GerbView instance. If no instance is currently running, GerbView will be started and the given file name will be opened.
Example: |
||||||||||||||||||||||||||||||||
/associate extension |
Associate the given file extension with GerbView. Please note that you would need run this in a command prompt window with administrator rights.
Example: |
||||||||||||||||||||||||||||||||
/c format inputfile outputfile bitsperpixel dpi |
Convert the file named "inputfile" to a file of the given "format" named "outputfile". For raster formats you may specify bits per pixel and dpi. Most of the raster formats supports 1, 8 and 24 bits per pixel. Please note that CALS only support 1 bit per pixel (monochrome). You can combine this parameter with other switches found below, that can mirror or rotate the output. Valid options for format are:
Examples: |
||||||||||||||||||||||||||||||||
/cm format outputfile inputfile1 inputfile2 inputfile3 and so on |
Merge two or more files into a single file of the given "format" named "outputfile". You may use wildcards (* and ?) for the inputfile parameters. For this method only vector type output formats are supported. All valid options for output format are listed below:
Examples: |
||||||||||||||||||||||||||||||||
/mx |
Mirror the converted output file about the X axis. This switch can be used in combination with the /c switch:
Example: |
||||||||||||||||||||||||||||||||
/my |
Mirror the converted output file about the Y axis. This switch can be used in combination with the /c switch:
Example: |
||||||||||||||||||||||||||||||||
/p filename |
Open a file and print it.
Example: |
||||||||||||||||||||||||||||||||
/pc format inputfile outputfile pageno |
Convert the PDF file named "inputfile" to a CAD (vector) file of the given "format" named "outputfile". The fourth parameter is the page number, and the first page is numbered 1. All valid options for format are listed below:
Example: |
||||||||||||||||||||||||||||||||
/pt filename printer driver port |
Open a file and print it to a specified printer, driver and port.
|
||||||||||||||||||||||||||||||||
/q |
Starts GerbView without displaying the splash screen.
Example: |
||||||||||||||||||||||||||||||||
/r90 |
Rotate the converted output file 90 degrees clockwise. This switch can be used in combination with the /c switch documented above. Open a file and print it to a specified printer, driver and port.
Example: |
||||||||||||||||||||||||||||||||
/r180 |
Rotate the converted output file 180 degrees clockwise. This switch can be used in combination with the /c switch documented above. Open a file and print it to a specified printer, driver and port.
Example: |
||||||||||||||||||||||||||||||||
/r270 |
Rotate the converted output file 270 degrees clockwise. This switch can be used in combination with the /c switch documented above. Open a file and print it to a specified printer, driver and port.
Example: |
||||||||||||||||||||||||||||||||
/resetgui |
Reset all toolbars and menus back to the default settings.
Example: |