View previous topic :: View next topic |
Author |
Message |
mgnut57 Guru
Joined: 12 Jan 2008 Posts: 308
|
Posted: Sat Jul 27, 2024 10:22 pm Post subject: What happened to rastertopdf and how do I get it back? |
|
|
The last time I did a full update and depclean seems to have removed the file
/usr/libexec/cups/filter/rastertopdf
This is causing failures when printing, depending on the setup of the printer (HP Colorlaser M255).
How do I fix this? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22618
|
Posted: Sat Jul 27, 2024 10:24 pm Post subject: |
|
|
This file is owned by net-print/cups-filters. Did you remove that package? |
|
Back to top |
|
|
mgnut57 Guru
Joined: 12 Jan 2008 Posts: 308
|
Posted: Sat Jul 27, 2024 11:04 pm Post subject: |
|
|
Hu wrote: | This file is owned by net-print/cups-filters. Did you remove that package? |
I think it was removed by emerge --depclean, but then I reinstalled it.
Code: | equery files cups-filters | grep rasterto
/usr/libexec/cups/filter/rastertoescpx
/usr/libexec/cups/filter/rastertopclx
/usr/libexec/cups/filter/rastertops
# equery list cups-filters
* Searching for cups-filters ...
[IP-] [ ] net-print/cups-filters-2.0.0-r1:0
# equery uses !$
equery uses cups-filters
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for net-print/cups-filters-2.0.0-r1:
U I
+ + foomatic : Build the included foomatic-rip printer driver. Strongly recommended.
# genlop -t cups-filters | tail
Sun Mar 26 22:10:57 2023 >>> net-print/cups-filters-1.28.17
merge time: 47 seconds.
Thu Jun 22 04:16:33 2023 >>> net-print/cups-filters-1.28.17-r2
merge time: 39 seconds.
Sat Jul 27 15:33:28 2024 >>> net-print/cups-filters-2.0.0-r1
merge time: 45 seconds.
|
|
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 214
|
Posted: Sun Jul 28, 2024 4:54 am Post subject: |
|
|
https://github.com/OpenPrinting/cups-filters/commit/0aad4d5bb6c8bb9d4ad72e93b18582811c8a6681
The filename was changed by upstream -- it is now called pwgtopdf since they decided it is more accurate to call it a pwg converter as it doesn't work with all raster inputs, but only the pwg variety.
Interestingly, it doesn't appear they ever actually mentioned this in the changelog for cups-filters 2.0.0.
If you have a custom printer driver that requires rastertopdf, you can simply edit it to use the new name. |
|
Back to top |
|
|
mgnut57 Guru
Joined: 12 Jan 2008 Posts: 308
|
Posted: Sun Jul 28, 2024 4:30 pm Post subject: |
|
|
eschwartz wrote: | https://github.com/OpenPrinting/cups-filters/commit/0aad4d5bb6c8bb9d4ad72e93b18582811c8a6681
The filename was changed by upstream -- it is now called pwgtopdf since they decided it is more accurate to call it a pwg converter as it doesn't work with all raster inputs, but only the pwg variety.
Interestingly, it doesn't appear they ever actually mentioned this in the changelog for cups-filters 2.0.0.
If you have a custom printer driver that requires rastertopdf, you can simply edit it to use the new name. |
I have had some success with restarting cupsd. This fixed issues on my Gentoo desktop. I should have done that before posting! Now, when printing from a Linux Mint desktop, I see the following on the server:
[code]
"cfFilterUniversal: Unsupported combination of input and output formats: application/vnd.cups-raster -> application/vnd.cups-pdf"
[code] |
|
Back to top |
|
|
|