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: "Thomas E. Knowles" <tek@CS.Princeton.EDU> Date: Tue, 19 Oct 1999 09:28:10 -0400 Subject: PPR: DSC parsing problem? I have the following file (middle stuff omitted): %!PS-Adobe-3.0 %%Title: (rn7x000t) %%Version: 1 1 %%Creator: (FrameMaker 5.5.6.) %%CreationDate: (D:19991004125326) %%DocumentData: Clean7Bit %%BoundingBox: 0 0 612 792 %%Pages: 70 %%DocumentProcessColors: (atend) %%DocumentNeededResources: %%+ font: (atend) %%DocumentSuppliedResources: %%+ procset (Adobe Acrobat - PDF operators) 1.2 0 %%+ procset (Adobe Acrobat - type operators) 1.2 0 %%EndComments %%BeginDefaults %%EndDefaults %%BeginProlog %%EndProlog ... ... %%Trailer %%DocumentProcessColors: Cyan Magenta Yellow Black %%DocumentNeededResources: %%+ font Helvetica-Bold %%+ font Times-Roman %%+ font Courier %%+ font Times-Italic %%+ font Times-Bold %%+ font Helvetica %%+ font Courier-Bold %%EOF PPR won't print this file because in the %%DocumentNeededResources: line, it has a font (atend) argument. It seems to be having a problem parsing the fact that font (atend) means look for the fonts at the end, since (atend) is usually used right after %%DocumentNeededResources:. Am I right? I've looked over the DSC spec and I'm not sure if you can specify (atend) for a singular resource. Here are the relevant lines from lprsrv when I try to print this: WARNING: Ignoring "%%DocumentNeededResources:" in trailer because no "%%Document NeededResources: (atend)" in header WARNING: Ignoring "%%DocumentNeededResources:" in trailer because no "%%Document NeededResources: (atend)" in header WARNING: Ignoring "%%DocumentNeededResources:" in trailer because no "%%Document NeededResources: (atend)" in header WARNING: Ignoring "%%DocumentNeededResources:" in trailer because no "%%Document NeededResources: (atend)" in header WARNING: Ignoring "%%DocumentNeededResources:" in trailer because no "%%Document NeededResources: (atend)" in header WARNING: Ignoring "%%DocumentNeededResources:" in trailer because no "%%Document NeededResources: (atend)" in header WARNING: Ignoring "%%DocumentNeededResources:" in trailer because no "%%Document NeededResources: (atend)" in header WARNING: resource "font: atend" declared Needed but no %%Include Another interesting part of this is that the file in question is generated by Acrobat 4.0 from the PDF file apparently generated by FrameMaker 5.5.6. If I use Acrobat 3.02 to print the same PDF file, it works, with the postscript looking like this: %!PS-Adobe-3.0 %%Title: (rn7x000t) %%Version: 1 1 %%Creator: (FrameMaker 5.5.6.) %%CreationDate: (D:19991004125326) %%DocumentData: Clean7Bit %%BoundingBox: 0 0 612 792 %%Pages: 70 %%DocumentProcessColors: (atend) %%DocumentSuppliedResources: %%+ font Helvetica %%+ font Times-Italic %%+ font Times-Bold %%+ font Courier %%+ font Helvetica-Bold %%+ font Courier-Bold %%+ font Times-Roman %%+ procset (Adobe Acrobat - PDF operators) 1.2 0 %%+ procset (Adobe Acrobat - type operators) 1.2 0 %%EndComments %%BeginDefaults %%EndDefaults %%BeginProlog %%EndProlog ... ... What to do about this? Thom Knowles tek@CS.Princeton.EDU