Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: brunok on January 11, 2018, 01:03:44 PM
-
Hello,
I've implemented a boot environment via PXE and it's working! 8)
Now, I came up with another problem: Install local printer and share on the network. :(
Is it mandatory to use CUPS?
I was able to install Zebra USB printer, but how do I share with the network?
For example, from an Windows machine, I need to print to the Zebra printer that is installed on a ThinClient via USB. How to make?
-
I was able to install through CUPS.
Zebra TPL 2844 with EPL2 driver from cups.
I can print from the cups management page, but i can't print through the network on another machine.
This error appears (On the CUPS page: localhost:631/printers/XXXX):
stopped
"Not usable font available"
In the CUPS log:
No viable font found
Ignored bad font "FreeMono"
No usable font available
Someone with CUPS knowledge who has been through this?
-
Which tinycore version and which architecture?
Is the ghostscript extension loaded?
-
TC 8.2.1 x86
Ghostscript are loaded.
-
What happens if you load a font extension, for example dejavu-fonts-ttf?
-
Hmm - I see the problem with x86, but not with x86_64.
I did see the problem with piCore, but I believe I fixed it, I just can't remember how :(
-
loading dejavu-fonts-ttf does indeed make things work for me with Core-8.2.1, but is not required for things to work in CorePure-8.2.1, which is odd.
Note that I tested with cups connected to a network printer and printed a text file from the same machine
-
Hi Juanito
I did see the problem with piCore, but I believe I fixed it, I just can't remember how
A comment in the dejavu-fonts-ttf.tcz.info file states:
... and calling fc-cache from startup script.
Maybe related?
-
I don't believe the problem is with fontconfig per se - there is a startup script invoking fc-cache in the fontconfig extensions in x86, x86_64 and armv7.
I don't really see why loading dejavu-fonts-ttf would fix the problem in x86 when luxisr ttf fonts are included in the Xlibs extension anyway and dejavu-fonts-ttf are not required in X86_64.
There is a circular dependency between freetype and harfbuzz in X86_64 that is not present in x86 to avoid bloat, but I don't see how this would affect things.
..and I also see that the error: W [16/Jan/2018:17:34:04 +0000] [Job 1] Ignored bad font "FreeMono"
E [16/Jan/2018:17:34:04 +0000] [Job 1] No usable font available
..occurs with x86 and Xvesa, but not with x86 and Xorg-7.7...
Edit: with Xvesa and Xorg-fonts, cups also works
-
Xorg-fonts added as a dep to the cups-filters extension