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.servicesays that the service isactiveand thescheduler is running. file -bireportsimage/jpeg; charset=binaryfor the images thatlpcannot print.apt-cache policy cups-filters-core-driverssays that the latest trixie/main and sid/main package candidate, version1.28.17-6is installed.
lpcommand come from? Are you using CUPS (in which case the JPEG image conversion lives in thecups-filters-core-driverspackage) or some other printing system, like LPRng? Willfile -i image.jpegactually report the file type asimage/jpeg?