Index » PageStream Support » Linux » Printing w/font to PS fails, but to pdf doesn't
Sign in to add a comment. Pages: 1
2006-05-01 01:22:35 CT #1
Gary Lee Smith
From: United States
Registered: 2006-02-15
Posts: 59

I have an 8 page, all text, grayscale document, double column, but not all
columns are connected. I tried printing to an HP 3800 Color Laser (PS 3,
288mb memory) using PageStream 5.0.2.12Pro (after printing failed in 3.1Pro
also).
I am using an Athlon 64 with 1gb ram, Suse 10.0 64, under KDE. Evince shows
the correct 8 pages, but they are all blank. GhostScript and GV both showed
page 2 as blank.
------
KGhostView returns error message when loading and again when viewing page two:
Error: /undefined
in --get--

Operand stack:
--nostringval-- --nostringval-- --nostringval-- --nostringval--
--dict:14/15(ro)(L)-- 73 space
--dict:1/358(ro)(L)-- space
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval--
2 %stopped_push --nostringval-- --nostringval-- --nostringval--
false 1 %stopped_push 1 3 %oparray_pop
1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2
--nostringval-- --nostringval-- --nostringv
al-- 2 %stopped_push --nostringval-- %finish_show --nostringval--
--nostringval-- 9 4 4 --nostringval-- (g
s_show_enum) %op_show_continue --nostringval--
Dictionary stack:
--dict:1138/3371(ro)(G)-- --dict:0/20(G)-- --dict:83
/200(L)-- --dict:202/302(L)-- --dict:14/15(ro)(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript
8.15.0
:
Unrecoverable error, exit code 1
------
I examined the pgs file and page 2. I turned on non-printing characters and
saw nothing out of the ordinary. I checked the font for most of page 2 and
about a paragraph of page 1. It was CG Times Italic. I changed this font to
Times New Roman Regular Italic and the file printed fine. I was able to
print the pdf file with CG Times Italic. With CG Times Italic I had changed
the "font unload" from "Document" to "Page" and still could not get the ps
file to print.
Is this something predictable? What characteristics would I look for to
predict failure, if known?
--
No Jesus, No life. Know Jesus, Know life!  The beginning of Wisdom is
 the Fear of the Lord. The wages of sin is death, but the gift of God is
 eternal life through Jesus Christ our Lord!http://Quest4Life.net/glsmith/
http://MSGen.net/
http://Quest4Life.net/http://JustForSomeone.com/

2006-05-01 09:09:58 CT #2
Deron Kazmaier
From: United States
Registered: 2006-01-29
Posts: 4639


>I have an 8 page, all text, grayscale document, double column, but not all
>columns are connected. I tried printing to an HP 3800 Color Laser (PS 3,
>288mb memory) using PageStream 5.0.2.12Pro (after printing failed in 3.1Pro
>also).
>I am using an Athlon 64 with 1gb ram, Suse 10.0 64, under KDE. Evince shows
>the correct 8 pages, but they are all blank. GhostScript and GV both showed
>page 2 as blank.
>------
>KGhostView returns error message when loading and again when viewing page two:
>Error: /undefined
> in --get--
>
>Operand stack:
> --nostringval-- --nostringval-- --nostringval-- --nostringval--
>--dict:14/15(ro)(L)-- 73 space
>--dict:1/358(ro)(L)-- space
>Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval--
>--nostringval--
> 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
>false 1 %stopped_push 1 3 %oparray_pop
>1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop
>.runexec2
>--nostringval-- --nostringval-- --nostringv
>al-- 2 %stopped_push --nostringval-- %finish_show --nostringval--
>--nostringval-- 9 4 4 --nostringval-- (g
>s_show_enum) %op_show_continue --nostringval--
>Dictionary stack:
> --dict:1138/3371(ro)(G)-- --dict:0/20(G)-- --dict:83
>/200(L)-- --dict:202/302(L)-- --dict:14/15(ro)(L)--
>Current allocation mode is local
>Last OS error: 2
>ESP Ghostscript
>8.15.0
>:
>Unrecoverable error, exit code 1
>------
>I examined the pgs file and page 2. I turned on non-printing characters and
>saw nothing out of the ordinary. I checked the font for most of page 2 and
>about a paragraph of page 1. It was CG Times Italic. I changed this font to
>Times New Roman Regular Italic and the file printed fine.

Well, my conclusion would be that this font is bad. Can you try just a
simple page with a few words in this font? If that fails, can you try it
with other programs to see if it is something that can be worked around in
an application?

>I was able to
>print the pdf file with CG Times Italic.

With pre 5.0.3.1, the font itself would not be embedded, so it is no
surprise it would work. If it works under 5.0.3.1, then the question is
what kind of font is it?

>With CG Times Italic I had changed
>the "font unload" from "Document" to "Page" and still could not get the ps
>file to print.
>Is this something predictable? What characteristics would I look for to
>predict failure, if known?

How about: If you use a bad font, it won't print Wink

>-- Gary Lee Smith


Deron Kazmaier - support@pagestream.org
Grasshopper LLC Publishing -http://www.pagestream.org
PageStream
DTP for Amiga, Linux, Macintosh, and Windows


2006-05-01 22:58:33 CT #3
Gary Lee Smith
From: United States
Registered: 2006-02-15
Posts: 59

On Mon May 1 2006 9:09 am, PageStream Support wrote:
> Well, my conclusion would be that this font is bad. Can you try just a
> simple page with a few words in this font? If that fails, can you try it
> with other programs to see if it is something that can be worked around in
> an application?

I'll do some more checking, but there are a couple of arguments--though not
conclusive--that the font itself is not bad. 1) from 5.0.3.1 it printed fine
in pdf 2) page one had most of a paragraph in that font, which showed no
problem in GV, GhostScript or KGhostView, 3) KGhostView even showed--along
with an error message--page 2, but no error message for page 1.
It would be nice for PgS to indicate what type font a font is.
OpenOffice.org Writer shows CGTimes with an "A" meaning ?Adobe?
Then I located a CGTimes TrueType file:
/usr/local/share/fonts/truetype/win/cgtr46x.ttf
Would the PS file croak while the pdf file from the same PgS file do okay?
I do not know where PgS is picking up the font, or what type it is, or how to
find out, since it seems both are available.

--
No Jesus, No life. Know Jesus, Know life!  The beginning of Wisdom is
 the Fear of the Lord. The wages of sin is death, but the gift of God is
 eternal life through Jesus Christ our Lord!http://Quest4Life.net/glsmith/
http://MSGen.net/
http://Quest4Life.net/http://JustForSomeone.com/

2006-05-02 01:32:15 CT #4
Gary Lee Smith
From: United States
Registered: 2006-02-15
Posts: 59

On Mon May 1 2006 9:09 am, PageStream Support wrote:
> Well, my conclusion would be that this font is bad. Can you try just a
> simple page with a few words in this font? If that fails, can you try it
> with other programs to see if it is something that can be worked around in
> an application?
Follow up: Font works in several other programs and prints fine. Tested in
several word processing programs--all printed fine. I tested several
other .ttf fonts with (UnicodeBmp) encoding, which worked in PgS, but CG
Times and CG Omega both load into printer and return to Ready without
printing, when used with PgS. I used FontForge to "look" at the fonts and
came to the conclusion that the CG fonts perhaps have a smaller number of
entries than the other fonts! FontForge seems to have no problem with either
CG font, but I am certainly no expert. I guess for now I will just avoid the
2 CG fonts.....
Thanks for the reply, anyway.
--
No Jesus, No life. Know Jesus, Know life!  The beginning of Wisdom is
 the Fear of the Lord. The wages of sin is death, but the gift of God is
 eternal life through Jesus Christ our Lord!http://Quest4Life.net/glsmith/
http://MSGen.net/
http://Quest4Life.net/http://JustForSomeone.com/

2006-05-02 05:52:13 CT #5
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

Do you have any idea where you got those fonts? If those are Compugraphic (CG)
but in TTF format they are probably fonts that HP shipped with their
printers. That would account for them being "partial" as, if memory serves,
they would have had only a latin-1 encoding. TTF encompasses far more
characters and most professional fonts will have rather more than that
limited subset.

By their names they are the Compugraphic equivalent of Times New Roman and
(perhaps) Optima. Although the shape of the glyphs or spacing may vary
(extremely) slightly you can use Times New Roman as a replacement for the CG
Times. I'm not familiar with Omega and a quick search didn't find much, but
it can likely be substituted as well.

Given the number of equivalent fonts in existance the main reason to use CG
Times or CG Omega would be to avoid having to download the fonts to the
printer.

As to PageStream not handling the fonts... I have several fonts on my system,
most if not all provided with the SuSE distribution, that work fine with
every application other than PageStream. The problems vary from not being
displayed to causing hangs when printing to crashing the printer (but only
when printed from PageStream).

Is it annoying? Certainly. Is it a problem? If you are trying to print a font
catalog it is.

I recommend filing a bug report athttp://bugzilla.pagestream.org and
providing the fonts in question for analysis.

Because there are other development considerations it may not get resolved
right away, but by having a filed bug report it is something that can readily
be referred to whenever he goes bug hunting.

Tim Doty

On Tuesday 02 May 2006 01:32 am, Gary Lee Smith wrote:
> On Mon May 1 2006 9:09 am, PageStream Support wrote:
> > Well, my conclusion would be that this font is bad. Can you try just a
> > simple page with a few words in this font? If that fails, can you try it
> > with other programs to see if it is something that can be worked around
> > in an application?
>
> Follow up: Font works in several other programs and prints fine. Tested
> in several word processing programs--all printed fine. I tested several
> other .ttf fonts with (UnicodeBmp) encoding, which worked in PgS, but CG
> Times and CG Omega both load into printer and return to Ready without
> printing, when used with PgS. I used FontForge to "look" at the fonts and
> came to the conclusion that the CG fonts perhaps have a smaller number of
> entries than the other fonts! FontForge seems to have no problem with
> either CG font, but I am certainly no expert. I guess for now I will just
> avoid the 2 CG fonts.....
> Thanks for the reply, anyway.

2006-05-02 11:50:37 CT #6
Deron Kazmaier
From: United States
Registered: 2006-01-29
Posts: 4639

Well, you are welcome to send them to me at support@pagestream.org. I can't
guarantee what I might find. It does sound like perhaps the reencoding is
failing then.

Deron

>On Mon May 1 2006 9:09 am, PageStream Support wrote:
> > Well, my conclusion would be that this font is bad. Can you try just a
> > simple page with a few words in this font? If that fails, can you try it
> > with other programs to see if it is something that can be worked around in
> > an application?
>Follow up: Font works in several other programs and prints fine. Tested in
>several word processing programs--all printed fine. I tested several
>other .ttf fonts with (UnicodeBmp) encoding, which worked in PgS, but CG
>Times and CG Omega both load into printer and return to Ready without
>printing, when used with PgS. I used FontForge to "look" at the fonts and
>came to the conclusion that the CG fonts perhaps have a smaller number of
>entries than the other fonts! FontForge seems to have no problem with either
>CG font, but I am certainly no expert. I guess for now I will just avoid the
>2 CG fonts.....
>Thanks for the reply, anyway.
>--
>No Jesus, No life. Know Jesus, Know life! The beginning of Wisdom is
> the Fear of the Lord. The wages of sin is death, but the gift of God is
> eternal life through Jesus Christ our Lord!http://Quest4Life.net/glsmith/
>http://MSGen.net/
http://Quest4Life.net/http://JustForSomeone.com/


Deron Kazmaier - support@pagestream.org
Grasshopper LLC Publishing -http://www.pagestream.org
PageStream
DTP for Amiga, Linux, Macintosh, and Windows


Sign in to add a comment. Pages: 1
Index » PageStream Support » Linux » Printing w/font to PS fails, but to pdf doesn't

This topic is closed due to inactivity.