FakeSerial Printer Guide
This guide explains how to enable, use, and disable the built-in FakeSerial printer for development and integration testing.
What It Does
FakeSerial simulates a Marlin-style serial printer inside WPrint 3D.
When enabled, it:
appears in the normal printer discovery flow
is mapped by
map:serial-printerslike a real devicecan be selected from the left-side printer picker
shows a computer icon in the picker so it is easy to distinguish from hardware
responds to common G-code commands such as
M105,M115,M109,M190,G0,G1, andG28emits Marlin-like
start,busy: processing,ok, and error responsesexposes a live transcript in the developer UI
Before You Start
You need:
access to the WPrint 3D UI as an administrator
developer mode enabled
Developer mode is required because the FakeSerial controls live in the Development settings tab.
Step 1: Enable Developer Mode
Open the WPrint 3D settings modal.
Go to the
Systemtab.Find
Enable developer modeunderAdvanced settings.Turn it on.
Save the change.
Reload the page.
After the reload, a Development tab will appear in the settings modal.
Step 2: Open the FakeSerial Panel
Open the settings modal again.
Go to the
Developmenttab.Open the
Fake serialsub-tab.
You will see:
a toggle to plug or unplug the fake printer
the virtual node name, usually
FAKE0the active baud rate selector
mapper detection status
a live transcript panel
Step 3: Plug In the Fake Printer
In
Settings -> Development -> Fake serial, turn the toggle on.Wait a few seconds for the mapper to run.
Watch the status chips:
Plugged inmeans the virtual device is enabledDetected by mappermeans it has been discovered and mapped as a printer
When detection completes, the printer will appear in the left-side printer selector with a computer icon.
Step 4: Select the Fake Printer
Open the printer selector on the left side of the main UI.
Choose the printer with the computer icon.
Wait for it to become the active printer.
Once selected, you can use it like a normal printer for:
manual terminal commands
printer status polling
preheat and temperature workflows
plugin serial hooks
print-flow integration testing
Step 5: Watch the Transcript
The Fake serial panel includes a live transcript that refreshes automatically.
It shows:
input: commands sent to the fake printeroutput: simulated Marlin repliesstatus: connection and plug/unplug state changes
Use this panel when you want to confirm:
which G-code your integration is sending
whether a command returns
okwhether a slow command emits
busy: processingwhether an invalid command returns an error
Step 6: Send Test Commands
After selecting the FakeSerial printer, open the normal printer terminal and send commands as you would to a physical printer.
Useful examples:
M105Expected result: a temperature report starting withok T:M115Expected result: firmware info and capability linesG28Expected result: one or morebusy: processinglines, thenokM109 S210Expected result: busy output during heat-up, then a final temperature reportM190 S60Expected result: busy output during bed heat-up, then a final temperature reportM114Expected result: current positionM9999Expected result: anError:Unknown commandresponse
Step 7: Change the Fake Baud Rate
The simulator supports two baud rates:
115200250000
To change it:
Go to
Settings -> Development -> Fake serial.Click the desired baud rate.
Wait for the mapper to refresh the printer mapping.
Notes:
the selected baud becomes the fake printer’s active baud
discovery should succeed only at the configured baud
integrations that assume the wrong baud should see a timeout or no response behavior similar to a real mismatch
Step 8: Test Full Discovery Again
If you want to re-test discovery from scratch:
Turn FakeSerial off.
Wait for the device to be treated as unplugged.
Turn FakeSerial on again.
Wait for the mapper to detect it again.
This is useful when validating:
startup discovery
plugin behavior during first connection
printer selection logic
reconnection handling
Step 9: Disable FakeSerial
When you are done:
Go to
Settings -> Development -> Fake serial.Turn the toggle off.
Wait a few seconds for the mapper state to settle.
After that:
the virtual node is no longer considered plugged in
new fake serial connections are rejected
the left-side picker will stop treating it as an active virtual device
Behavior Notes
Keep these details in mind while testing:
FakeSerial allows only one active connection at a time.
Slow commands intentionally emit
busy: processingbefore the final reply.Temperature waits such as
M109andM190simulate delayed completion.Wrong-baud access is treated like a timeout.
Unknown commands return error output instead of a successful
ok.The transcript in the developer tab is separate from the normal printer terminal and is meant for debugging the fake device itself.
Troubleshooting
If the FakeSerial printer does not appear:
Confirm
Enable developer modeis still on.Confirm the FakeSerial toggle is on.
Check that the status chip moves from
Plugged intoDetected by mapper.Use the transcript panel and press
Refresh.Re-toggle FakeSerial off and on.
Reload the page if you just enabled developer mode.
If commands fail unexpectedly:
Check the transcript for
Error:lines.Confirm the active baud rate is the one you intended to test.
Make sure another workflow is not already holding the fake serial connection.