[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: PDF with a TOC and Logical Page Numbers



Hum, I don't think I made my problem/question clear.

Let's say the TOC takes up the first five pages of the report and the
report body actually starts on page 6 but it's printed page number is
1.  When I tell Acrobat to go to page 1, I want it to go to the page
printed numbered 1, which is actually page 6 because the TOC takes up 5
pages.  When I was referring to roman numerals in my first post, it was
because Adobe numbers the TOC pages with roman numerals (when I tell
Acrobat to go to page iii, it goes to the third page of the TOC; when I
tell Acrobat to go to page 3, it goes to the page printed page 3).

Again, this is called logical page numbers in Acrobat.  It's a feature you
can turn off and on.  I have it on, but it's not working for the pdf I
created.

Thanks again.

Amy Emge
Programmer
MCIS


>Date: Wed, 09 May 2001 05:09:28 -0700
>From: Stan Quick <stanley.quick@BRIO.COM>
>Subject: Re: PDF with a TOC and Logical Page Numbers
>Sender:
>  "Discussion of SQR,              Brio Technology's database reporting
> language"
>  <SQR-USERS@LIST.IEX.NET>
>To: SQR-USERS@LIST.IEX.NET
>Reply-to: sqr-users@LIST.IEX.NET
>X-Mailer: Internet Mail Service (5.5.2653.19)
>
>You need something like the following:
>
>Begin-Heading 24 For-Tocs=(default)
>  Graphic (21,1,540) Horz-Line 20
>  Alter-Printer Font=4 Point-Size=16    ! [SQR.INI] 4=Arial,proportional
>  Print 'Table of Contents' (15,415,17)
>    Print-Direct printer=html '%%TOC-Title Table of Contents'
>  Alter-Printer Font=4 Point-Size=10
>  let  $roman = roman(#page-count)       ! Added this line to convert page #
>to Roman numerals
>  print $roman (12,300)              ! You may want to change this to a
>different position
>End-Heading
>
>Stan
>
>-----Original Message-----
>From: Amy Emge [mailto:emgeac@MUOHIO.EDU]
>Sent: Tuesday, May 08, 2001 3:19 PM
>To: SQR-USERS@list.iex.net
>Subject: PDF with a TOC and Logical Page Numbers
>
>
>Hello all.  I'm using SQR 6.1.3.
>
>I'm trying to create a .pdf file with a TOC via SQR that utilizes logical
>page numbers.  In other words, if the first five pages of the .pdf are the
>TOC, then in Acrobat, the TOC page numbers appear as i, ii, iii, iv, and v
>while the first page of the report after the TOC appears as page 1.
>
>Make sense?
>
>The .pdf is fine and the TOC is fine.  I just can't get the logical page
>numbers to work.
>
>In Acrobat, I've gone to Preferences and made sure that "logical page
>numbers" is active.
>
>Another programmer in my office created a pdf with a TOC and the logical
>page numbers works (unfortunately, he's out of the office until June).  I
>have the code that he used in his program and there doesn't appear to be
>anything that I'm missing in my code.  I've tried running my code from
>within Brio.Report Builder and from the Unix prompt - no luck.
>
>Is there a command line flag that I'm missing?
>
>All suggestions welcome.
>
>Thank you.
>
>Amy Emge
>Programmer
>Miami University