Instead of actually installing the FreeMono.ttf font, I wonder if you could just symlink its name to an existing ttf font. I will test.
[Edit] Yes, that worked. But the font size was larger than normal.
pdq print recovery?
Ok, made a smaller version, ditched bold, oblique etc, just 1 font file..
I think this one belongs in Lupu by default.. or else how do you write an app and get it to print?
Tested pfix=ram and Xdilaog worked, so did command line.
Cheers
I think this one belongs in Lupu by default.. or else how do you write an app and get it to print?
Tested pfix=ram and Xdilaog worked, so did command line.
Cheers
- Attachments
-
- cups-fix-1.4-1-lucid.pet
- (109.73 KiB) Downloaded 267 times
Puppy Linux Blog - contact me for access
It Works
I know this is an old thread but want to say this was very helpful for me and explain my experience to help others in the same situation since i was very dissapointed with this issue.
Im not even running Puppy Linux right now (did it some time ago) but the problem was the same. Instaled a home server running CUPS and configured it so all computers at home could print on my HP LaserJet 1020 and on CUPS-PDF for generating PDFs on the shared zone.
All worked fine for my PCs BUT i couldnt print from the server itself!! Really 'not printing' isnt the right expresion since both printers (LaserJet and VirtualPDF) were throwing blank pages. In the CUPS works page i found that "No usable font available" message. The server is command-line only so, not using any app to print, just the lpr command.
As rcrsn51 pointed, the key is that CUPS looks for the font /usr/share/cups/fonts/FreeMono.ttf. My steps were to install ttf fonts (ttf-freefont) since never needed them in command line and symlinked one of them (instaled in /usr/share/fonts/TTF) to the file CUPS is looking for. Thats all!! All working right.
Many thanks guys!!
Im not even running Puppy Linux right now (did it some time ago) but the problem was the same. Instaled a home server running CUPS and configured it so all computers at home could print on my HP LaserJet 1020 and on CUPS-PDF for generating PDFs on the shared zone.
All worked fine for my PCs BUT i couldnt print from the server itself!! Really 'not printing' isnt the right expresion since both printers (LaserJet and VirtualPDF) were throwing blank pages. In the CUPS works page i found that "No usable font available" message. The server is command-line only so, not using any app to print, just the lpr command.
As rcrsn51 pointed, the key is that CUPS looks for the font /usr/share/cups/fonts/FreeMono.ttf. My steps were to install ttf fonts (ttf-freefont) since never needed them in command line and symlinked one of them (instaled in /usr/share/fonts/TTF) to the file CUPS is looking for. Thats all!! All working right.
Many thanks guys!!