Cups 1.3.7 and Sieko SLP450 Label Printers

Scott Hallenbeck 7h33y3 at gmail.com
Mon Jul 11 07:19:48 PDT 2011


> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> > Scott Hallenbeck wrote:
> >> [...]
> >> >
> >> > Ok, turning off the error reporting in the script worked fine.  Only
> >> > issue I have now is that the fonts are not correct, and need to be
> >> > fixed.
> >> >
> >> > Tried and tried to get the 'xpdfrc' file fix that you recommended to
> >> > work,
> >> > but it seems no matter where I put it, it has no effect.  I put it in
> >> > /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> >> > documentation which is apparently incorrect anyway) and it has no
> >> > effect.
> >> >
> >> > I looked at the alternate pdftops script you directed me to, but was
> >> > unsure just what to do with the file, and since it's a live production
> >> > server I am not into experimenting to figure it out.  And since it
> >> > seems, from what I can tell, it would be a global wide change, I wasn't
> >> > sure what other implications it might have.
> >> >
> >> > I feel I am close as the labels do print, but the fonts are not
> >> > correct, so if I can figure that part out, I will have it.
> >> >
> >> > Scott
> >>
> >> As for the fonts, there is nearly nothing what can be done but installing
> >> all the needed fonts, as obviously the needed fonts are not embedded
> >> in the PDFs you print.
> >>
> >> See if you have a utility named pdffonts; if yes, run
> >> pdffonts your_pdf_file
> >> and post the output.
> >> If not, send me a sample PDF.
> >> Maybe I can give you some hints where to get the fonts and how to make
> >> Ghostscript find them.
> >>
> >> Helge
> >>
> >>
> >
> > [root at atl-prodcups03 testprints]# pdffonts label-printest.pdf
> > name                                 type         emb sub uni object ID
> > ------------------------------------ ------------ --- --- --- ---------
> > TimesNewRomanPSMT                    TrueType     no  no  no      13  0
> > TimesNewRomanPS-BoldMT               TrueType     no  no  no      14  0
> > Times-Roman                          Type 1       no  no  no       2  0
> >
> > I was researching this, and thought there was a way to get them in there,
> > but any direction you can provide would be most appreciated! Thanks again,
> > Scott
> If you execute
> gs -dNOPAUSE -sDEVICE=nullpage label-printest.pdf
> Ghostscript will list what fonts it loads as substitutes for the requested fonts.
>
> I suspect your Ghostscript will substitute NimbusRom9L-Regu and
> NimbusRom9L-Medi.
> But I know that TimesNewRoman is only similar to Times-Roman (which is very
> similar to the said Nimbus font), but there are subtle differences with
> respect to the font metrics (and outlines of severa glyphs as well).
>
> As the fonts the names of which end on "MT" are licensed by Monotype, these
> are not free.
>
> But, as TimesNewRoman (and Arial) are common on Windows systems, I suspect
> the PDFs have been generated on Windows systems. Technically, if the TrueType fonts
> do not forbid embedding, you could transfer these font files from a Win box to your
> Unix (Linux?) box, but legally it may be quite another thing.
>
> Helge
>

Thanks again to your instruction and help, I was able to overcome this minor obstacle as well.  Figured out how to map the TimesNewRomanPS-BoldMT to the NimbusRom9L-Medi so it properly prints bold, which really was the only issue.

Thanks again!
Scott







More information about the cups mailing list