Software Companions - Gerber and HPGL Viewers

Tools for Viewing, Printing, Markup and Conversion 

ViewCompanion
DDE Command Reference

NB! All commands are case sensitive.

Command Description
[open("filename")] Open a file for viewing. Filename must be enclosed by ".
[print("filename")] Load a file and print it. Filename must be enclosed by ".
[closeapplication()] Close the application.
[showmainwindow("state")] Set window state for main application window. Possible values for state are:
  • "maximized"
  • "minimized"
  • "restore"
[setwindowpos(x,y,w,h)] Set main window position and size. All numbers are in screen pixels.
[tilehorz()] Tile all child windows horizontally.
[tilevert()] Tile all child windows vertically.
[cascade()] Cascade all child windows.
[setactivefile("filename")] Select the current active file. Filename must be enclosed by ".
[rotate()] Rotate the current active file 90 degrees counterclockwise.
[convert("format","outputfile")] Converts the current active file to outputfile.
Valid formats are :

PDFAdobe Acrobat
CGMCGM Binary
DWFAutoDesk Drawing Web Format
DXFAutoDesk DXF
GBRGerber RS274X
GIFGIF Raster
JPEGJPEG Raster
JPEG2KJPEG2000 Raster
PCXPaintbrush PCX
PNGPortable Network Graphics
PSAdobe Postscript
TIFFTIFF Raster
CALSCALS Group 4 Raster
PDFRASTERAdobe Acrobat (PDF Raster)
SVGScalable Vector Graphics
BMPWindows BMP
WMFWindows Placeable Metafile
EMFWindows Enhanced Metafile

Format and Filename strings must be enclosed by ".

[closeactivefile()] Close the current active file.
[namedview(name)] Zoom drawing and display the named view.
[zoomall()] Execute the ZoomAll command on the current active file.
[zoomtowidth()] Execute the ZoomToWidth command on the current active file.
[zoomin()] Execute the ZoomIn command on the current active file.
[zoomout()] Execute the ZoomOut command on the current active file.