Giter Club home page Giter Club logo

octoprint-virtualprintersettings's Introduction

Virtual Printer Settings

Add easily configurable and well organised settings for OctoPrint's virtual printer. Overrides the default template which only has an enabling checkbox.

Very useful if you are developing plugins, or even core OctoPrint. No more digging deep into config.yaml and hoping you typed the settings correctly!

This plugin is not under active development, but if you have any problems, or feature requests I would be happy to take a look & see what I can do.

Compatibility

OctoPrint

The latest version of the plugin is only tested with OctoPrint 1.8.x. To find a version compatible with your instance, take a look in the table below

OctoPrint version Plugin version Install URL
1.8.x onwards 2022.07.04 https://github.com/cp2004/OctoPrint-VirtualPrinterSettings/archive/2022.7.04.zip
1.5.x -1.7.x 1.5.x https://github.com/cp2004/OctoPrint-VirtualPrinterSettings/archive/1.5.1.zip
1.4.x 0.1.3 https://github.com/cp2004/OctoPrint-VirtualPrinterSettings/archive/0.1.3.zip

Use the above URLs in OctoPrint's Plugin Manager > Get More > ...from URL field.

Browser

This plugin uses some modern browser features and as a result it won't work correctly on older browsers that do not support ES6 JS features. I've tested it on modern Chromium-based browsers, and it works fine for me, if you have issues with a particular browser, please let me know.

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/cp2004/OctoPrint-VirtualPrinterSettings/archive/master.zip

Contribution

Contributions are welcome, there is nothing too special about developing this plugin. If you can run the pre-commit checks below after your changes are made that would be great.

Pre-commit

  • pre-commit run --hook-stage manual --all-files to run all of the checks

Configuration

Plugin adds settings to OctoPrint's UI that are documented here

It replaces the original implementation, introduced in OctoPrint 1.4.1

screenshot

Sponsors

As well as 5 others supporting me regularly through GitHub Sponsors!

Supporting my efforts

I created this project in my spare time, so if you have found it useful or enjoyed using it then please consider supporting it's development!. You can sponsor monthly or one time, for any amount you choose.

๐Ÿ”จ

octoprint-virtualprintersettings's People

Contributors

cp2004 avatar dependabot[bot] avatar jneilliii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

octoprint-virtualprintersettings's Issues

Can't switch back to physical Printer - latest version.

Great plugin. used it today, works like a charm, but when i wanted to switch back to my physical printer, no joy. i was given the option to chose which printer to connect to but OctoPi failed to connect. restarting octoprint did not help, restarting system solved the issue and i could again chose which printer to connect to. more info will be provided upon request.

cheers.

[FR] Update to utilise settings in OctoPrint 1.5.0

While you're at it, use some custom bindings similar to those in AutoLoginConfig to make some of the values easier to edit.

Changed in OctoPrint 1.5.0

-            "extendedSdFileList": False,
+            "sdFiles": {"size": True, "longname": False},

+            "m105TargetFormatString": "{heater}:{actual:.2f}/ {target:.2f}",
+            "m105NoTargetFormatString": "{heater}:{actual:.2f}",
+            "enable_eeprom": True,
+            "support_M503": True,
+            "resend_ratio": 0,
  • Remove extended SD File List
  • Add two SD Files listings
  • M105 Target format string
  • M105 No target format string
  • Enable Virtual EEPROM
  • Support M503
  • Resend ratio

Missing files in latest release

Hello,

First of all, let me say thanks for this very useful plugin for debugging during plugin development.

Unfortunately, when I tested your latest release it looks like the templates and static assets are missing in your latest release.zip.
This causes malfunction of the plugin: I only see a blank page in the virtualprinter settings.

This seems to be a release issue because when using the source code directly it works without issue.

Bad URL in README.md

Plugin adds settings to OctoPrint's UI that are documented here.

The documented here URL goes to a 404.

It doesn't work. Ever.

I check the box, fill in some fields and the virtual printer never appears in the list. I have no printers hooked to it right now, so I just want to have the virtual printer so I can use the timelapse because Octoprint doesn't connect to Bambu.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.