Software Companions - Gerber and HPGL Viewers

Tools for Viewing, Printing, Markup and Conversion 

Home  Products   How to Buy   Support   Company  

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 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 options for format are one of the following : PDF,PS,DWF,GBR,WMF,EMF. Format and Filename strings must be enclosed by "
    [closeactivefile()] Close the current active file.
    [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.
    © Software Companions,  Norway  E-mail: sales@softwarecompanions.com