ppr-list-digest volume 4, number 35, message 3

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: "Dr Douglas J. Chappell" <d.chappell@mmb.usyd.edu.au>
Date: Fri, 19 Apr 2002 15:25:57 +1000
Subject: Re: PPR: CIDInit

David,

You wrote:
>On Wed, 2002-03-27 at 18:49, Dr Douglas J. Chappell wrote:
>
> > >difficulties printing PDF's from Windows 2000 as well.  For the PDFs that
> > >don't print ppr states that the procset resource CIDINIT is not 
>found, but it
> > >appears to be there when looking at the ps file.  any help would 
>be greatly
> > >appreciated.
> >
> > Something like this?
> > # ppop log sc2-1234
> > :
> > :
> > +Job turned away from printer "sc2p2" for the following reason(s):
> > +Resource "ProcSet CIDInit" not available.
> >
> >
> > We are having similar problems here, however, the procset is not present.
> > Are you sure you have the CIDInit procedure set?  The postscript in the job
> > files I have looked at defines only that CIDInit is needed.
> >
> > %%DocumentNeededResources: procset CIDInit
> > %%IncludeResource: procset CIDInit
>
> > What I'd like to be do is to install these procsets in the cache
> > (/usr/share/ppr/cache/procset) and have ppr add them on the fly. 
>I note that
> > the latest ghostscript seems to have CID font support.
>
>I don't know if I have answered this question yet.
>
>The "%%IncludeResource: procset CIDInit" comment basically asks PPR to
>include the procedure set unless it knows that the printer already has
>it.
>
>I haven't figured out where one gets CIDInit, but I found that our
>printer had the procedure set on its hard disk.  To temporarily fix the
>problem I did this:
>
>$ touch /usr/share/ppr/cache/procset/CIDInit-0-0
>
>That gives PPR an empty file to 'send'.  This keeps PPR happy and since
>the printer has the procedure set already, it doesn't matter that the
>file is empty.

None of our printers seem to have CIDInit. How did you find out about your
printer?  A query?

>In the CVS code, I have made a change that assumes that Level 3 printers
>have CIDInit.  Does anyone know if this is correct?  How does one figure
>out (from the PPD file) if a printer has CIDInit?

I think you can get the CID Support Library Kit from adobe.  The contact
email is csldevsup@adobe.com.  I plan to ask about it myself.
http://partners.adobe.com/asn/developer/type/cidfonts.html#CID

The latest PLRM from Adobe has a large section on CID fonts but it is heavy
going.  It states that CID-keyed fonts are supported through the 
CIDFont and CMap
resources and the composefont operator.  These are all languagelevel 
3 features.
The composefont operator is in systemdict - perhaps a query like this??

%!PS-Adobe-3.0 Query
%%Title: (ComposeFont query)
%%?BeginQuery: *ComposeFont
    /composefont where
          {pop (True)}
          {(False)}
     ifelse
    (") print 6 string cvs print (") = flush
%%?EndQuery: False
%%EOF

Or you could use systemdict/composefont known.
Unfortunately our printers return false:

$ pap -p "Level 7a" < composefont.ps
status: busy; source: EIO 2 (ATALK)
Connected to Level 7a:LaserWriter@Biochemistry.
"False"
Connection closed.
$

Ghostscript, which is languagelevel 3 compliant returns true:

$ gs -q -dNODISPLAY -dBATCH composefont.ps
"True"
$

(The O'reilly site has some free font examples).

As for CIDInit, I downloaded a 30 day demo of Download Mechanic Pro 
(I'm looking for
a tool to diagnose problem print jobs) and it has the procset in the 
accompanying files.
It may be specific for an embedded interpreter called JAWS, however, 
but then it may
be a useful resource for study 
(http://www.creativepro.com/software/home/698.html).
I can't provide it here as I presume it is under the same copyright 
as the demo.


Thanks,
Doug


|-----------------------------------------------|
| Dr Doug Chappell                              |
| Computer Support                              |
| School of Molecular and Microbial Biosciences |
| The University of Sydney, 2006 NSW AUSTRALIA  |
| d.chappell@mmb.usyd.edu.au                    |
|-----------------------------------------------|
| Phone: 61 2 9351 2511 | Fax:   61 2 9351 4726 |
|-----------------------------------------------|