Skip to content

Instantly share code, notes, and snippets.

View ozgurgulsuna's full-sized avatar
💭
traveling at the speed of light

Ozgur Gulsuna ozgurgulsuna

💭
traveling at the speed of light
View GitHub Profile
@ozgurgulsuna
ozgurgulsuna / bambulab-discover.ps1
Created August 22, 2024 16:36 — forked from fritzw/bambulab-discover.ps1
PowerShell script to make BambuStudio discover a specific printer by IP address, even if it is not on the same subnet (see BambuStudio Issue #702)
# Send the IP address of your BambuLab printer to port 2021/udp, which BambuStudio is listens on.
#
# Ensure your PC has firewall pot 2021/udp open. This is required as the proper response would usually go to the ephemeral source port that the M-SEARCH ssdp:discover message.
# But we are are blindly sending a response directly to the BambuStudio listening service port (2021/udp).
#
# Temporary solution to BambuStudio not allowing you to manually specify the Printer IP.
#
# Author(s): gashton <https://github.com/gashton>, Fritz webering <https://github.com/fritzw>
#
param (