SUMMARY: AcroRead & NewSPrint

From: Stefan Jon Silverman (sjs@sjsinc.com)
Date: Mon Feb 01 1999 - 19:39:56 CST


Folks:

        Original query below...

        Especial thanks to Kevin Sheehan (the "Consulting Poster Child")
who I had not corresponded with in many years, who knows a great deal
about the innards of postcript, pdf, and adobe compliant interpreters
versus what one gets with NewSPrint...

        Turns out (after many tests and Kevin'a analysis of an acroread
output postscript file) that definitions for certain Japanese fonts are
automatically included in the output stream. NewSPrint barfs big time
on them and errors out.

        Patch 101656-11 which is supposed to fix bugid:

1196538 Not able to print postscript file generated by Adobe Acrobat

        Does not work -- Sun should reopen this bug...

        What does work is a little awk filter that I cobbled together
to extract those font definitions. I then installed it in NewSPrint
using np_add_filter and made it part of the default job stream by
modifying the .param file for my SparcPrinter...

        And to the e-mailer (who shall remain anonymous) who said that
they tried for a long time, couldn't get it to work, and that I should
give up: Kevin and I got it to work...just took some effort...

        So once again, THANX KEVIN!!!!!!!!!!!!!!

    Regards,

    b c++'ing u,

    %-) sjs

PS: I am my own employer, therefore: "all opinions are twice spoken for;"
    and they do, in fact, scare the hell out of said employer!!!

-------------------------------------------------------------------------------
Stefan Jon Silverman - President SJS Associates, N.A., Inc.
                                                                     Suite 15-B
Inter-/Intra-Net Architecture, Implementation & Security 698 West End Avenue
                                                             New York, NY 10025
E-mail: sjs@sjsinc.com Phone: 212 662 9450
Website: http://www.sjsinc.com Fax: 212 662 9461
Text-Page: sjs-page@sjsinc.com Cell: 917 929 1668
-------------------------------------------------------------------------------
                  Weebles wobble, but they don't fall down!!!
-------------------------------------------------------------------------------

----- Begin Included Message -----

Date: Sat, 30 Jan 1999 12:17:31 -0500 (EST)
From: Stefan Jon Silverman <sjs@sjsinc.com>
Subject: AcroRead & NewSPrint

Folks:

        I've come to this well for an answer to this question before
without any joy, so since it's been about a year I thought I would
try again...

        Config: Ultra 1, Solaris 2.5.1 (fully patched including
contract support OW-CDE and NewSPrint), NewSPrint 2.5 Rev B, and
Acroread 3.0.2.

        Problem: Any printing from Acroread core dumps the lp
sub-system. I can get it to save a postscript file which I can
display in either ImageView or GhostView but even printing from
one of them dumps core in lp.

        I have been all over the Sun and Adobe sites looking for
info to no avail.

        Before I found and added patch 101656-11 it used to just
error out. After the patch it now coredumps.

        The main problem seems to involve fonts, or rather not
finding a particular one if I am understanding the error messages
correctly. They are:

msg: (Error: Message: process(0xfc1358, 'Unnamed process', runnable) Error: /typ
echeck Command: 'status' Ostack: false /_pdfSubSetFontByStyleDict dictionary[0/4
] /Serif (Ryumin-Light-Adobe-Japan1-2) (fonts/Ryumin-Light-Adobe-Japan1-2) Estac
k: at: '.array_exec_cont' {/typecheck *'standarderroraction'} at: '.array_ex
ec_cont' {... _pdfFontStatusString 'exch' 0 'exch' 'getinterval' *'status' array
{5} array{1} 'ifelse'} at: '.array_exec_cont' {_pdf_Adobe-Japan1-2 _pdfConcatN
ames dup *_pdfFontStatus array{1} array{2} ifelse} at: '.forall_dict_cont' dic
tionary[3/4] {_pdf_Adobe-Japan1-2 _pdfConcatNames dup _pdfFontStatus {def} {arra
y{13} loop} ifelse} ptr0x003d3f48 at: '.psparse_token' file(?,W,R) ptr0x000962
28 at: '.packedarray_exec_cont' {... 'save' 'put' 'clear' currexecfile 'cvx' *
'exec' 'shutdownserver'} at: '.stopped_cont' at: '.packedarray_exec_cont' {p
ackedarray{21} *'stopped' packedarray{5} 'if' serverdict /save-state 'known' pac
kedarray{4} 'if'} at: '.end_exec' Dstack: dictionary[0/4] dictionary[19/65
] dictionary[74/85] dictionary[55/75] dictionary[12/200] package(NeWSpri
nt) dictionary[366/366] false /_pdfSubSetFontByStyleDict dictionary[0/4] /Seri
f (Ryumin-Light-Adobe-Japan1-2) (fonts/Ryumin-Light-Adobe-Japan1-2) ]%%)

        Anybody have any ideas. It would be nice to print Acrobat pdf
files.

        Down the road I will be upgrading to 2.6 or 7 but this involves
replacing NewSPrint with ghosstscript as the Sun Laser Print driver because
2.5.1 is the last supported platform for this printer and software.

        TIA...and will summerize if any useful info comes my way this
time...

    Regards,

    b c++'ing u,

    %-) sjs

PS: I am my own employer, therefore: "all opinions are twice spoken for;"
    and they do, in fact, scare the hell out of said employer!!!

-------------------------------------------------------------------------------
Stefan Jon Silverman - President SJS Associates, N.A., Inc.
                                                                     Suite 15-B
Inter-/Intra-Net Architecture, Implementation & Security 698 West End Avenue
                                                             New York, NY 10025
E-mail: sjs@sjsinc.com Phone: 212 662 9450
Website: http://www.sjsinc.com Fax: 212 662 9461
Text-Page: sjs-page@sjsinc.com Cell: 917 929 1668
-------------------------------------------------------------------------------
                  Weebles wobble, but they don't fall down!!!
-------------------------------------------------------------------------------

----- End Included Message -----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:14 CDT