<p>Hello everyone I'm developing a system to remotely manage several printers at the same time, using the OctoPrint API. </p>

<p>I would like to know if there is any way to emulate printers to do the tests, because I only have one printer and I would need several, even if they were virtual.</p>

<p>I tried <a href="https://github.com/buserror/simreprap" rel="nofollow noreferrer">simrerap</a> but it seems to be too old, and didn't work.</p>

CC BY-SA 4.0
2020-05-12T13:08:48.947Z
An emulator? as in something that accepts the G-Code and runs it?
user77232
CC BY-SA 4.0
2020-05-12T13:16:55.640Z
(I asked because I have one that can do that, but it is unreleased. I've considered releasing it; perhaps now is a good time)/
user77232
CC BY-SA 4.0
2020-05-13T02:47:36.633Z
@user77232, I don need that it execute gcode right now, I just want that Octoprint detects it as a printer, to work with the API, read sensors etc etc etc....
efirvida
CC BY-SA 4.0
2020-05-13T03:27:30.710Z
Reading sensors requires executing g-code; octoprint communicates via printers with g-code. The emulator would need to be able to understand and "execute" g-code that octoprint sends to it.
user77232
CC BY-SA 4.0
2020-05-13T04:18:34.763Z
@user77232, yes you are right sorry I was thinking on gcode only for tool move and print, but you are right all the communication is made with gcode
efirvida
CC BY-SA 4.0
2020-05-16T21:35:46.427Z
it's just serial communication, so you can make simple mockups with a PC or an MCU like arduino.
dandavis
CC BY-SA 4.0
2020-05-18T17:03:34.293Z
@dandavis can you share it?
efirvida
<software><octoprint>
3D printer emulator
efirvida
# 3D printer emulator

(Asked by: username_0 on 2020-05-08)

Hello everyone I'm developing a system to remotely manage several printers at the same time, using the OctoPrint API.

I would like to know if there is any way to emulate printers to do the tests, because I only have one printer and I would need several, even if they were virtual.

I tried [simrerap](https://github.com/buserror/simreprap) but it seems to be too old, and didn't work.

**Tags:** software, octoprint

> **Comments:**
> **username_1**: An emulator? as in something that accepts the G-Code and runs it?  
> **username_1**: (I asked because I have one that can do that, but it is unreleased. I've considered releasing it; perhaps now is a good time)/  
> **username_0**: @username_1, I don need that it execute gcode right now, I just want that Octoprint detects it as a printer, to work with the API, read sensors etc etc etc....  
> **username_1**: Reading sensors requires executing g-code; octoprint communicates via printers with g-code. The emulator would need to be able to understand and "execute" g-code that octoprint sends to it.  
> **username_0**: @username_1, yes you are right sorry I was thinking on gcode only for tool move and print, but you are right all the communication is made with gcode  
> **username_2**: it's just serial communication, so you can make simple mockups with a PC or an MCU like arduino.  
> **username_0**: @username_2 can you share it?  

---

## 0 answers

