I have a host-based printer (HP Deskjet D2460) and have some printer language files (pcl codes) that I would like to print out. I saw that in cups there are some filters like rastertopcl, etc. which converts a raster format, for cups that is postscript into pcl... How to do the inverse? If it is not possible, how to convert pcl to ps or pdf? A good little executable or python/perl script (interested in free solutions)
How to print pcl or esc/p code on host-driven printer?
printing;pdf;cups
Recent versions of ghostscript include a pcl interpreter, and can work with the full range of ghostscript output formats including pdf, ps, image formats like Tiff and Jpeg, and all their known printers. You may need to compile from source. I have no Idea if this will work directly with your printer or if additional intermediate steps would be needed. As a worst case, since That printer will support printing photos from sd cards, you can place your images there after converting to a supported format, unplugging the usb cable and printing from the printer screen.