Per-Printer Queues¶
Queue and schedule prints with independent per-printer queues, drag-and-drop ordering, batch quantity, and smart automation.
Keep the queue on a second screen
Select Open monitor for the status monitor. Its Queue view shows the current print, queue pause or waiting reason, next job and queue ETA in uniform tiles. The monitor is read-only; keep this page open to manage jobs.
Overview¶
The print queue lets you:
- Queue prints from archives or the file manager
- Per-printer queues -- each printer has its own independent queue
- Batch quantity -- print multiple copies at once (every copy lives in the queue, no special "primary" copy)
- Drag-and-drop ordering
- Scheduled start times
- Timeline view -- production schedule with estimated completion times
- Card size -- the same S / M / L / XL switch as the printers page, shown in the cards view; it sets how many queue cards share a row and is remembered per browser
- Sort by ETA -- the two orders the printers page has, under the same names: ETA (job) and ETA (queue), the second from the server's forecast of every queue (see Sort by ETA)
- Sort by Tag -- the queue cards grouped under each printer's tags, a printer with several tags under each of them, No tag last, the tag's colour on the section dot
- Model-based assignment -- queue to "any printer of matching model" and let the auto-queue pick the machine
- Smart plug automation -- auto power-on/off
Slice-and-queue in one click, and warm the bed first
Two companion features sit next to the queue: Slice settings save a slice setup so you can load all four preset picks back into the Slice dialog at once, while Preheat & heat-soak holds the bed (and, where supported, the chamber) at temperature before an engineering-filament job starts.
Archived printers drop out of the queue view
Archiving a printer hides its queue card here and cancels its pending items — an archived printer is never a dispatch target.
The printer needs somewhere to hold the job
A Bambu printer prints from its own storage, so the file has to land there first. On most models that means an SD card is mandatory — without one every dispatch fails at the upload step. A1-mini owners often run without one; that printer can't drive the queue.
X2D, P2S and the H2 family also have built-in storage, and BamDude sends there when no card is in — those machines drive a queue with an empty card slot.
After an unconfirmed shutdown¶
New automatic starts wait for an explicit farm-wide confirmation. Your individual queue pauses and plate checks remain in place; prints restored by firmware are observed rather than sent again. See Farm restart recovery.
Queue states¶
Two different things carry a status here, and they are easy to confuse. The queue belongs to the printer — every printer has exactly one, and the queue's id is the printer's id. The items are the jobs sitting in it. They have separate state sets that do not overlap.
The queue¶
| State | Meaning |
|---|---|
idle |
Nothing is dispatched here; the scheduler may pick this queue's next item. |
printing |
A print is running or imminent on this printer. This is the authoritative busy marker — the scheduler builds its "busy" set straight from these rows, which is what keeps the queue claimed across the whole post-print swap macro no matter what the live MQTT says. |
paused |
Set automatically when a print or a start ended without a failure but in a way somebody should look at: a print that ended cancelled (stopped by a person — card, queue, Telegram, webhook — or aborted by the printer itself), a cancel during dispatch, a Stop on a queue job that was still being sent or heated, and, on a swap-mode printer, a plate swap that failed or could not run after the print. Some recoveries after a restart or reconnect leave it too (see Repairing an old stuck queue row below), and it can be set through the API. The rest of the queue waits instead of racing on. |
error |
Set automatically after a failed dispatch or a failed print. When another print has already taken that printer by then (started from its screen or the slicer), the queue is paused (is_paused) instead, so the running print keeps its claim; that print's end does not lift the pause on its own. |
is_paused is a separate column, orthogonal to status — the operator's own pause toggle (Pause queue). BamDude sets it too where a print may still be running and nothing may start behind it: a Stop that could not be sent to an unreachable printer, the job that would print next when it wants a timelapse and the printer has no room for one, a print whose ownership cannot be proven (an external print that does not match the queue's current job, several jobs claiming one print, closing duplicate claims), and the actions under Information → Print state diagnostics. A queue can be printing and is_paused at the same time (a pause taken mid-print): the running job finishes normally, the next item simply doesn't dispatch until you resume. The scheduler skips a queue when either signal is set, which is why one Resume control clears both at once.
A paused queue still accepts work
Neither is_paused nor a paused / error status stops you adding to the queue, from any dialog. Only the scheduler and the Auto-Queue router read them — a job put on a parked printer just waits there, visibly, and the Auto-Queue hands such a printer no new work until it is resumed.
One active start per printer¶
Pending jobs are a backlog, so you can continue filling and ordering a queue. A Print now or Reprint request, however, is refused while that printer already has a running or preparing print, or while its queue is paused or in error; resume and inspect the queue first. A printer that only waits for its plate to be cleared is a different case: the request is taken, nothing is uploaded yet, and the job goes to the first place of that printer's queue marked Plate not cleared — it starts as soon as you answer Clear plate, ahead of everything that was already waiting. Auto-Queue treats both a pending backlog and an active claim as unavailable capacity, then tries another eligible printer in the same pass.
If BamDude observes a new external print whose archive does not identify the current claim, it keeps both records visible and pauses further automatic starts. It never guesses ownership from the newest row or a filename.
A print whose filename matches a built-in firmware job, such as auto_cali_for_user, gets a distinct filename on the printer. Its name in the library and archives stays the same. The printer’s file manager and cover fallback use the recorded upload name to look up its archive. The recorded name takes precedence over archive matches based on a similar name or suffix.
The items¶
Every queue item carries one of exactly six statuses (visible on the queue card chip):
| State | Meaning |
|---|---|
pending |
In line. Starts when the printer is free, the scheduled time has passed and nothing else is holding it. |
printing |
Dispatched. Set the moment the queue row is claimed, before the FTP upload begins. |
completed |
The print finished. The row normally goes immediately — its history lives on in the archive — but where the plate-clear gate will arm, it stays until you answer: Clear Plate drops it, Repeat print re-arms the same row for another copy. |
failed |
Dispatch or print failed; verbose error_message on hover. |
skipped |
Skipped by hand, or refused by the Only run if the previous print succeeded gate (require_previous_success): when the row was next to start, the newest finished print on that printer had failed and the failure had not been released. error_message reads "Previous print failed". Unskip puts the row back and releases that failure, so the rows behind it are not held by it either. See Only after a successful previous print. |
cancelled |
Queue row cancelled — by you, or automatically when the source disappears: trashing an archive cancels its still-pending items with the reason "Source archive deleted", and trashing a library file does the same with "Source file deleted". The row stays visible with its reason rather than vanishing, because a job that disappeared silently is indistinguishable from one that was never queued. |
There is no paused item status. A print paused on the printer — operator pause, filament runout, an AMS issue — is a printer state, read live off the machine; the queue item stays printing throughout.
Waiting is not a state of its own either. An item the scheduler looked at and decided not to start yet stays pending and carries a separate waiting_reason text, shown on the row — "Printer offline", "Printer powering on", "Drying in progress", "Plate not cleared", a staggered-start line naming what it is waiting behind, or "Swap macro failed: …". The reason is checked on every pass, updated when the decision changes, and cleared when the printer is ready, so it always reflects the most recent tick rather than a status the row is stuck in.
The queue card header shows counters in two flavours. Pending and Skipped are cached on the queue row and recounted whenever it changes; Total / Completed / Failed / Cancelled are computed from print_archives through archive.queue_id at read time, so they stay right even after the live rows auto-clean.
A previous print context is blocking a start
The job stays pending before another upload or preheat begins. A direct send is refused before its source is copied. Use Check print states to open the Information page for that printer; the link only reads diagnostics. If a safe release is offered, review and confirm it, inspect the printer, then resume its queue separately. A brief finishing race can also cause this refusal: retrying after the context ends is allowed.
A missing archive or unfinished work can make a safe release unavailable. Save a support bundle for the responsible operator. This warning does not automatically clear a print context or authorize deleting and re-adding the printer.
Adding to Queue¶
Queueing a library file asks which order it is for
The dialog carries an Order field listing the open orders that still need this plate, how many prints each of them is short, and the product each is for — with the first one that needs it already chosen and Without an order always on the list. What you pick is counted by that order's plan straight away. See Filing a print under its order.
From Archive¶
- Go to Archives page
- Click the Schedule button on the archive card
- Choose target printer(s)
- Optionally configure filament mapping
- Print is added to queue
The dialog opens on the plate that was printed. Queueing an archive — to a printer's queue or to the Auto-Queue — is a reprint of it: beside queue:create it needs archives:reprint_own for your own prints or archives:reprint_all for any. See Archive Cards & Actions.
From File Manager¶
- Select sliced files in File Manager
- Click Add to Queue in toolbar
- Choose target printer
Run next on a selected printer¶
When an urgent job arrives, choose its printer in the Schedule Print dialog, leave ASAP selected, then tick Run next. The new job goes before the other pending jobs on that printer. It does not interrupt a print that has already started or been claimed for dispatch.
For a multi-plate file, every selected plate and its requested copies are inserted together in the order shown in the dialog. If you selected several printers, each queue is handled independently: one unavailable printer does not undo work accepted by another. Several files scheduled with Run next in one run keep the order they were chosen in: each file's jobs go behind the ones the run already placed with Run next on that printer.
Run next is intentionally unavailable for Queue Only, scheduled work, and the Auto-Queue. Those modes have their own dispatch semantics; the option does not reserve a printer or choose the first printer that will become free.
Drag-and-drop on a Queue Card¶
On the Queue page each printer's queue card is a drop target, and so is each card on the Printers page. Drop as many files as you like: each is uploaded into the library root, and then the files that would be answered the same way are grouped — one dialog per group, with a group 1 of 3 · 12 items badge beside the title telling you how many plates that one answer covers. The modal is locked to that printer — no specific/auto toggle, and the printer shown ticked and not untickable, because the drop target is the choice. The card's printer status (idle / printing / paused / error) is not checked: queueing is always allowed regardless of what the printer is currently doing.
Each file gets a fresh modal. Plate selection, filament mapping and per-printer options belong to one file; carrying them to the next would be wrong rather than convenient, since plate 3 of one file need not exist in the next.
Every file you dropped is answered for, by name:
| refused | why |
|---|---|
not a .3mf at all |
nothing else can be sent to a Bambu printer over the network |
a raw .gcode |
Bambu firmware in LAN mode reads only the .gcode.3mf container; a raw .gcode fails at the printer half a minute after you press Print |
a .3mf with no sliced G-code inside |
decided by looking inside the file, not by its name — a .3mf may hold a finished print or a bare model. The same rule guards every print door, the dispatcher included: a file known to hold no sliced G-code is not sent to a printer whatever it is called — a project saved as Part.gcode.3mf is refused with "slice it first" |
| no recorded printer model | nothing about it can be verified: not the auto-queue target, not the match against this printer |
| sliced for another model | the plate would not fit or the G-code would not run |
Dropping a file the library already has says so and uses the copy you already have — see deduplication.
A sliced_for_model mismatch with the card's printer model aborts the upload before the modal opens — the transient library row is rolled back and a toast surfaces the conflict so you can re-slice for the right printer.
Permission-gated on queue:create — viewers without that right see no overlay and a drop is a no-op.
One dialog per group¶
When adding several files from the library, a drop, or a queue copy, files sharing the printer model, nozzle, build plate, and set of filament types are grouped into one dialog.
| Shared answer for the group | Checked for each file and plate |
|---|---|
| Printer or Auto-Queue, target model and location | Selected plates and their actual numbers |
| Schedule, quantity, print options, and macros | Used channels and a complete source mapping |
| General feed and exact-color rules | Individual channel choices and manual physical selections |
Color alone does not split a group, but color rules are checked for each file. The grouping checkbox does not permit replacing a pinned color or transferring a channel choice between files. If you change a channel for the current file, the next file opens for review; the form explains this.
A missing material on the selected printer can bring back the dialog for that file. Auto-Queue can accept a valid file to wait, but neither grouping nor selecting multiple printers bypasses source validation and complete mapping before start. See Filament Routing.
Declining a group¶
Every group's dialog carries an Apply to the rest of this group tick, on by default. Untick it and that group alone goes back to one dialog per file — each one already filled in with the answer you just gave, so you are confirming rather than starting over.
The tick belongs to the group, not to the run: the next group opens with it back on. Answering the first group as a group, looking through the second file by file, and letting the third go as a group again is an ordinary run.
A multi-plate file contributes every plate
Each plate is a unit in its own right, so a single 3-plate file opens with all three of its plates ticked and queues three items, not one. The ticks are on screen and you can untick the plates you do not want, but the dialog does not start on the first plate alone.
AMS Filament Mapping¶
Choose a source for every used channel of the selected plate: AMS or a supported external feed. Auto-matching considers material, colour, and nozzle. Allow match by base material is on by default: a resolvable family contributes its filament_type (such as PETG) rather than the profile name or vendor; with it off, a known profile variant remains a restriction. A manual physical slot choice is saved as a restriction and checked again before start. See material matching.
The slot picker of each filament lists every slot with a swatch of its colour (a multi-colour spool is drawn with all its colours), the slot label, what is in it — the assigned spool's name, otherwise material and colour name — the grams left and the colour's hex code, so two different reds that are both named "Red" can be told apart. The slot whose material and colour are exactly what the file asks for carries a tick. The chosen slot shows its swatch and hex code on the row. The list works from the keyboard — arrows, Home / End, Enter to choose, Esc closes the list and leaves the dialog open — and on a phone held upright it takes a line of its own under the filament, with entries tall enough to tap.
On supported dual-nozzle printers, [L] / [R] badges show nozzle bindings. Support is not limited to H2D or X2D: it follows the model's capabilities and current configuration. For a multi-plate file the nozzle shown for a filament, and the trays offered for it, are those of the chosen plate; choosing another plate updates both. Mixed AMS + external feeds or two separate external feeds are allowed only with the selected plate's correct bindings.
H2C nozzle rack¶
On an H2C, every filament that prints from the rack gets a rack position picker (R1–R6, numbered as on the printer and on the printer card) beside its AMS slot; a filament on the fixed hotend shows [L]. Which of the six rack nozzles a colour uses is not stored in the 3MF — Bambu Studio sends it with the print — so the dialog asks. Every position is listed with the nozzle it holds; an empty position, or one holding the wrong diameter or flow type, is greyed out with the reason. The choice is per filament group: filaments the slicer grouped together share one hotend and move together.
Nothing has to be picked. The dialog pre-selects what the dispatcher would assign: a position already loaded with that colour first, otherwise the lowest one that fits. The nozzle currently on the carriage — which the printer leaves out of its rack report — is offered at its own position. The pick is stored with a queued job and sent with a print started straight away, a reprint and every copy of a quantity; it applies to the one printer it was made for. Moving the job to another printer's queue — by editing it, in bulk or as part of a batch — drops the pick, and the positions are assigned from the new printer's rack.
It is checked again when the print is sent, because the rack can be reloaded in the meantime. A position you chose that no longer fits stops the print with a message saying what the position holds now, and the uploaded file is removed from the printer. Positions that were assigned automatically and can no longer be placed are left to the printer to choose.
The job retains its feed and color rules through schedule edits, repeats, and cloning. A manual mapping needs a new answer for another printer or plate. Complete rules and waiting reasons.
Prefer lowest remaining filament (prefer_lowest_filament): this farm setting is on by default under Settings → Filament → Filament checks → «Drain the emptiest spool first». After compatibility and the exact-colour preference, it picks the lower remaining otherwise-equivalent source so near-empty spools are used first. Tracked AMS spools use BamDude/Spoolman grams; firmware-only sources use their reported percentage in a separate, lower-priority tier. The same switch governs the auto-queue's dispatch mapping and the virtual printer's saved mapping. See the complete ranking.
This is gated by AMS Filament Backup. With backup off, the printer won't auto-switch between same-material spools mid-print, so BamDude skips prefer-lowest and matches normally — otherwise a job could strand when the chosen near-empty spool runs out with nothing to fall back to. With backup on it behaves as described above; an unknown backup state (e.g. older A1 protocol) preserves the prefer-lowest behaviour. The gate applies to both dispatch paths — the queue scheduler and the auto-queue router.
Each plate has its own mapping
Several selected plates get separate panels and separate mappings. Channels used by one plate are not combined with another's. For multiple printers, requirements are checked against the actual destination. Remaining filament is a source-ranking input, not a reservation or a grams-sufficiency gate: a mapped source is rechecked for identity and compatibility before start, but BamDude does not promise that its reported remainder covers the slicer's estimated grams.
Nozzle information is checked before starting
The required nozzle and its known diameter requirement are checked. A match against the other hotend does not replace the required binding. If necessary printer state is not available yet, the job waits; if required information is missing from the file, fix the source. An earlier preview does not permit an incompatible mapping to start.
Plate selection (multi-plate 3MF)¶
Multi-plate sliced 3MFs ship every plate inside one file. The Add-to-Queue modal renders a plate grid:
- Click a single plate to dispatch just that plate (the queue row records it as
plate_id). - Multi-select plates → one queue row per plate, queued in order.
- The preview shows the thumbnail and filament list for each plate; the server validates the selected plate against the source before queueing.
Plate index is preserved across restart-recovery + reprint flows. See archiving for chain-of-custody on multi-plate dispatches.
Whole file is accepted only for one unambiguous printable plate. Its actual number is retained, even when it is not 1; a multi-plate file needs an explicit choice. Source validation.
Build-plate type on queue items + print dialog¶
On a farm with many plates it's easy to lose track of which physical plate a queued job actually needs. Every pending queue item carries a build-plate icon (hover for the plate name) — the same bed icon the archive card shows — so you can see the target plate at a glance before it dispatches. The print dialog also shows the selected plate's type right next to the plate picker.
Multi-plate 3MFs are resolved per plate: the value re-reads the file for the plate you actually picked rather than assuming every plate uses the first plate's bed, so a file mixing (say) Textured PEI and Engineering plates labels each one correctly.
Print options¶
When adding to queue, expand Print options:
| Option | Default | What it does |
|---|---|---|
| Bed levelling | on |
Run the auto-bed-level cycle before the print. Off speeds up restarts on a known-stable bed. Three-position (off / auto / on) on firmware that supports it — see the note below. |
| Flow calibration | on |
Run extrusion-flow cal at print start. Print-quality first vs throughput trade-off. Three-position on supported models. |
| Nozzle-offset calibration | on |
Dual-nozzle machines only (H2D / H2D Pro / H2C / X2D); the MQTT layer forces "skip" on single-nozzle printers regardless of what is stored. Three-position on supported models. |
| Mesh-mode fast check | on |
Leave it on and the plate's M970 vibration-probe G-code runs as sliced. Turn it off and the 3MF gcode patcher comments those lines out on the way to the printer. The disk file stays unpatched; only the bytes shipped to the printer are modified. |
| Layer inspection | off | Per-layer first-layer inspection AI (X1 + H2 series). |
| Timelapse | off | Record a built-in timelapse on the printer. |
| Record to | whatever the machine does | Which medium keeps the recording, the same choice Bambu Studio offers. Shown only where the printer has both built-in storage and a healthy SD card; with one medium there is nothing to choose and BamDude leaves the printer's own default alone. Re-checked at dispatch — a card removed after queueing means the recording falls back to internal storage rather than the print failing. |
| G-code injection | off | Splice operator-defined snippets into the plate G-code at dispatch — see below. |
| Preheat / heat-soak | inherit | inherit follows the farm-wide preheat toggle; on / off decide it for this job alone, with an optional explicit chamber target. |
Use AMS is not one of these toggles
Choose feeds in the mapping panel or the Auto form's Filament source field. There is no separate switch in Print options. API and bulk-edit use_ams choices are reconciled with the saved routing rules; the actual start command follows the validated source mapping. A boolean does not override a physical slot selection or supply missing AMS hardware.
Auto calibration (off / auto / on)
On models whose firmware supports it — the X2D and the H2 family (H2D, H2D Pro, H2C, H2S), plus the P2S and A2L for bed levelling + flow calibration — Bed levelling, Flow calibration and (on dual-nozzle machines) Nozzle-offset calibration are three-position: Off, Auto (the printer itself decides whether the step is needed for the job), or On (always run). Models without firmware support keep the plain Off / On toggle. The choice is remembered per printer model, and Off/On behave the same on every model — the Auto position only reaches a printer that advertises it.
Defaults are remembered per operator and per printer model: the toggles you set in the Print dialog can be saved as that pair's profile, and the dialog loads it next time you queue for that model. An admin sees every saved profile under Settings → Printing → Saved Print Profiles, can edit or delete any of them, can copy one operator's profile to another (handy when onboarding), and can set the per-model System row that applies to anyone with no profile of their own. Whatever you change in the dialog for one job trumps all of it, for that job only.
Auto-print G-code injection¶
Sometimes you need to mutate the gcode at dispatch — chamber heat-soak, custom purge, swap-mode setup — without re-slicing. Toggle G-code injection on the queue item; configure the snippets, which are kept per printer model, in Settings → Printing → G-code Injection. Snippets take {placeholder} substitutions resolved against the 3MF's own gcode header block, with Prusa→Bambu aliases so a snippet copied from a PrusaSlicer library ({max_layer_z}) still resolves.
Full reference: G-code injection. Reads + applies at dispatch time so different jobs can carry different injections.
Z-safety
Injecting absolute Z-moves before the auto-Z-home that Bambu firmware does at print start can crash the head into the print. Use the placeholders (they expand against the slicer's first-layer plan) instead of hard-coded numbers.
created_by_id audit¶
Adding to queue records who added the item. The Telegram bot, the library's Schedule dialog, the per-printer "Print" button, and File Manager prints all propagate the acting user. Visible per row on the archive that the queue item produces. The VP auto-queue and webhook trigger paths legitimately leave it NULL (no authenticated user to attribute).
Load a queue from the library¶
The printer card, the per-printer queue card and the auto-queue panel each carry a Load from library button. It opens a simplified file browser: the folder tree down the left, small cards on the right with a preview, the name, print time, filament and size.
- Ticks survive moving around. A batch assembled from three different folders is one selection, not three trips — the selection lives in the dialog, not in the folder.
- Search covers the whole library, not the folder you happen to have open. Searching inside one folder would not answer the question the search box is there for.
- Only files that can actually run are offered — sliced files with a recorded printer model, and on a printer only those sliced for that machine. A picker that offered a file the Schedule dialog would then refuse would be worse than no picker.
Pressing Add to queue hands the selection to the same grouped Schedule dialog the drops use, with the same group badge. The picker asks nothing about the print itself, and grouping does not change what belongs to a file: plates and AMS mapping are still resolved per file, while the answer you give — printer, schedule, copies, print options — covers the whole group.
Gated on queue:create. On the printer card the button is not hidden while the machine prints — loading a queue is exactly what you do then.
Copy a queue onto other printers¶
A farm runs the same job on several machines. The queue card has a Copy button, present only when there is something to copy — a running print or something waiting.
The dialog puts what on the left and where on the right:
- the queue's items, everything ticked to start with, each showing its plate, print time and filament;
- other printers that accept every selected item's file model, ticked by you, each with its state and progress.
Both sides have select-all and clear. The printer list is in the order and grouping your Queues screen is already in, so you pick from the layout you navigate by.
How compatible targets are checked
BamDude uses the target printer's directed Bambu Studio compatibility list. It does not re-slice or bypass nozzle, build-volume, or filament checks. With no matrix available, the picker offers only exact matches.
Each item keeps the plate it was queued with — it is the same captured file, and the target is checked for that plate. Copies go to the end of each target queue, so a printer mid-job finishes first.
Ready queued items copy from their saved file, not from the original. The copy reuses the verified immutable object already held in data/queue-sources/, so it still works after the archive, library record, laptop folder or SMB share has gone away. It asks for fresh target-printer, AMS-mapping, schedule and print-option choices. Legacy rows retain their original-file behavior; a missing or broken saved source stays visible but cannot be copied.
Then the ordinary Schedule dialog opens once per group of items that would be answered the same way, with every chosen printer ticked and locked. Filament is mapped per printer inside that one dialog, which is why items onto four printers is never four times the dialogs.
A copied item keeps what the queue already decided. Its plate rides with it, so a copy of one plate of a five-plate file is one item and not five, and two copies of the same plate stay two. The order it was filed under rides along as well — including the answer no order — so the Schedule dialog does not ask about it again; the copy dialog names the order next to each item's plate, where the item can still be unticked. Any items you had grouped into a block in the source queue come out as a block on the target.
A print started outside the queue counts too
A job sent from the printer's screen or straight from a slicer leaves no queue entry — the card shows it because it reads the printer directly, and the copy reads it from the same place.
A copy also retains feed and color rules. The form identifies a source with manual mapping and asks you to check it for the destination printer. Channel choices for another file require individual review even in a grouped addition.
Drag and Drop Ordering¶
- Hover over a queued print
- Grab the drag handle
- Drag to new position
- Prints execute top to bottom
Scheduling¶
Immediate¶
Default. Job starts as soon as the printer is idle and the dispatcher reaches it. The queue is processed strictly in position order — except for Shortest-Job-First mode (below).
Scheduled¶
Pick a future date + time. The job stays in pending until the scheduled clock hits, then enters dispatch. If the printer is off and one of its smart plugs has auto-on set, the scheduler switches it on at that moment and the job starts once the printer has connected (see Smart plug automation) — there is no pre-warm offset that fires ahead of the clock. When that time passes, the scheduled wait clears on the next scheduler pass, including for older jobs waiting behind another print.
scheduled_time is a gate, not a sort key
A queue is walked strictly in position order — drag-and-drop, the up / down / bump buttons and the copy/clone paths are the only things that decide who is next. A future scheduled_time makes the scheduler skip that row and move on to the one below it; it never reorders the queue around it.
Queue only (staged)¶
Sets manual_start = true on the row — the dispatcher ignores it until you click Start. Useful for staging an entire batch upfront and then releasing it in one go (or for slicer-uploads-to-VP that you want to hold until you've reviewed them).
If the printer accepts AutoQueue work, jobs from AutoQueue may print before a future or staged job. When its time arrives or you release it for manual start, the job keeps its position among jobs that can start. It waits for any print already claimed by the printer to finish. Pause the queue when you want to keep the printer from taking new AutoQueue work.
Shortest job first — an auto-queue setting¶
Settings → Printing → Auto-Queue Routing → Shortest job first (off by default) changes the order the auto-queue distributor works through its unassigned jobs. It does not touch a per-printer queue, which is always walked by position.
With it on, pending auto-queue items are read grouped by target model, then shortest predicted print time first, then position — and the starvation guard is a sticky flag, not a clock: after a job is assigned, every longer (or unknown-length) peer ahead of it in the same model group is marked as having been jumped, and a jumped item then sorts ahead of everything on the next pass. There is no ageing score and no "promote after N hours"; a job needs only to be skipped once to stop being skippable.
Full priority chain: Auto-Queue Routing.
Managing Queue¶
Clear Plate Confirmation¶
After a print finishes, the next print does not start automatically. The printer card offers two answers: Clear Plate & Start Next drops the finished row and lets the queue move on, Repeat print re-arms that same row for another copy (the same row, so every print option rides along).
This is a per-printer setting, not a farm-wide one — Require plate-clear confirmation sits on each printer's edit form, so an automated cell can run without it while the bench next to it still asks. Swap-mode printers force it off: the swapper is the plate-clear.
Defects with the answer. When a finished print waits for Clear plate, its parts appear beside the two buttons with a counter each; fill in what came out bad and press either answer — the count is written to that print, under the same permission. Untouched counters send nothing.
Only after a successful previous print¶
Only run if the previous print succeeded (require_previous_success) holds a job back while the newest finished print on its printer is a failure that has not been released.
- Only the job that is next is judged. The gate is asked when a job is the one its printer would start now. A job further down the queue is not judged while the job ahead of it still waits — for filament, an order restriction or anything else.
- What counts as a failure. A print that failed, and a start the printer received but did not run. A start that never reached the printer — an upload the printer refused, a printer that went offline before the start — does not count. A cancelled print is neutral: cancelling is a decision, not a failure.
- What releases it. A later successful print on that printer releases every older failure there, for good. Unskip on a job the gate skipped releases the failure for the jobs behind it as well. Acknowledge failure on the printer card releases it without putting anything back.
- The printer card says so. While the newest finished print on a printer is an unreleased failure, its card shows The last print on this printer failed. Jobs set to run only if the previous print succeeded are held until the failure is acknowledged. With
queue:update_allthe note carries Acknowledge failure, which also releases Auto-Queue jobs waiting for that printer. Each press releases the failure the gate is reading; when an earlier unreleased failure is then the newest, the note stays. If nothing was holding jobs, the answer is No failure was holding jobs on this printer.
A job in a printer's own queue that the gate refuses becomes skipped, with the Job Skipped notification. An Auto-Queue job is not skipped: the router passes over that printer, and the job waits with The previous print failed. only while no other printer can take it; see Auto-Queue Routing.
Bulk Editing¶
Select multiple queue items via the toolbar checkboxes to apply a bulk edit. Only pending rows are touched — anything already printing or finished is counted as skipped and reported back, and without queue:update_all so is anything you didn't queue yourself.
Every field is optional: leave one out and each row keeps what it had.
| Field | Notes |
|---|---|
| Target queue | Moves the rows to another printer's queue. The queue must exist; there is no filament re-check at this point — the scheduler maps each row against whatever printer it ends up on. Hand-picked H2C rack positions are dropped with the move. |
| Scheduled time | Pins one fixed clock across the selection. There is no "shift everything forward by N hours" form. |
| Manual start · Auto power-off · Require previous success | The three scheduling flags. |
| Use AMS · Bed levelling · Flow · Nozzle offset · Layer inspect · Timelapse · Record to · Mesh-mode fast check · G-code injection · Preheat | Every print option, plus swap-macro and selected-macro choices. |
Cancelling in bulk is a separate action, not a field on this edit — and batch-level cancel / skip / reorder have endpoints of their own that act on a batch's jobs in one printer queue at once (see Group, collapse, and reorder batches).
Group, collapse, and reorder batches¶
Tame a long queue by grouping related pending jobs on a printer's queue card:
- Group as batch — select 2 or more pending items on the same card, then Group as batch. They share a
batch_idand render as one block. Ungroup disbands it (completed / cancelled history keeps its grouping). Grouping needsqueue:update_all. - Collapse — fold a batch down to a single summary row; the collapsed / expanded state is remembered per batch in the browser's local storage.
- Drag to reorder — grab a row's grip handle and drag to reposition. This is available only when the card is fully expanded and has no collapsed batch on it, so a drag can never move a hidden row or split a batch; the up / down / bump buttons stay as the always-available fallback.
Selection is scoped to a single card, so a selection can't span printers. A batch can: when the Auto-Queue deals a batch's copies out to several printers, every copy keeps the batch, and each of those printers' cards shows its own share. A batch action on a card — cancel, skip, reorder, bump, edit, clone, ungroup, the manual-start toggle — acts only on the copies in that printer's queue, on the queue card and on the timeline alike; the other printers' copies stay as they are. Moving a batch to another printer is checked like moving one job — the file's model and the target's swap rule — and the batch moves whole or not at all. Archives keep the shared batch, so history still groups every copy.
Multi-printer queue + staggered start¶
When you submit one job to N printers at once (multi-select in Add-to-Queue), each gets its own queue row. By default they all dispatch immediately — N concurrent FTP uploads, N near-simultaneous start commands.
Spreading those starts out is a farm setting, not a per-batch option — there is nothing to tick in the Print or Add-to-Queue dialog. Turn it on once under Settings → Printing → Staggered Start, and from then on every print start — queued, Print Now, or begun on the printer's own screen — takes one of a limited number of slots, so only so many beds are heating at a time. The cap can be farm-wide, or split per electrical phase (printer tags) and per room (locations), with its own number for each group.
Cross-link: full deep-dive in Staggered start.
Per-printer AMS mappings are configured per row — the multi-printer modal lets you reuse the same mapping, or pick a different slot per printer when AMS contents differ across the fleet.
Model-based queue assignment ("Any X1C")¶
Instead of pinning a job to a specific printer, queue it under Any [model]. That job does not land in a per-printer queue: a per-printer item is always bound to one machine and has no notion of a target model. It goes to the second tier — the auto-queue, a holding area of work that has not been given a printer yet:
- Filament-aware: the router needs a complete assignment for every used channel, using AMS or external feeds under the selected material, profile, colour and nozzle rules; see filament routing.
- Location-aware: optional location filter ("any printer in Workshop A") — a link to the locations directory, not a free-text string
- Channel overrides change the requested material or colour; they do not bypass routing or dispatch checks. Saving unmatched work to wait requires the dialog's explicit confirmation.
While nothing matches, the item stays pending in the auto-queue and carries its own waiting_reason naming what it is short of — there is no waiting_for_filament status. It leaves that state when an eligible printer appears (the router then creates a real item in that printer's queue), or when you assign it to a specific printer yourself. Routing asks only routing questions: whether the machine can start right now — plate gate, drying, stagger — is asked again at dispatch, so an item routed to a busy printer just waits in that printer's queue where you can see it.
Full priority chain: Auto-Queue Routing.
Timeline view¶
Click List / Timeline at the top of the queue page to flip into a Gantt-style production schedule:
- One row per printer, time on X-axis
- Each block is a queue item sized by predicted print time + ETA chaining (block N starts when block N-1 ends)
- Day navigation buttons (prev / today / next), filters mirror the list view
- Hover a block for full job details
ETA chaining is a planning tool — it doesn't account for clear-plate confirmation gaps, manual pauses, or filament loads, so real wall-clock will drift longer. Useful for "which printer is the bottleneck this week" answers.
Smart plug automation¶
When a printer has an associated smart plug, the queue can drive power state:
- Auto power-on (
auto_on, on by default) — when the scheduler reaches an item on a printer that is offline, it switches the printer's power plug on then (which plug) and goes on with the other printers; it does not wait for this one. The item shows "Printer powering on", and a later pass starts it once the printer has connected; the printer's other enabled auto-on plugs are switched on at that point. A printer that has not connected within three minutes is left alone for ten minutes before it is switched on again, and so is one whose plug could not be reached or would not switch. There is no offset that fires ahead of a scheduled clock; if you want the machine up earlier, the plug's own schedule (a plain on/off time of day) is the tool for that. - Auto power-off (
auto_off, on by default) — fires after the print finishes or fails, then waits out a delay. Two delay modes: time (default 5 minutes) or temperature — hold until the printer cools below a threshold (default 70 °C). A separate toggle does the same after an AMS drying cycle, with its own longer delay (default 10 minutes), because the chamber is hot afterwards. - Per-job — the Add-to-Queue dialog's
auto_off_afterasks for a power-off after this job specifically. - Auto-queue — a job aimed at a printer model, with every matching printer off, switches one on per pass — all of its enabled auto-on plugs at once: the first that can run it. What a switched-off printer holds is read from the spools assigned to its slots (BamDude or Spoolman) and, for an unassigned slot, from what the printer last reported; a printer whose every slot is known and which lacks a channel's material or forced colour is passed over, and the job's waiting reason names what it lacks. A printer BamDude has not heard from since it started is still switched on.
Full setup + per-printer linking → Smart plugs.
Queue history¶
Once a job finishes, its queue row is dropped — its history lives on in the archive. To find old queue items:
- Archives page filtered by printer — every archive carries
queue_id+ optionalbatch_id - Failed dispatches surface their verbose
error_messageon hover - Bulk-print plans launched from a project also stay attributable via
queue_idlinkage
API access¶
Programmatic queue control via REST:
| Endpoint | Purpose |
|---|---|
GET /api/v1/queue/ |
List queue items (filterable by printer, status — several statuses separated by commas, e.g. ?status=pending,printing) |
GET /api/v1/queue/{id}/copy-source |
Read the saved source profile used by Copy Queue |
POST /api/v1/queue/ |
Add a new queue item from an archive, library file, or saved queue-job source |
PATCH /api/v1/queue/{id} |
Edit position, schedule, AMS, options |
DELETE /api/v1/queue/{id} |
Remove the row outright |
POST /api/v1/queue/{id}/cancel · /stop |
Cancel a pending item · stop a running one |
POST /api/v1/queue/{id}/start |
Release a staged (manual_start) item — ownership-scoped |
POST /api/v1/queue/{id}/retry |
Put a failed or cancelled item back to pending, appended to the end |
POST /api/v1/queue/{id}/skip · /unskip |
Skip a row, or clear the previous-failure gate on one |
PATCH /api/v1/queue/{id}/manual-start |
Toggle "queue only" on a row |
POST /api/v1/queue/{id}/clone |
One more copy of an existing row |
PATCH /api/v1/queue/bulk |
Bulk edit — pending rows only |
POST /api/v1/queue/reorder · /{id}/reorder · /{id}/bump · /{id}/bump-bottom |
Ordering, whole-queue or one row at a time |
POST /api/v1/queue/batch · /batch/{batch_id}/… |
Group rows into a batch, then ungroup / cancel / skip / reorder / bump / clone / edit it as one — in one printer queue, named by ?queue_id= |
GET /api/v1/queue/stagger-state |
What the staggered-start gate is currently holding |
A batch route acts on one printer queue. Every /batch/{batch_id}/… route takes ?queue_id= and touches only the batch's jobs in that queue. Without it, the batch's only queue is used; a batch with waiting or printing jobs in several queues is refused with 409 and error batch_spans_queues. On PATCH /batch/{batch_id}, ?queue_id= names whose copies change and a queue_id in the body moves them. An API key limited to some printers can act on its own printers' copies of a batch.
Skip and Retry refuse a job that changed meanwhile. /skip and /retry answer 409 with error recovery_changed when the job is no longer in the state they were asked about — for a skip, usually because the scheduler has just started it. Nothing is changed; refresh the queue.
An edit refuses a job that changed meanwhile. An edit of a waiting job — a single or bulk PATCH, a move to another printer, the manual-start toggle, grouping into a batch — is checked first and applied only while the job is still waiting and unchanged. A job the scheduler started in between, or that somebody else changed, answers 409 with error queue_item_changed ("This job changed or started while it was being edited. Nothing was saved"); the print dialog then reads the queue again. The same answer comes when the printer a job is being moved to was deleted while the move was checked, or replaced by a new printer under its number — the job stays where it was — and when a job's batch was grouped or ungrouped while its manual-start toggle was being saved; a bulk edit skips such a job and saves the rest.
If the printer is deleted during validation of an edit in its own queue, a single or batch edit returns 409 with queue_item_changed. A bulk edit counts those jobs as skipped. Both outcomes also apply when the request explicitly names the current queue for all selected jobs. Without a destination, a bulk edit can still update eligible jobs in other queues. A move to a different queue that is already missing when checked returns 400.
Stopping a printing item is finished by the printer, not by the button. /stop sends the stop to the printer, and the printer's own report then closes the item and its archive as cancelled and pauses the queue. When the printer cannot be reached, the stop is not sent and BamDude says so (503, error stop_not_sent): the item stays printing, that printer's queue is paused so nothing is dispatched behind it, and the job is closed by the printer's own report once it is back — as completed, with its filament recorded, if the print really finished. A job that was still being sent or heated has nothing on the printer to report it, so it is cancelled right away — but only that attempt: when the job was sent again in between, put back in the queue, or deleted and replaced by another job that took its number, /stop answers 409 with error stop_target_changed ("This job is no longer the one that was being sent") and changes nothing.
Queue state lives on its own router: GET / PATCH /api/v1/queues/{id} reads a queue and sets it. status accepts only idle or paused — printing and error are set by the system, never by a client — and a queue cannot be moved to paused while it is printing (stop the print first). is_paused, being orthogonal, is allowed in any state including mid-print. A queue also carries previous_print_failed — the newest finished print on that printer is a failure nobody has released, so jobs set to run only after a successful previous print wait — and POST /api/v1/queues/{id}/acknowledge-failure (queue:update_all) releases it, answering {"acknowledged": true} or false when no failure was holding jobs. See Only after a successful previous print.
Full schema + auth details: API reference.
Multi-Printer Selection¶
Send the same print to multiple printers at once:
- Open Add to Queue modal
- Select multiple printers using checkboxes
- Configure per-printer AMS mapping if needed
- Submit to all
Batch quantity > 1 — single source of truth¶
When you set quantity to N, all N copies are added to the queue at once. They share a batch_id (a UUID stamped on every copy) so you can still answer "how many of this batch finished?" after the live queue rows clean up.
With several printers picked, N is per printer by default. Three printers at 4 make twelve prints — the dialog says so in a line under the field («4 × 3 printers = 12 in total»). Switch the toggle beside the field to Total and the number is dealt across the picked printers one copy at a time, in the order the picker lists them, so 13 on three printers becomes 5 / 4 / 4 and the line names who gets what; a printer dealt nothing is simply not asked. The choice is remembered in your browser. The auto-queue's quantity was always a total and has no toggle.
- You can reorder, edit AMS, or cancel each copy individually before it starts.
- The very first copy is not "direct dispatched" — every copy goes through the same queue path, so the first archive never lands ahead of N-1 copies still in queue.
- The endpoint response status is
"queued"for the whole N-copy submission;dispatch_job_idanddispatch_positionare nullable in this path.
quantity == 1 from a single archive is a direct dispatch — it goes straight out rather than waiting its turn. It still takes a queue row: every print holds one while it runs, a direct print claiming it at dispatch and a print started on the printer's own screen getting one made at print start. Without that claim the queue would see an idle printer for the whole upload and could dispatch straight over the job. The row records where it came from (origin), which is how queue-completed notifications avoid firing for prints nobody scheduled.
Dispatch behaviour¶
Background dispatch runs in parallel across printers — three idle printers with three queued items get all three started effectively at the same time.
What's serialised, what's parallel
The brief DB-write phase (INSERT INTO print_archives) sits behind a startup-lock so SQLite doesn't trip on database is locked from concurrent inserts. The lock is held only for the few milliseconds the row needs to commit; FTP upload, the start_print MQTT command, and any swap-mode macros run in parallel with whatever the next dispatcher does. PostgreSQL inherits the same lock for symmetry, even though it doesn't strictly need it.
The active-job toast in the bottom-right tracks each dispatch independently — multiple FTP-upload progress bars can be on screen at once. Once a print is running on a printer, that dispatcher releases its slot; the dispatch tracker doesn't wait for the print to finish, only for the upload + start command to land. A job starts as the scheduler checked it. The scheduler judges a printer's next job and then claims it. When the job was edited, reordered, skipped or started in between, the claim is refused and the job is judged again on the next pass, with its new settings. What the scheduler decides about the next job without starting it is held to the same rule: a skip for Only after a successful previous print, a failure because the job's file cannot be read, a pause because the printer's timelapse storage is full — each is written only while that job is still the one that would print next and unchanged since it was checked.
On A1 and A1 Mini, a lost FTP completion reply triggers a size check on a fresh connection. BamDude gives a short copy up to two minutes to finish writing. The upload can proceed to print preparation once the size matches. An unreadable or incomplete copy enters the normal upload failure and retry path.
FTP 421 in a queue upload issue means the printer reported that it has run out of file-transfer sessions. For recovery steps, see Troubleshooting.
When a dispatch fails¶
Once the start command has gone out, only the printer's own answer decides the attempt. A problem afterwards — saving the dispatched filament mapping, registering macros, cleaning up a temporary file — is logged, and the print keeps printing; it is never put back in the queue and printed a second time. If BamDude itself cannot read the printer's answer, it keeps looking for as long as a printer normally takes to answer, the job still holding the printer. When it still cannot tell, the job keeps the printer, the start is never sent again, and Information → Print state diagnostics offers to close the attempt once you have checked the printer — no restart needed.
A dispatch that ends without a print marks the job failed with a reason class shown before the detail: the source was unavailable, the upload or the start was refused, the printer did not acknowledge the start, or it took the file but never started. That printer's queue then stops with an error and waits for Resume — it does not try again by itself, because a start that may have reached the printer can only be checked at the printer. Until then the Auto-Queue gives that printer no new work. For Only run if the previous print succeeded, only a start the printer received counts as a failed print; a job that failed before its start went out — the upload refused, the printer gone offline — does not hold the next one back. You are told once, through the usual queue job failed notification — also when the job's dispatch attempts are used up. Retry gives the job a fresh set of dispatch attempts and keeps the record that it was started before; the halted queue still needs Resume.
A refusal before anything was sent — the printer busy or disconnected at the last moment, a filament slot not ready — is not a failure: the job waits in the queue and the attempt it used is given back. The exception is our swap-start macro: if it already ran (or may have), the job fails instead of waiting, so the table is never moved twice. A refusal that ends the job (a Print now job, an unavailable source) marks it failed, and its attempt is counted under Dispatch errors in Statistics, never as a print.
If BamDude stopped while it was starting a job, a job whose start command was provably never sent returns to the queue on its own once its printer reports idle and new work is allowed — also when the printer becomes idle only later, on the same connection — keeping its file, plate, filament mapping and the attempt it used. A Print now job is the exception: it is marked failed instead and never starts later by itself; use Retry when you want it. A start that may already have reached the printer is never repeated automatically; Information → Print state diagnostics shows it and closes it after you check the printer (System Info).
A print that ends while it is still being prepared — it paused before printing its first layer (an AMS or filament problem, a calibration fault) and was then cancelled, or the printer failed it during preparation — closes its queue row and archive like any other end: failed when the printer reports it failed, cancelled when it was cancelled after that pause, completed when the printer reports it finished. A failed or cancelled one charges no filament, and the queue then stops or pauses as for any failed or cancelled print. A print that goes from preparation straight back to idle with no error closes nothing on its own.
Cancel during dispatch — what happens to the queue¶
Cancelling a print while the dispatcher is still uploading the 3MF or preparing the start (the window between you clicking Print Now / queue dispatch firing and the start command going out to the printer) is treated as an explicit operator action — not a dispatch failure.
The Cancel button of the dispatch window belongs to that window only. During the upload it stops the transfer and removes the partial file from the printer. Once the start command has been sent, the button is gone and the window says so: from then on it is a print, and a print is stopped from the printer card.
A cancel here is one of the cases in which a queue goes to paused by itself (the full list is under Queue states) — the two columns below are the two state sets from that section, not one status seen twice.
| Slice | Item status | Queue status | Archive status |
|---|---|---|---|
| Cancel arrives during the upload or before the start command is sent | cancelled |
paused |
cancelled |
| Dispatcher hits an actual error (FTP timeout, start-print refused) | failed |
error |
failed |
| The start command has been sent | n/a — no Cancel; Stop on the printer card | printing |
per stop-print outcome |
The semantic distinction matters: the queue moving to paused (not error) tells the operator that nothing failed — the rest of the queue is fine, they decided to abort one item. They can inspect the remaining items and resume the queue when ready. Before this distinction was wired in, a cancel during the dispatch window left the queue in error with the just-cancelled row marked failed, which was misleading.
Cancelled queue rows live alongside failed and skipped rows in the queue card's Issues section so they don't clutter the live pending list but stay visible for retry. An open Issues list takes in a job as soon as it fails, is cancelled or is skipped.
Restart a cancelled item¶
Every cancelled item in the Issues section gets a Restart button (RotateCcw icon) that:
- Resets the item's
statusback topending. - Re-appends it to the end of the queue (so it doesn't jump ahead of anything you queued in the meantime).
- Leaves the archive trail intact — the old cancelled archive stays for forensics; a fresh
printingarchive is created when the item actually dispatches.
The same POST /api/v1/queue/{id}/retry endpoint that powers the failed-item Retry button also handles cancelled items. Cancelled jobs can be restarted individually or together with failed jobs using Retry all….
Retry all failed and cancelled jobs¶
In a printer's Issues section, Retry all… loads all issue pages and asks you to confirm the printer, failed-job count and cancelled-job count separately. It returns those jobs to the end of that printer's queue, using the same source checks as individual Retry. Jobs whose state changed since the review and skipped jobs stay unchanged; queue pauses and print checks still apply. The action requires permission to update all queue jobs.
The confirmed list is one server transaction: the scheduler sees the whole block together, even for jobs that require a successful predecessor. Jobs that became cancelled or active meanwhile stay unchanged; later failures are not added. The operation continues if its card unmounts. The summary counts every refusal category; a lost response asks you to refresh before retrying.
Queue history & archives¶
The live queue and the durable history are kept apart.
- The live queue only shows unfinished items:
pendingandprinting, plus failed / cancelled / skipped rows kept around so the "Issues" section retry / unskip / remove UI keeps working. - Completed queue items auto-delete the moment the print ends — unless that printer's plate-clear gate arms, in which case the row waits for your Clear Plate or Repeat print answer and goes then. Two code paths can close a print (the live completion handler and the reconciliation sweep), and the clean-up sits where both of them reach it.
- Past queue items live on as archives — every archive row carries
queue_id(which queue dispatched it) and optionalbatch_id(which N-of-M batch it belongs to). External / direct-dispatch / Print-Now archives fall back to the printer's default queue id so they're attributable too.
The terminal counters in the printer queue header (Total / Completed / Failed / Cancelled) are computed from print_archives on every read, not stored on the queue, so they don't drift when the queue auto-cleans; only Pending and Skipped — which describe live rows nothing cleans up — stay cached on the queue itself.
To see archived queue items, open the Archives page and filter by printer. Failed dispatches show the verbose error_message on hover (short cause codes continue to live in the existing failure_reason field).
Repairing an old stuck queue row
After a restart or reconnect, the first fresh, inactive printer status can repair a queue row still marked printing when its own archive already records completion, failure or cancellation. This is separate from normal print completion: it does not reprint the job, replay accounting, run macros or send completion notifications. The repaired row is retained and the queue is paused for an operator to inspect the printer and plate before resuming; existing plate-clear requests are preserved. Active/offline printers, a dispatch or completion still in progress, and ambiguous archive links are left alone with a diagnostic in the server log. Deferred repairs are checked again at the next reconnect or restart, not on a polling timer.
Dispatch-time archive starts as printing
Library-file dispatches create the archive row directly in status='printing' — no transient "Archived" badge flash during the FTP+MQTT window. If dispatch fails after the row commits (FTP error, start-print error), a fresh-session helper flips the archive to failed / cancelled with the verbose error_message set, so a zombie 'printing' row never sits stuck in the UI.
Library file deletion — what happens to queue items¶
The print_queue.library_file_id foreign key is ON DELETE SET NULL (migration m018). On top of that, deleting a library file applies extra in-app logic so SQLite installs (where PRAGMA foreign_keys is off by default) behave the same as PostgreSQL:
| Queue item references the file | Result |
|---|---|
Currently status='printing' |
The API returns 409 file_in_use naming the offending queue_item_ids. Cancel or finish those prints first, then retry the delete. |
pending |
The item is cancelled, with waiting_reason set to "Source file deleted". |
| Anything terminal | Untouched — it is history. |
The row is cancelled, not deleted. A pending job that disappeared silently is indistinguishable from one that was never queued, so it stays in the Issues section saying what happened to it. (Trashing an archive does the same thing, with the reason "Source archive deleted".)
Deleting a library file is itself a soft delete — the file goes to the trash and can be restored, but the queue items it backed are already cancelled by then.
An archive deletion while its jobs change elsewhere is refused. Trashing an archive, or deleting it for good, while one of its jobs is being added to another printer, started or changed answers 409 with error queue_selection_changed (The selected jobs changed. Refresh the queue and try again.) and changes nothing — no job is cancelled, the archive stays. Try again once the queue has settled.
A copy prints its own bytes. A job keeps the file it was queued with. A job retried, repeated or cloned after its original archive or library file was deleted keeps printing from that copy; its link to the original is dropped instead of pointing at whatever later took the original's number. A clone of a job whose original is still there keeps its link to it.
Archives keep their separate 3MF copy (the dispatch flow copies the bytes into the archive directory at print start) and survive — print_archives.library_file_id is set to NULL on delete instead of cascading.
POST /library/bulk-delete applies the same logic per file: blocked-by-printing files are reported under skipped_files instead of failing the whole batch.¶
Queue Notifications¶
| Event | Fires when |
|---|---|
| Queue Job Added | Something was put in a queue. |
| Queue Job Started | A queued job started printing; carries the estimate. |
| Queue Job Waiting | The auto-queue could not place a job — once per distinct reason, so a stuck farm says so instead of going quiet. Carries the waiting_reason. |
| Job Skipped | The require_previous_success gate refused a job after a failure on that printer. |
| Job Failed to Start | Dispatch failed. |
| Queue Complete | Every queued job across the farm has finished. |
| Printer Queue Complete | One printer's queue ran dry. |
Every template is editable in both locales. Configure in Settings → Notifications.
H2D false-reprint guard¶
H2D Pro firmware (01.01.00.00 series) keeps gcode_state=FINISH for 48–55 seconds after accepting a new file before transitioning to PREPARE. A scheduler watchdog that gave up before that would revert the queue item to pending — and the next scheduler tick would re-dispatch the job as a "reprint" the printer is already physically running.
The watchdog therefore waits up to 90 s and exits early on either signal: gcode_state moving past its pre-dispatch value, or subtask_id advancing past it (the printer echoes the submission_id BamDude minted in its next push_status, and on slow firmware that lands long before gcode_state does).
If the window really does pass with neither signal, the item goes back to pending for another attempt rather than failing outright — and only after three such attempts is it failed, with a message naming what was actually observed (an AMS that was drying throughout gets said so, because that is a common reason a printer accepts a file and never starts). One exception: where a swap-mode start macro already ran on the physical machine the item is left in printing and the log asks for a human instead, because a retry would swap the plate a second time.
The same guard covers the moment immediately after a print completes on H2D / H2C / H2S models.
Tips¶
Overnight Prints
Schedule longer prints to start overnight -- wake up to finished prints.
Smart Plug Combo
Combine scheduling with auto power-off for hands-free operation.
Originally based on Bambuddy documentation.
Queue attention and pending estimates¶
The printer card shows its queue state separately from the printer's physical state, including when the queue is empty or the printer is offline. In the sidebar, the existing job count remains; a separate dot at the right edge is yellow for a paused printer queue and red for a queue error. Error takes priority. A physical printer pause and an old failed job alone do not set this dot.
The queue block on the printer card names the job the scheduler will start next — the first waiting job that is neither staged nor scheduled for later — under Next in queue. When only scheduled or staged jobs wait, it names the one due first under Scheduled for …, or says Staged — starts only by hand. If the queue accepts AutoQueue work, the heading explains that it may print first. When the printer's last print failed, a note on the card says that jobs set to run only after a successful previous print are held, and offers Acknowledge failure; see Only after a successful previous print.
View archive in a queued job's menu opens the Archives page on the page that holds that archive and highlights it; when the current filters leave it out, the page says The linked archive is not in the current list - try clearing filters.
Pending jobs show their selected captured plate's slicer estimate, not a completion time. Missing estimates are shown as —. A collapsed batch in either queue shows the time of one print only when every copy has the same known estimate; otherwise expand it to see individual estimates. Long names shorten with an ellipsis so the time and actions remain visible. On printer queue cards, More contains reorder, edit and cancel actions; source and batch markers sit below the name.
Move one job to the auto queue¶
Expand a collapsed batch first, then use Move to auto queue on one pending copy in the printer queue card or list. It works for a job queued directly to a printer as well as one assigned by the distributor. The server requires a ready captured sliced source and proof that the job has never started. Legacy jobs without a captured source, previous dispatch attempts and calibration jobs cannot be moved this way.
Review the proposal before confirming. The job keeps its source bytes, order line, author, schedule and one-copy quantity. Print options use the original creator's standard profile; the server lists changes. A manually staged job requires consent to automatic assignment and start. Physical filament pins require consent to automatic filament selection. Macros and physical mappings are resolved again when a printer is chosen.
The proposal also shows changes to feed, colour and material matching, and per-slot overrides. These choices move with the job whether it returns to an existing AutoQueue entry or creates one there.
The distributor can assign the job immediately, even back to this printer. Moving does not resume the source queue or clear a plate gate. It does not return quantities to an order's working plan. If the response is lost, check both queues before taking another action; do not assume the move failed.
Restart recovery and duplicate claims¶
A restart during an already running print's pause rejoins that execution. Reconnect after completion does not create another printing claim. When old claims conflict, the queue stays paused and Info explains the records it cannot safely resolve.
Use duplicate-claim recovery for the complete-group preview, manual SWAP settlement and the final plate inspection. A queue row cancelled as a stale claim does not mean the physical print was cancelled: the archive keeps its outcome. Retry, Clone and plate-clear Repeat are unavailable for those rows, including batch operations. Resetting the queue status alone does not resolve an execution claim.