-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command line in shortcut to select printer configuration doesn't work #13327
Comments
Thanks for the report. Running the command from the command line using the
The three options have to be all present. However, even if you added the two remaining ones, you would not get the behavior that you expect. The I admit that what you are trying to achieve makes sense. We will add an error report for now, and later likely extend the functionality to what you wanted to do. Did I understand the issue correctly? |
You understood the issue correctly. I would like an icon on my Windows display to select a profile for a particular printer. I have an MK4 and an XL, and would like to be able to select the slicing profile based on which icon I click on. |
In the meantime couldn't you create and save 3mf projects for the configurations you want and then if you double click on one of those configure it to start PS (make PS the default action for a 3mf). That would launch PS and open the project. As the project would contain the 3 profiles selected when saved doesn't that fulfil what you want in practice ? |
The problem is that when I save a configuration, it goes into a big file, so that won't work. If you could save each configuration in a separate file, your suggestion would do what I want. |
Tried it. It doesn't even launch Prusaslicer. |
I don't know what you mean about a big file. I'm not talking about saving a configuration. I'm talking about a normal Prusa Slicer Project File. File>Save Project As. This should only be a few k. With minimal objects like a cube mine work out to about 9K. Hardly a large file. Open PS, select the 3 profiles you want to use, add a simple cube and make it non printable and move it off the plater. Then Save Project. Say MK4_Default as an example. Then change the 3 profiles to the next configuration you want. Say an XL, Save that one as XL_Default. Then when you open the project file (a 3mf type) it opens with your selected profiles (and any other changes you may have at the time). The fact that double clicking on a .3mf file doesn't open Prusa Slicer is a different problem. That can be configured in your operating system by changing the default program used for 3mf. A simple google search on how to do that for your chosen OS can detail how. |
I trid all the things you suggest, including changing the default in Windows to have Windows default to 3mf file to open Prusaslicer. When I double click on the 3mf file, nothing happens. Prusaslicer doesn't get launched. I checked the Windows 3mf default, and it definetly points to Prusaslicer. |
I currently use this method on 3 different windows machines, an older windows 8 machine and 2 windows 10 machines. It has worked as a method all the way back from the earliest version of Prusa Slicer up to 2.8 the current release. Double clicking a file type and it launching a specific program is a Operating system function. So if its not launching PS then I would be searching windows forums looking for an answer. Out of curiosity, what happens if you configure windows to open with a different program such as 3D Viewer ? and then double click a 3mf file. Also just had a thought, is the version of Prusa Slicer in the windows default the CURRENT version of PS or an older version ? |
Forgot to mention. Prusaslicer is the current version (2.8)
From: neophyl ***@***.***
Sent: Thursday, September 5, 2024 6:41 AM
To: prusa3d/PrusaSlicer
Cc: srjacob999; Author
Subject: Re: [prusa3d/PrusaSlicer] Command line in shortcut to select printer configuration doesn't work (Issue #13327)
I currently use this method on 3 different windows machines, an older windows 8 machine and 2 windows 10 machines. It has worked as a method all the way back from the earliest version of Prusa Slicer up to 2.8 the current release. Double clicking a file type and it launching a specific program is a Operating system function. So if its not launching PS then I would be searching windows forums looking for an answer.
What windows version are you running ?
Out of curiosity, what happens if you configure windows to open with a different program such as 3D Viewer ? and then double click a 3mf file.
Also just had a thought, is the version of Prusa Slicer in the windows default the CURRENT version of PS or an older version ?
—
Reply to this email directly, view it on GitHub <#13327 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEJI3XFIBSEBH2IDLGQVCI3ZVAYNRAVCNFSM6AAAAABNQQSXXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZRGE4TGOBYGU> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AEJI3XGNRXJMMISG6U77AJ3ZVAYNRA5CNFSM6AAAAABNQQSXXKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUK6MZB2.gif> Message ID: ***@***.***>
|
…ther input info is provided (FR from #13327 - Command line in shortcut to select printer configuration doesn't work) SPE-2465
Implemented in 2.9.0-alpha1. Closing. |
Hi, I was also looking for similar solution. I made 2 shortcuts on my windows desktop. shortcut 1 with target : "C:\Program Files\Prusa3D\PrusaSlicer\prusa-slicer.exe" --printer-profile "I3 N 0.5mm" --print-profile "i3 N 0.5" --material-profile "i3 N 0.5" shortcut 2 with target : "C:\Program Files\Prusa3D\PrusaSlicer\prusa-slicer.exe" --printer-profile "I3 N 0.4mm" --print-profile "i3 N 0.4" --material-profile "i3 N 0.4" your printer-profile, print-profile & material-profile should be exact as in your Prusa Slicer... copy from PS Also make sure the path is correct in your case. Regards, |
Description of the bug
I am trying to create Windows shortcuts for my Prusa XL and MK4. I tried putting the configuration profile on the command line in the shortcut like:
"C:\Program Files\Prusa3D\PrusaSlicer\prusa-slicer.exe" --printer-profile XL
But Prusaslicer doesn't load.
Project file & How to reproduce
Add the line : "C:\Program Files\Prusa3D\PrusaSlicer\prusa-slicer.exe" --printer-profile XL
to the shortcut that Prusaslicer creates. Make sure you have a profile labeled XL.
Then try clicking on the new shortcut.
Checklist of files included above
Version of PrusaSlicer
2.8.0
Operating system
Windoes 10
Printer model
Prusa XL
The text was updated successfully, but these errors were encountered: