Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fonts: how to map ROM fonts to OS fonts? #37

Open
iam-TJ opened this issue Apr 27, 2023 · 0 comments
Open

Fonts: how to map ROM fonts to OS fonts? #37

iam-TJ opened this issue Apr 27, 2023 · 0 comments

Comments

@iam-TJ
Copy link

iam-TJ commented Apr 27, 2023

Apologies in advance if this is the incorrect project to ask this in.

I've recently had to switch to the foomatic pxlcolor driver for the Samsung CLX6220FX colour laser after the existing Samsung Unified Linux Driver (SULD) using CUPS/PDF could cause the printer to power reset. I eventually deduced it was due to CUPS sending PDF v1.4 but the printer supporting only v1.00.82 (2009).

  1. Because the printer has a large number of internal fonts (both Postscript and PCL) I have been trying to determine how one is supposed to map OS-installed fonts to printer ROM fonts so instead of the driver sending the rasterised OS font image it can simply select the printer ROM font?
  2. A secondary question is: Using the pxlcolor driver the generated PPD still lists standard Postscript fonts but doesn't list the printer's PCL fonts. Is it possible to use the PCL fonts and if so how should they be declared in PPD or elsewhere, and how mapped from OS ?

E.g. when asking the printer to print the font reports (for Postscript, and for PCL) the Postscript list contains those listed in the PPD boilerplate list (plus many more - 4 pages worth - which exaclty matches the specific PPD for CLX6220 ) but not those in the PCL list. That list is:

Courier SWC
Courier SWC Bold
Courier SWC Italic
Courier SWC Italic Bold
Letter Gothic
Letter Gothic Bold
Letter Gothic Italic
Naskh BT
Naskh BT Bold
Koufi BT
Koufi BT Bold
Courier SWA
Courier SWA Bold
Courier SWA Italic
Courier SWA Italic Bold
Dutch801 SWC
Dutch801 Bold
Dutch801 SWC Italic
Dutch SWC Italic Bold
zapfHumst Dm SWC
zapfHumst Dm SWC Bold
zapfHumst Dm SWC
zapfHumst Dm SWC Italic
zapfHumst Dm SWC Italic Bold
...

That's ½ a page of 3½ pages of fonts and the names rarely match. Even where they do - e.g. Letter Gothic - the examples printed are different shaped glyphs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant