LAN Queues
A LAN queue is a local network queue that multiple 3D printers print from.
It's not unusual to have multiple 3D printers - in home workshops, in the prototyping industry, and even for 3D printing services (e.g. Shapeways) and manufacturers that manage hundreds/thousands of them.
In addition to providing a local queue by default, Continuous Print also configures a default LAN queue that will automatically link any other printers on your local network. Printers can then coordinate together over the network to print jobs from the same queue.
Warning
LAN queues are intended for trusted, local (LAN) networks only - not for cross-network (WAN) use cases. Using LAN queues across networks is insecure and strongly discouraged.
Info
If you upgraded from v2.0.0 or earlier, the default LAN queue will not be added (a compatibility measure). If you don't see the default LAN queue, please read and follow Additional LAN Queues for instructions on how to set up your own.
Setup
By default, Continuous Print creates a queue called "LAN" that printers on the network will automatically join.
You will need a working instance of OctoPrint (with the Continuous Print plugin installed) for every printer you wish to have join the queue.
See what printers are connected to the queue by hovering your mouse over the queue name:
If printers are missing from this list, make sure they have OctoPrint and Continous Print installed and enabled, and that they are on the same local network. See Additional LAN Queues below if you need more advanced LAN queue configuration.
Submit a job
Submitting a job is as simple as dragging it from the "local" queue to your LAN queue. After confirming that you wish to submit your job, the job will be moved out of the local queue and into the LAN queue.
Undo job submission
Submission can be undone simply by dragging the job back to the "local" queue. This can be done by any printer in the LAN queue.
Info
The printer receiving the local job may not have the local .gcode
files initially, so the files are fetched and copied to ContinuousPrint/imports/<job name>/
and the Set paths are auto-updated accordingly.
Edit a LAN queue job
You can edit jobs in LAN queues just as in Local queues - see Queuing Basics for more details.
Cancel a LAN queue job
- Click the checkbox next to the job in your LAN queue.
- Click the trash can icon that appears.
The job will disappear from the LAN queue and no longer be printed. Note that a job cannot be deleted if a printer is actively printing it.
Details
LAN Queues manage Jobs, not Sets/Files
Queues operate at the level of a Job (see Sets and Jobs for disambiguation). All work described by the job will be completed by the printer which acquires it. In other words, the work within a job will not be distributed across printers. This is to ensure compatability with future work to support WAN / decentralized network printing, ensuring that all prints of any job are guaranteed to end up in the same physical location.
Queue Strategies
When a printer is done with its job, it will choose the next one based on whichever strategy is configured for the queue it's printing from.
There is currently only one strategy:
- In-Order prints linearly down the queue from top to bottom, one job at a time.
In the future, you will be able to customize how your printer works on the queue, e.g. choosing jobs in a way which avoids excessive filament changes and other manual actions.
The overall strategy between queues is currently in-order, i.e. all prints in the topmost queue will be executed before moving onto the next queue, and so on. This will eventually change to allow a top-level strategy which dictates which queue to print from.
GCODE Limitations
3D print slicers generate a *.gcode
file for a particular make and model of 3D printer - running that file on a different printer than the one for which it was sliced would likely damage that printer (or maybe just fail to print properly).
This can be mitigated in one of two ways:
- Use exactly the same make and model of printer for all members of the LAN queue
- Configure the correct profiles for all Sets so that each type of printer has its own compatible
*.gcode
files to fully print the job.
Info
For users of Kiri:Moto slicer, the second mitigation is automatic: gcode files are automatically analyzed and the printer profile applied when they are added to the queue. See the Printer Profiles page for more details.
Additional LAN Queues
It's straightforward to add additional LAN queues, or remove/modify the default LAN queue if desired:
- Open OctoPrint's settings page
- Click through to Continuous Print
- Click the Queues button to go to the queue settings page.
- Click the "Add Queue" button to add a new LAN queue.
- Fill in the inputs, but keep in mind:
- Each queue must have a unique name (which cannot be
local
andarchive
- these are reserved) - Address:Port must be either set to
auto
or have the form ofip_address:port
(e.g.192.168.1.43:6789
)- A hostname of
localhost
will only connect to other OctoPrint instances on the same host. If you're unsure what to specify here, try0.0.0.0
which binds to all IP addresses on the host. - If
auto
is used, an IP address and port will be selected automatically - this will probably work, but may not be correct for more complicated network setups.
- A hostname of
- Access control may be a factor if you're using a port number below 1024 (see privileged ports)
- You may experience silent failures if you specify a port that's already in use by another process.
- All LAN queues are only visible to other devices on the same network, unless you've taken steps to expose ports (NOT recommended).
- Each queue must have a unique name (which cannot be
- When you've finished configuring your queues, click
Save
.
If everything is working properly, you'll see the changes reflected in the queues on the Continuous Print tab with the queue(s) you added. It will show no other peers connected to it, but that's because we still have to set them up. Complete steps 1-6 for all remaining printers, and you should see them as peers when you look at the header of the queue.