Hi,
We are using the following code to create a PDF.
-------------------------------------------------------------------
SET HTMLARCHIVE=ON
COMPOUND LAYOUT &R280HOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.25^0.25^0.25^0.5', MERGE=OFF, ORIENTATION=LANDSCAPE, PAGESIZE=Letter, $
PAGELAYOUT=ALL, NAME='Page Master', $
OBJECT=STRING, NAME='text1', TEXT='Page
of
', POSITION=(8.958 8.125), MARKUP=ON, WRAP=ON, DIMENSION=(1.667 0.208), font='ARIAL', color=RGB(0 0 0), size=8, METADATA='FONT-SIZE: 8pt; Z-INDEX: 100; LEFT: 8.958in; WIDTH: 1.667in; FONT-FAMILY: Arial; POSITION: absolute; TOP: 8.125in; HEIGHT: 0.208in', $
COMPONENT='DfltCmpt1', POSITION=(0 0), DIMENSION=(0 0), $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.25, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.25,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.249 0.250), DIMENSION=(* *), METADATA='Z-INDEX: 100; LEFT: 0.249in; OVERFLOW: auto; WIDTH: 10.475in; POSITION: absolute; TOP: 0.25in; HEIGHT: 7.495in', $
PAGELAYOUT=2, NAME='Page layout 3', text='Page layout 3', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.25, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.25,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.249 0.250), DIMENSION=(* *), METADATA='Z-INDEX: 101; LEFT: 0.249in; OVERFLOW: auto; WIDTH: 10.475in; POSITION: absolute; TOP: 0.25in; HEIGHT: 7.495in', $
PAGELAYOUT=3, NAME='Page layout 4', text='Page layout 4', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.25, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.25,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report3', TEXT='report2', TOC-LEVEL=2, POSITION=(0.249 0.250), DIMENSION=(* *), METADATA='Z-INDEX: 102; LEFT: 0.249in; OVERFLOW: auto; WIDTH: 10.475in; POSITION: absolute; TOP: 0.25in; HEIGHT: 7.495in', $
PAGELAYOUT=4, NAME='Page layout 5', text='Page layout 5', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.25, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.25,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report4', TEXT='report2', TOC-LEVEL=2, POSITION=(0.249 0.250), DIMENSION=(* *), METADATA='Z-INDEX: 103; LEFT: 0.249in; OVERFLOW: auto; WIDTH: 10.475in; POSITION: absolute; TOP: 0.25in; HEIGHT: 7.495in', $
PAGELAYOUT=5, NAME='Page layout 6', text='Page layout 6', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.25, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.25,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report5', TEXT='report2', TOC-LEVEL=2, POSITION=(0.249 0.250), DIMENSION=(* *), METADATA='Z-INDEX: 104; LEFT: 0.249in; OVERFLOW: auto; WIDTH: 10.475in; POSITION: absolute; TOP: 0.25in; HEIGHT: 7.495in', $
PAGELAYOUT=6, NAME='Page layout 7', text='Page layout 7', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.25, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.25,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report6', TEXT='report2', TOC-LEVEL=2, POSITION=(0.249 0.250), DIMENSION=(* *), METADATA='Z-INDEX: 105; LEFT: 0.249in; OVERFLOW: auto; WIDTH: 10.475in; POSITION: absolute; TOP: 0.25in; HEIGHT: 7.495in', $
PAGELAYOUT=7, NAME='Page layout 8', text='Page layout 8', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.25, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.25,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report7', TEXT='report2', TOC-LEVEL=2, POSITION=(0.249 0.250), DIMENSION=(* *), METADATA='Z-INDEX: 106; LEFT: 0.249in; OVERFLOW: auto; WIDTH: 10.475in; POSITION: absolute; TOP: 0.25in; HEIGHT: 7.495in', $
END
SET COMPONENT='DfltCmpt1'
TABLE FILE SYSCOLUM
" "
SUM TBNAME NOPRINT
IF READLIMIT EQ 1
ON TABLE SET PREVIEW ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE ARPR281
SET COMPONENT='report2'
-*component_type report
-INCLUDE ARPR282
SET COMPONENT='report3'
-*component_type report
-INCLUDE ARPR283
SET COMPONENT='report4'
-*component_type report
-INCLUDE ARPR284
SET COMPONENT='report5'
-*component_type report
-INCLUDE ARPR285
SET COMPONENT='report6'
-*component_type report
-INCLUDE ARPR286
SET COMPONENT='report7'
-*component_type report
-INCLUDE ARPR287
COMPOUND END
-------------------------------------------------------------------
We are navigating to a different report after creating the PDF on a drive, But I am getting this text in the next screen
-------------------------------------------------------------------------
MIME-Version: 1.0 Content-Type: multipart/related; boundary="====Boundary====" --====Boundary==== Content-Location: file:///C:/MAINR210.HTM Content-Transfer-Encoding: 8bit Content-Type: text/html; charset="windows-1252"
-------------------------------------------------------------------------
this text just appears on the report, very annoying. Any idea what we are doing wrong?
regards,
gajee
This message has been edited. Last edited by: Kerry , October 14, 2010 04:28 PM webfocus 7.6.4 Windows, HTML, PDF