Sample Header Ad - 728x90

How can I cause lp to be able to print a jpeg?

0 votes
0 answers
44 views
Lp will not print an image to a printer when the image is stored as a jpeg. If I convert the image using convert image.jpeg image.png and then lp image.png, then lp will print the png to my printer. But, lp image.jpeg fails to queue any print job or show any error. General web reports that lp can print a jpeg, but my Debian 13 basic install won't do it and such has been the case many years of previous installs. I could create a function which converts a jpeg to a png automatically, but I imagine lp uses libraries to convert files for printing. I have no idea how lp performs basic conversion or what toolboxes it uses. What do I need to install to enable lp to directly print jpeg image files? * I am using the cups printing system and systemctl status cups.service says that the service is active and the scheduler is running. * file -bi reports image/jpeg; charset=binary for the images that lp cannot print. * apt-cache policy cups-filters-core-drivers says that the latest trixie/main and sid/main package candidate, version 1.28.17-6 is installed.
Asked by Paul (238 rep)
May 31, 2025, 12:03 AM
Last activity: May 31, 2025, 09:30 PM