Ich nähere mich langsam (sehr langsam) meinem Ziel ,
allerdings habe ich irgendwas noch nicht verstanden .
Ich habe jetzt folgendes im G-Code hinterlegt unter "10:Drucker herunterfahren":
@execute "Windows herunterfahren"
Damit habe ich mir eine Schaltfläche Schaltfläche namens "Windows herunterfahren"
im Menü des Servers gebaut oder war die vorher schon da und ich hab es nicht gesehen ?
Allerdings fährt er noch immer nicht automatisch herunter,
über die Schaltfläche "nach dem Druck herunterfahren"
Meine Extcommands : (diese hab ich so im Netz gefunden)
<?xml version="1.0"?>
-<config>
<!--If you want to run external commands, enter them in this configuration withfull path. You will see them in the main menu. Copy this file into the<storage>/database directory.Security consideration: The reason there is no online editor for this is simplysecurity. The commands you enter here are executed with the privileges of thedaemon running the server. If you would allow online configuration, a hacker couldsimply add any command he needs to hack your system. -->
-<command>
<name>Windows herunterfahren</name>
<execute>c:\Windows\System32\shutdown.exe -s</execute>
<confirm>Wirklich herunterfahren?</confirm>
</command>
<!--G-code files can contain@execute cmd param1 param2commands. To prevent external users from executing unwanted or dangerous commands,only commands defined here are allowed to execute. More over, only the shortcutsdefined here are to be used as cmd in @execute. Prevent parameter where ever possible. -->
<execute allowParams="true" name="play">/usr/bin/afplay</execute>
<!-- play the sound file on moc os x -->
</config>
Ich bin mal gespannt ob ich das noch zum laufen bekomme.