TwinView Plus Print from Command Line.


In the installation directory of TwinView Plus you will find an executable file"tvcmd.exe".
Only this application can be used to print in Command-Mode. This page describes the available command parameters
There are two alternative Parameternotationen valid, which can be entered:
  • -h
  • --help
Beispiel:
    tvcmd.exe -p:"HP LaserJet 1000" -l:Model -l:"Kartka A4" -l:"Kartka A3" -q "C:\CAD\Test.dwg"
Parameter Description
-h / --help Shows help
-q / --quiet Silent mode, no message windows will be shown
-r / --rangelimits Defines the drawing area. By default, drawing extents will be printed. This parameter turns the print area to limits
-g / --grayscale Print in grayscale
-m / --monochrome Print in black / white mode
-a / --all Prints all drawing layouts
-l / --layout Angabe welche Layouts gedruckt werden sollen.
Beispiel:
    tvcmd.exe -l:Model -l:"My Layout" "C:\CAD\Test.dwg"
Wird kein layout angegeben, dann wird das zuletzt aktives Zeichnungslayout ausgegeben.
-p / --printer Gibt an auf welchen Drucker die Ausgabe erfolgen soll.
Beispiel:
    tvcmd.exe "C:\CAD\Test.dwg" - Druckt auf dem Standrddrucker
    tvcmd.exe -p:"HP LaserJet 1000" "C:\CAD\Test.dwg" - Druckt auf einem lokal definierten Drucker
    tvcmd.exe -p:"\\CAD\hp LaserJet 1000" "C:\CAD\Test.dwg" - Druckt auf einem Netzwerkdrucker


Beispiele der tvcmd.exe Anwendung:
    tvcmd.exe -p:"HP LaserJet 1000" -l:Model
    -l:"Layout 123" -g "C:\CAD\Test.dwg"
      druckt auf einel lokalen Drucker, Layouts: "Model", "Lyouout 123", Graustufen
    tvcmd.exe -m -a "C:\Rysunki DWG\Test.dwg"
      Druckt alle Layouts auf dem Standarddrucker in schwarz/weiss Modus

Bemerkungen

    Die Funktion "Druck aus Kommandozeile" ist nur in der Plus Version verfügbar.
    Unterstützte Dateitypen:
      DXF , DWG
      DWF
      DGN
      TIFF, JPG, PNG, GIF