View Source PrusaLink (PrusaLink v0.2.0)

PrusaLink module to interface with a Prusa 3D printer via local PrusaLink. To start setup a printer by calling PrusaLink.printer(host_or_ip, pw). The result is a printer struct you can pass to any other method to interact with that printer.

Summary

Functions

Link to this function

files(printer, path \\ "/")

View Source
Link to this function

files(printer, storage, path)

View Source

See PrusaLink.Api.files/3.

See PrusaLink.Api.job/1.

Link to this function

job_pause(printer, job_id)

View Source

See PrusaLink.Api.job_pause/2.

Link to this function

job_resume(printer, job_id)

View Source

See PrusaLink.Api.job_resume/2.

Link to this function

job_stop(printer, job_id)

View Source

See PrusaLink.Api.job_stop/2.

Link to this function

print(printer, storage, path)

View Source

See PrusaLink.Api.print/3.

See PrusaLink.Printer.new/2.

See PrusaLink.Printer.refresh/1.

See PrusaLink.Printer.specs/1.

See PrusaLink.Api.status/1.

See PrusaLink.Api.storage/1.

Link to this function

upload(printer, file)

View Source (since 0.1.1)

Upload a file to the given printer.

Automatically extracts the target filename on the printer from the given path. Uploads to usb storage. See also: PrusaLink.Api.upload/4

Link to this function

upload(printer, path, content)

View Source (since 0.1.1)
Link to this function

upload(printer, storage, path, content)

View Source (since 0.1.1)

See PrusaLink.Api.upload/4.