<ol>
<li><p>Slicers don't talk to the printer. Slicers analyze an STL file and generate a GCODE file, based on your parameters. A print manager sends the commands from the GCODE file to the printer board, which executes them sequentially.</p>
</li>
<li><p>They are not. Commands are sent to the printer from a print manager of some sort. This varies among printers; some printers can be managed by more than one manager, and some managers can handle many models of printer. Some printer-manager pairs are proprietary and exclusive.</p>
</li>
<li><p>You do not. See above.</p>
</li>
</ol>
<p>Note, some programs <em>do</em> have an integrated slicer and print manager. - Thanks, Trish</p>

CC BY-SA 4.0
2020-07-15T19:56:47.047Z
" A print manager sends the commands from the GCODE file to the printer board, which executes them sequentially." - does this mean that the printer receives an entire G-code file and then executes them, or the print manager send 1 line of commands
ConvergingPanda
CC BY-SA 4.0
2020-07-15T20:05:43.880Z
It depends on how much (if any) buffer or storage the controller board has. It can be a small number of lines at a time, or it's possible the entire file can be queued up on the controller. The units I use have a 300 line command buffer, plus an emergency buffer.
Davo
CC BY-SA 4.0
2020-07-15T22:44:38.060Z
You shouldn't send G-code over WiFi, this is potentially more risky than a stable wire connection.
0scar
CC BY-SA 4.0
2020-07-15T23:19:52.540Z
@0scar: Do you just mean you shouldn't stream it because of risk of the printer being left in a bad state (e.g. hot nozzle sitting on the print) if the signal drops out? Or something else?
R.. GitHub STOP HELPING ICE
CC BY-SA 4.0
2020-07-16T00:44:58.470Z
Some slicers do contain a printer manager, but generally, they do not.
Trish
CC BY-SA 4.0
2020-07-15T19:26:52.717Z
2020-08-03T12:17:41.350Z
2020-08-03T12:17:41.350Z
Davo
<p>I was wondering how WiFi based 3D Printing works since I want to start an open source project and need some information on this. I have done some research, I have now an understanding on how the printer interprets the G-code and how it acts upon the instructions. But what I couldn't find information on is how WiFi based 3D printing works</p>
<ol>
<li><p>What is the communication between the slicer (such as Cura) and the board?</p>
</li>
<li><p>How are the commands sent to the printer from the slicer, line by line or the entire G-code?</p>
</li>
<li><p>How do I establish a connection between the slicer and the board?</p>
</li>
</ol>
<p>I am well aware of the already existent Raspberry Pi idea compatible with Octoprint but I am making a much cheaper one</p>
<p>Thanks for any help</p>

<ultimaker-cura><g-code><wi-fi>
How does wireless 3D printing work?
ConvergingPanda
# How does wireless 3D printing work?

(Asked by: username_0 on 2020-07-15)

I was wondering how WiFi based 3D Printing works since I want to start an open source project and need some information on this. I have done some research, I have now an understanding on how the printer interprets the G-code and how it acts upon the instructions. But what I couldn't find information on is how WiFi based 3D printing works

1. What is the communication between the slicer (such as Cura) and the board?
2. How are the commands sent to the printer from the slicer, line by line or the entire G-code?
3. How do I establish a connection between the slicer and the board?

I am well aware of the already existent Raspberry Pi idea compatible with Octoprint but I am making a much cheaper one

Thanks for any help

**Tags:** ultimaker-cura, g-code, wi-fi

---

## 1 answers

### Answer by username_1 on 2020-07-15. Score: 6 | Accepted answer

1. Slicers don't talk to the printer. Slicers analyze an STL file and generate a GCODE file, based on your parameters. A print manager sends the commands from the GCODE file to the printer board, which executes them sequentially.
2. They are not. Commands are sent to the printer from a print manager of some sort. This varies among printers; some printers can be managed by more than one manager, and some managers can handle many models of printer. Some printer-manager pairs are proprietary and exclusive.
3. You do not. See above.

Note, some programs *do* have an integrated slicer and print manager. - Thanks, Trish

> **Comments:**
> **username_0**: " A print manager sends the commands from the GCODE file to the printer board, which executes them sequentially." - does this mean that the printer receives an entire G-code file and then executes them, or the print manager send 1 line of commands  
> **username_1**: It depends on how much (if any) buffer or storage the controller board has. It can be a small number of lines at a time, or it's possible the entire file can be queued up on the controller. The units I use have a 300 line command buffer, plus an emergency buffer.  
> **username_2**: You shouldn't send G-code over WiFi, this is potentially more risky than a stable wire connection.  
> **username_3**: @0scar: Do you just mean you shouldn't stream it because of risk of the printer being left in a bad state (e.g. hot nozzle sitting on the print) if the signal drops out? Or something else?  
> **username_4**: Some slicers do contain a printer manager, but generally, they do not.  

---

