Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation improvement #1493

Closed
TomyCesaille opened this issue Oct 15, 2021 · 4 comments
Closed

Documentation improvement #1493

TomyCesaille opened this issue Oct 15, 2021 · 4 comments

Comments

@TomyCesaille
Copy link

TomyCesaille commented Oct 15, 2021

Description

NOTE: I would have done it myself with a PR but it seems we can't PR for the WIKI section in github.

I suggest to write in plain text the GCODE Scripts for OctoPrint along with the current screenshot. So, as users, we can copy paste it easily. Please notice my suggested content below.

Thank you for this outstanding work.


(Content to add in https://github.com/Jyers/Marlin/wiki/OctoPrint-Settings)

Before print job starts

;Jyers gcode
M75 ;Start Print Job on Display
M117 <F>{{ event.name }} ;Send Filename to Display

After print job completes

;Jyers gcode
M77 ;Stop Print Job on Display

After print job is cancelled

;Jyers code
M77 ;Stop Print Job on Display

After print job is paused

;Jyers code
M76 ;Pause Print Job on Display

Before print job is resumed

;Jyers code
M75 ;Start Print Job on Display

Raw markdown to the wiki:

### Before print job starts

```gcode
;Jyers gcode
M75 ;Start Print Job on Display
M117 <F>{{ event.name }} ;Send Filename to Display
```

### After print job completes

```gcode
;Jyers gcode
M77 ;Stop Print Job on Display
```

### After print job is cancelled

```gcode
;Jyers code
M77 ;Stop Print Job on Display
```

### After print job is paused

```gcode
;Jyers code
M76 ;Pause Print Job on Display
```

### Before print job is resumed

```gcode
;Jyers code
M75 ;Start Print Job on Display
```
@Jyers
Copy link
Owner

Jyers commented Oct 24, 2021

Good point! Btw, you can actually PR directly to the wiki I believe. So if you have any other suggestions of such, you can simply make the modification yourself and I just have to merge the PR

@TomyCesaille
Copy link
Author

As crazy as it sounds, we cannot 😅

cf isaacs/github#846 and previously stated https://stackoverflow.com/a/11481887

@Jyers
Copy link
Owner

Jyers commented Nov 3, 2021

Oh.. that's unfortunate... Well I suppose issues will have to do 😅

I'll merge your changes in soon

@Jyers
Copy link
Owner

Jyers commented Nov 3, 2021

Added! Thanks again :)

@Jyers Jyers closed this as completed Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants