Skip to content
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

Regarding MacBook OS update #50

Open
thgr8ganzi opened this issue Sep 26, 2024 · 19 comments
Open

Regarding MacBook OS update #50

thgr8ganzi opened this issue Sep 26, 2024 · 19 comments

Comments

@thgr8ganzi
Copy link

The program does not work after updating my MacBook. Please confirm.

It seems that the program is not recognized as a virtual printer.

@rodyager
Copy link
Owner

I am not sure what is happening on your MacBook. PDFWriter works as expected on my MacBook running MacOS 15 (Sequoia) and also worked on MacOS 14 (Sonoma)

@thgr8ganzi
Copy link
Author

Yes, thank you. I will try again and let you know if there are any problems.

@r3garciaz
Copy link

how can i print in Sonoma? I have a wine app that don't print. Always say "Incoming"

Screenshot 2024-11-11 at 18 17 09

@rodyager
Copy link
Owner

rodyager commented Nov 11, 2024 via email

@r3garciaz
Copy link

Ok, I get. Thanks for your reply

Regards

@trinhtranduc
Copy link

I’m having the same issue on macOS Sequoia 15.2. After a successful installation, I don’t see the PDFWriter printer in Printers & Scanners and I also don’t see any PDFWriter files in /private/var/spool/.

When I click on the PDFWriter alias, it shows an error.

Screenshot 2024-11-28 at 16 01 53

@trinhtranduc
Copy link

trinhtranduc commented Nov 28, 2024

Open project then build with pdfwriter target and get errror

ERROR: pdfwriter cannot be called without root privileges!

Do you have any suggestion?

@rodyager
Copy link
Owner

rodyager commented Nov 28, 2024 via email

@rodyager
Copy link
Owner

rodyager commented Nov 28, 2024 via email

@trinhtranduc
Copy link

trinhtranduc commented Nov 29, 2024

Dear Rod, Thank you for your quick response. However, I don’t fully understand your reply 😛 . My primary issue is that I cannot see the printer name in the Printers and Scanners section after successfully completing the installation on macOS 15.2.?

Do you have any suggestions to fix this issue?

@rodyager
Copy link
Owner

rodyager commented Nov 29, 2024 via email

@rodyager
Copy link
Owner

rodyager commented Nov 29, 2024 via email

@trinhtranduc
Copy link

Hi Rob,

I try to run your above command and retrieve an error:

mac@trinhtran ~ % sudo lpadmin -p PDFwriter -E -v pdfwriter:/ -P /Library/Printers/PPDs/Contents/Resources/RWTS\ PDFwriter.gz -o printer-is-shared=false Password: lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS. lpadmin: Bad device-uri scheme “pdfwriter”.

Thanks!

@trinhtranduc
Copy link

trinhtranduc commented Nov 29, 2024

Here is installation log. I got same error as runing above command

./postinstall: lpadmin: Bad device-uri scheme “pdfwriter”.

log.txt

@rodyager
Copy link
Owner

rodyager commented Nov 29, 2024 via email

@trinhtranduc
Copy link

Thanks, Rog! I’m just wondering why it’s still working on your Mac version. :)

@rodyager
Copy link
Owner

rodyager commented Nov 29, 2024 via email

@rodyager
Copy link
Owner

rodyager commented Dec 2, 2024

I have just now updated to macOS 15.2 (Beta 4). The version of cups it uses is still 2.3.4 (you can check this using cups-config --version). Given that, it would seem that the relevant part of the error message is the Bad device-uri scheme. That most likely means that the pdfwriter executable hasn't been installed in the correct location. Please execute.
ls -la /usr/libexec/cups/backend/
You are expecting to see something like this
lrwxr-xr-x 1 root wheel 42 30 Nov 19:04 pdfwriter -> /Library/Printers/RWTS/PDFwriter/pdfwriter
where only the Nov 19:04 should be different.
In particular check that the permissions and the ownership are as indicated.

@trinhtranduc
Copy link

Hi Rod,

Thank you very much for your quick response. You're correct that my cup version is still 2.3.4. When I run ls -la /usr/libexec/cups/backend/ and I see same result as you mentioned. However I still not see the printer in the list.

Screenshot 2024-12-03 at 14 47 04

I tried to manually run command below (modifying your command by replacing pdfwriter with file)

lpadmin -p PDFwriter -E -v "file:///Library/Printers/RWTS/PDFwriter/pdfwriter" -P /Library/Printers/PPDs/Contents/Resources/RWTS\ PDFwriter.gz -o printer-is-shared=false

And now I'm able to see the PDFwriter in the list but cannot use this printer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants