[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



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