-
Notifications
You must be signed in to change notification settings - Fork 83
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
Choose output folder for printed PDF files #15
Conversation
I've just pushed a commit that fixes issues on Big Sur that prevented the PDF files from being moved to the chosen folder. Now tested and works perfectly on both Catalina and Big Sur |
I think the .pkg is not complete. the chose folder files are not there. |
@macmachado The choose folder feature will only be available once this pull request is merged and a new version is released. @rodyager Did you have any thoughts/feedback on this pull request? |
The reason I haven’t released this is that it didn’t work for me, possibly because I was running one of the OSX Betas at the time and something might have been broken.
However, it is something I do want to fix. My current intention is to add a “Helper app” that gets installed in the Utilities folder which allows any user to “create" a folder which will be the print job destination. [They’ll actually be creating a symbolic link to /var/spool/pdfwriter/<username> ]
Just need to find the couple of hours that it will take.
Rod
On 2 Apr 2022, at 2:52 am, Francis McKenzie ***@***.******@***.***>> wrote:
@macmachado<https://github.com/macmachado> The choose folder feature will only be available once this pull request is merged and a new version is released.
@rodyager<https://github.com/rodyager> Did you have any thoughts/feedback on this pull request?
—
Reply to this email directly, view it on GitHub<#15 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAKSADPKHBNWF7MJ6MLVIWDVC4LUNANCNFSM47NOLMIA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@rodyager Sorry to hear it wasn't working for you 😞 Did you make sure you did the build using all 3 commits from this pull request? I have attached videos showing this feature working on Mojave, Catalina, Big Sur and Monterey. In each case, I ran the You will see there is a slight delay after printing before the Folder Action kicks in and moves the PDF to the correct folder. You can also see that a little cogwheel icon appears in the menubar while the Folder Action is running. PDFwriter.Mojave.movPDFwriter.Catalina.movPDFwriter.BigSur.movPDFwriter.Monterey.mov |
This would be great to have |
I've now added a utility that allows you to create a folder (well, actually an alias) in the location of your choice, to which the output will be directed. Each users on the machine can make their own individual choice. The link to download the utility is near the top of the ReadMe. |
I’ve added a utility that lets each user choose a location for the output folder for their printed PDF files.
(See the link to download the utility near the top of the ReadMe on github.)
Rod
On 19 Jun 2022, at 7:15 pm, Reuben ***@***.******@***.***>> wrote:
This would be great to have
—
Reply to this email directly, view it on GitHub<#15 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAKSADNQJCF3YYEBIJ6OVRLVP3QMVANCNFSM47NOLMIA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I have document the manual version of this approach with #51 so that @rodyager can consider adding it to the readme or wiki. This programmatic approach is fantastic @mckenfra. Very well documented (.mov × 4). Appretiate the attempt to get your pull request accepted. I would encourage you to try again! |
See discussion #14
This pull request allows the user to choose the folder to send PDFs to after printing. It relies on the macOS Folder Actions functionality
After install of the printer driver, every different user who logs into the same machine can specify their own preferred folder where they want their printed PDFs to appear, by executing the following script:
This script installs the necessary Folder Actions in the user's environment, and also creates a symbolic link to the user's chosen folder at the following path:
The Folder Action moves printed PDFs to this symbolic link, if it exists.
Note that you can see the installed Folder Actions by right-clicking on folder
/var/spool/pdfwriter
in Finder, and choosingServices -> Folder Actions Setup
Ideally instead of running a script a user could click a button somewhere to run the
choosefolder.sh
script, so it is more user-friendly. But that could be a possible future enhancement. Let me know if this works ok for you, I have only tested on macOS Mojave.