Skip to content

Upload and start print automatically#29

Open
chrisns wants to merge 1 commit into
macdylan:masterfrom
chrisns:upload_and_print
Open

Upload and start print automatically#29
chrisns wants to merge 1 commit into
macdylan:masterfrom
chrisns:upload_and_print

Conversation

@chrisns

@chrisns chrisns commented Jan 21, 2025

Copy link
Copy Markdown

addresses #14 for non sacp http based snapmakers

VGottselig added a commit to VGottselig/sm2uploader that referenced this pull request Jul 9, 2026
Honor OctoPrint print=true so slicers (OrcaSlicer/PrusaSlicer Print) upload AND start the job in one action. Adds StartPrint() to the connector Handler interface (HTTP -> POST /api/v1/start_print; SACP/Moonraker stubs), connector.Upload gains a start bool (starts right after upload in the same session, before disconnect), octoprint.go reads r.FormValue(print), plus a new -start CLI flag. Addresses macdylan#14; same intent as macdylan#29 but rebased on current master (conflict-free).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
VGottselig added a commit to VGottselig/sm2uploader that referenced this pull request Jul 9, 2026
Honor OctoPrint print=true so slicers (OrcaSlicer/PrusaSlicer Print) upload AND start the job in one action. Adds StartPrint() to the connector Handler interface (HTTP -> POST /api/v1/start_print; SACP/Moonraker stubs), connector.Upload gains a start bool (starts right after upload in the same session, before disconnect), octoprint.go reads r.FormValue(print), plus a new -start CLI flag. Addresses macdylan#14; same intent as macdylan#29 but rebased on current master (conflict-free).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

1 participant