Skip to the page

TECH 05Joseph & Dad

Setting up the Printer Ranch

The Lab's rack: a screen of live graphs on top, network gear and servers below, a small plush toy hanging from one handle
Norman's rack, where the software this fleet reports to runs.
The short version (for kids)

My Lab does not have just one 3D printer anymore. It has nine of them, and they all have names, like Big Tex, Colorzilla and Sir Prints-A-Lot.

The printers used to be like separate islands that could not talk to Norman, our big computer. Dad and I gave them their own private network, plugged straight into Norman, so he can see and run every one from one screen.

Each printer tells Norman what it is doing right now: how hot it is, how far along a toy is, if something went wrong. So I can check on all nine without walking around the whole house.

We also keep two weeks of extra filament on the shelf, so a printer never runs dry in the middle of a dragon. Below is the long version, for grown-ups and big kids who want to build one.

THE LONG VERSION · FOR GROWN-UPS AND BIG KIDS

One printer is a hobby. Nine printers is a ranch, and a ranch needs plumbing: a network they all sit on, a way to watch all of them at once, and rules for the filament shelf. This note is that plumbing. The network parts are Dad's; I did the naming.

The fleet

Big TexBambu Lab H2S: the flagship, big prints, silk colors, the dragon department
ColorzillaBambu Lab H2C: two nozzles, two AMS units, eight colors loaded at once
Sir Prints-A-LotBambu Lab P2S: workhorse, minis and keychains all day
Longhorn LouBambu Lab P2S
Rodeo RosieBambu Lab P2S
Pecan PeteBambu Lab P2S
Bluebonnet BettyBambu Lab P2S
BlackjackBambu Lab P2S: black and white all day
Lil' TexBambu Lab A1 mini: the scout, rides to every market for live demos, not on the Printer Ranch schedule

Six P2S, one H2S, one H2C and one A1 mini: nine machines, one catalog file, as of the day we wrote this. The names matter. The console, the driver software and this site all call a machine by the same name, so a fact never has to be translated between systems.

Dad's note: why the printers get their own network

Norman, the computer that runs the Lab, and the printers on the household Wi-Fi could not see each other at all. The fix was a dedicated access point just for printers, plugged straight into Norman on its own network segment, apart from the Wi-Fi the rest of the house uses. The control software gets direct, fast access to every printer, and a misbehaving printer cannot wander onto the network the family's own devices are on, or the other way round. Each printer also gets a fixed address once it is known, because a changed address is the most common reason a ranch suddenly "goes dark": the software keeps knocking on a door nobody lives behind anymore.

Dad's note: LAN mode, Developer mode, and the access code

Every Bambu printer ships defaulting to cloud control. A toggle on the printer's own screen, LAN-only mode, makes it take commands only from the local network. A second toggle, Developer mode, is what lets the control software start a print rather than just watch one. Each printer then generates its own access code on its own screen: a per-machine credential, read off the printer once, typed into the control software, never sent anywhere else. Registering a printer is one command, run once its address, serial number and access code are known.

printerctl.py · is a printer even answering
def port_open(host, port=8883, t=2.0):
    try:
        with socket.create_connection((host, port), timeout=t): return True
    except Exception: return False

That check runs before Norman assumes a printer is wired up at all. A closed door on port 8883 means "not on this network yet", not "broken".

Dad's note: the live feed

Once a printer is in LAN-only and Developer mode it publishes its own status (temperature, progress, stage, any error) over an encrypted feed called MQTT, Bambu's own protocol, on the standard port 8883. The control software subscribes instead of asking over and over, so the "what is printing right now" screen updates close to instantly. A printer Norman has never reached still shows its last known state, because the driver software (next technical note) remembers it instead of going blank.

Dad's note: the backup-spool trick

One color loaded into two AMS trays on the same printer looks wasteful until you realize it is a free backup spool: the AMS swaps to the second tray automatically if the first runs dry mid-print. Colorzilla, our two-nozzle machine, is the only printer that can run eight colors at once, so its trays are the working palette for custom, personalized orders rather than one fixed toy line.

Keeping the shelf honest

The rule Dad set: two weeks of filament on the shelf at all times for whatever the plan is actively using, plus a critical spares floor for the colors that would stop a print entirely if they ran out. The filament count starts out labeled unknown on purpose. The software will not guess a number until a real physical count happens, the same "never lie about a number" rule that runs through everything we build.

farmctl.py · the shelf rule, in code
STOCK_DAYS = 14   # two weeks of filament on the shelf at any one
                   # time, plus the critical spares

Wiring day

Before wiring day, one printer was on record, and it was on the wrong network: nothing on the rack could see it. The software can be built ahead of time, but nothing lights up until every printer physically joins the same network as the control computer. Per printer, about four minutes:

  1. Join the dedicated printer network on the printer's own screen.
  2. Turn on LAN-only mode, then Developer mode.
  3. Read the address, serial number and access code off the printer's screen.
  4. Register the printer with one command.
  5. Confirm the control software shows live temperature.

Things that went wrong

Ivory White and Jade White look the same from across the room. We loaded the wrong one twice before we started labeling trays.

What we would tell you

Give every printer a name before it goes on the network, because the name is what every other system will call it forever. Put the printers on their own network from day one: the wrong-network mistake is why wiring day was one hard day instead of nine easy ones. And let the software say "unknown" out loud when it does not know something. A shelf count that guesses is worse than no count at all.

For press and partners

Texas Toy Lab, a 3D-printed toy business run by 8-year-old Joseph Crabtree in Austin, Texas, put nine Bambu Lab printers on their own dedicated network to run as one Printer Ranch instead of nine separate machines. Each printer reports live status over an encrypted local feed; a two-week filament rule and a critical spares floor keep the shelf from running dry mid-print; the software labels an uncounted quantity "unknown" rather than guessing.

"Ivory White and Jade White look the same from across the room. We loaded the wrong one twice before we started labeling trays." (Joseph, 8)

Mentioned in this note: Bambu Lab. Not involved in the Lab. Photo above is free to use with the credit "Texas Toy Lab". Press page: texastoylab.com/press, kit: the press kit (.zip); contact joseph@texastoylab.com (Dad answers).

Next technical note: the software we built to run the Printer Ranch.

Howdy. See you at the next market.
Joseph ★ (and Dad, for the boring parts)