Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
pdfmark, annotations, and PDF/X
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jdaw1  
View profile  
 More options May 12 2007, 11:11 am
Newsgroups: comp.lang.postscript
From: jdaw1 <jdawise...@gmail.com>
Date: 12 May 2007 08:11:39 -0700
Local: Sat, May 12 2007 11:11 am
Subject: pdfmark, annotations, and PDF/X
The code below (which puts a clickable link on a page) distills
correctly on both Mac and PC distiller, if the settings are "Standard"
or "Smallest File Size". With settings of any of the PDF/X or PDF/A
variants, it errors "Annotations were found inside the BleedBox,
TrimBox, or ArtBox". Please, how can I prevent this, or test for the
likelihood of the non-distillation?

%!

/pdfmark where {pop} {/globaldict where {pop globaldict} {userdict}
ifelse /pdfmark /cleartomark load put} ifelse

(Test page) mark exch /Label exch /PAGELABEL pdfmark

/TimesNewRomanPS-BoldMT 12 selectfont    72 72 moveto
(www.jdawiseman.com/papers/trivia/glasses.html) dup stringwidth pop /
sw exch def show
mark
        /Rect [72 66   72 sw add 85]
        /Action << /Subtype /URI /URI (http://www.jdawiseman.com/papers/
trivia/glasses.html) >>
        /Border [0 0 0]
        /Subtype /Link /ANN
pdfmark

showpage


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aandi Inston  
View profile  
 More options May 12 2007, 11:35 am
Newsgroups: comp.lang.postscript
From: qu...@dial.pipex.con (Aandi Inston)
Date: Sat, 12 May 2007 15:35:08 GMT
Local: Sat, May 12 2007 11:35 am
Subject: Re: pdfmark, annotations, and PDF/X

jdaw1 <jdawise...@gmail.com> wrote:
>The code below (which puts a clickable link on a page) distills
>correctly on both Mac and PC distiller, if the settings are "Standard"
>or "Smallest File Size". With settings of any of the PDF/X or PDF/A
>variants, it errors "Annotations were found inside the BleedBox,
>TrimBox, or ArtBox". Please, how can I prevent this, or test for the
>likelihood of the non-distillation?

If you want PDF/X compliance your annotations, if you have any, must
be completely outside the BleedBox (or the TrimBox, if there is no
BleedBox, or CropBox, finally MediaBox.

You cannot have clickable links in a PDF/X file; the standard forbids
it.
----------------------------------------
Aandi Inston  
Please support usenet! Post replies and follow-ups, don't e-mail them.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdaw1  
View profile  
 More options May 12 2007, 12:43 pm
Newsgroups: comp.lang.postscript
From: jdaw1 <jdawise...@gmail.com>
Date: 12 May 2007 09:43:16 -0700
Local: Sat, May 12 2007 12:43 pm
Subject: Re: pdfmark, annotations, and PDF/X
Please, how can one test for whether the output is constrained to be
in standard?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdaw1  
View profile  
 More options May 12 2007, 2:59 pm
Newsgroups: comp.lang.postscript
From: jdaw1 <jdawise...@gmail.com>
Date: 12 May 2007 11:59:56 -0700
Local: Sat, May 12 2007 2:59 pm
Subject: Re: pdfmark, annotations, and PDF/X
Or, bonus question, is it possible to instruct the Distiller to ignore
non-compliant features and produce output anyway? Or even just to
produce output, whether or not compliant?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aandi Inston  
View profile  
 More options May 13 2007, 5:20 am
Newsgroups: comp.lang.postscript
From: qu...@dial.pipex.con (Aandi Inston)
Date: Sun, 13 May 2007 09:20:38 GMT
Local: Sun, May 13 2007 5:20 am
Subject: Re: pdfmark, annotations, and PDF/X

jdaw1 <jdawise...@gmail.com> wrote:
>Or, bonus question, is it possible to instruct the Distiller to ignore
>non-compliant features and produce output anyway? Or even just to
>produce output, whether or not compliant?

What would be the purpose of that? If one doesn't care whether a file
is compliant, just don't select any of the compliance options!

You can probably use currentdistillerparams to see if any of the
compliance options have been set. You can't check the job options
name, but you have access to all of the options.
----------------------------------------
Aandi Inston  
Please support usenet! Post replies and follow-ups, don't e-mail them.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdaw1  
View profile  
 More options May 13 2007, 8:16 am
Newsgroups: comp.lang.postscript
From: jdaw1 <jdawise...@gmail.com>
Date: 13 May 2007 05:16:36 -0700
Local: Sun, May 13 2007 8:16 am
Subject: Re: pdfmark, annotations, and PDF/X

> What would be the purpose of that? If one doesn't care whether a file
> is compliant, just don't select any of the compliance options!

Because the code is written by me, but generally distilled by non-
hackers. www.jdawiseman.com/papers/trivia/glasses.html

I'll investigate currentdistillerparams, into which I have never
before peeked. Thank you for the clue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdaw1  
View profile  
 More options May 13 2007, 12:45 pm
Newsgroups: comp.lang.postscript
From: jdaw1 <jdawise...@gmail.com>
Date: 13 May 2007 09:45:53 -0700
Local: Sun, May 13 2007 12:45 pm
Subject: Re: pdfmark, annotations, and PDF/X
Page 51 of partners.adobe.com/public/developer/en/acrobat/sdk/pdf/
pdf_creation_apis_and_specs/DistillerParameters.pdf leads to the
following code. Suggestions and improvements welcomed.

%!

% Returns true if distiller settings require compliant files,
otherwise false
/currentdistillerparams where
{pop currentdistillerparams /CheckCompliance 2 copy known
        {get dup length 0 eq {pop false} {0 get /None ne} ifelse}
        {pop pop false}
ifelse} {false} ifelse

(pstack start) = pstack (pstack end) =


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdaw1  
View profile  
 More options May 14 2007, 7:39 am
Newsgroups: comp.lang.postscript
From: jdaw1 <jdawise...@gmail.com>
Date: 14 May 2007 04:39:04 -0700
Local: Mon, May 14 2007 7:39 am
Subject: Re: pdfmark, annotations, and PDF/X
Marginal improvement, in that CheckCompliance better handled if an
array containing multiple copies of /None.

% If distiller settings require compliant files,
% RequireCompliantOutput true, otherwise returns false
/RequireCompliantOutput  /currentdistillerparams where
{pop currentdistillerparams /CheckCompliance 2 copy known
        {get false exch {/None ne or} forall}
        {pop pop false}
ifelse} {false} ifelse  def  % /RequireCompliantOutput
RequireCompliantOutput
        {(ISO PDF output: no on-page clickable links)}
        {(No PDF standard required: will include on-page clickable links)}
ifelse =


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdaw1  
View profile  
 More options May 14 2007, 9:40 am
Newsgroups: comp.lang.postscript
From: jdaw1 <jdawise...@gmail.com>
Date: 14 May 2007 06:40:20 -0700
Local: Mon, May 14 2007 9:40 am
Subject: Re: pdfmark, annotations, and PDF/X
That didn't work with an older version of Distiller, so, instead:

% If distiller settings require compliant files,
% RequireCompliantOutput true, otherwise returns false
/RequireCompliantOutput  /currentdistillerparams where
{pop currentdistillerparams /CheckCompliance 2 copy known
        {get false exch {/None ne {pop true exit} if} forall}
        {pop dup /PDFX1aCheck 2 copy known {get} {pop pop false} ifelse
        exch /PDFX3Check 2 copy known {get} {pop pop false} ifelse or}
ifelse} {false} ifelse  def  % /RequireCompliantOutput
RequireCompliantOutput
        {(ISO PDF output: no on-page clickable links)}
        {(No PDF standard required: will include on-page clickable links)}
ifelse =  % RequireCompliantOutput


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdaw1  
View profile  
 More options May 14 2007, 5:09 pm
Newsgroups: comp.lang.postscript
From: jdaw1 <jdawise...@gmail.com>
Date: 14 May 2007 14:09:10 -0700
Local: Mon, May 14 2007 5:09 pm
Subject: Re: pdfmark, annotations, and PDF/X
Oooh! But what if CheckCompliance conflicts with PDFX1aCheck or
PDFX3Check? Hmmm:

% If distiller settings require compliant files,
% RequireCompliantOutput true, otherwise returns false
/RequireCompliantOutput  /currentdistillerparams where {
        pop currentdistillerparams dup /CheckCompliance 2 copy known
                {get false exch {/None ne {pop true exit} if} forall} {pop pop
false} ifelse
        exch dup /PDFX1aCheck 2 copy known {get} {pop pop false} ifelse
        exch      /PDFX3Check 2 copy known {get} {pop pop false} ifelse
        or or

} {false} ifelse  def  % RequireCompliantOutput

RequireCompliantOutput
        {(ISO PDF output: no on-page clickable links)}
        {(No PDF standard required: will include on-page clickable links)}
ifelse =  % RequireCompliantOutput

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »