Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: form xobject
Conf: (P-PDF) Developers, Msg: 109456
From: janicebarrows
Date: 4/13/2004 05:20 AM

I'm trying to use a simple form XObject to overlay my text document with a company logo. My text comes out fine but I don't get the form overlayed on my document. Please help! Below is my code (minus the stream data because it would be too big).

%PDF-1.1%
1 0 obj
[/PDF /Text /ImageB]
endobj
2 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F1
/BaseFont /Courier
/Encoding /WinAnsiEncoding
>>
endobj
3 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F2
/BaseFont /Courier-Bold
/Encoding /WinAnsiEncoding
>>
endobj
4 0 obj
<<
/Type /Xobject
/Subtype /Form
/FormType 1
/Name /Form0125
/BBox [0 0 612 792]
/Matrix[1 0 0 1 0 0]
/Resources << /ProcSet 1 0 R >>
/Filter /CCITTFaxDecode
/Width 1692 /Height 2190
/BitsPercomponent 1
/Length 79934
/DecodeParms << /K -1
/Columns 1692 /Rows 2190
>>
>>
stream
   ` X0 ,
endstream
endobj
5 0 obj
<<
/Type /Page
/Parent 17 0 R
/Resources << /Font << /F1 2 0 R /F2 3 0 R >> /ProcSet 1 0 R
/XObject << /Form0125 4 0 R >>
>>
/MediaBox[0 0 612 792]
/Contents 6 0 R
>>
endobj
6 0 obj
<< /Length 7 0 R >>
stream
BT
/F1 6 Tf
27 765 Td ( $ADHOCPHNL00000002FN00000003FN00000005PY$ $FAXEMADCDF$) Tj
0 -9 Td (RUN DATE
ET
/Form0125 Do
endstream
endobj
7 0 obj
4385
endobj
8 0 obj
<<
/Parent 17 0 R
/Title (Page 1)
/Next 9 0 R/Dest [5 0 R /XYZ 0 792 0]
>>
endobj
9 0 obj
<<
/Type /Page
/Parent 17 0 R
/Resources << /Font << /F1 2 0 R /F2 3 0 R >> /ProcSet 1 0 R
/XObject << /Form0125 4 0 R >>
>>
/MediaBox[0 0 612 792]
/Contents 10 0 R
>>
endobj
10 0 obj
<< /Length 11 0 R >>
stream
BT
/F1 6 Tf
27 765 Td ( $ADHOCPHNL00000002FN00000003FN00000005PY$ $FAXEMADCDF$) Tj
0 -9 Td (RUN DATE
ET
/Form0125 Do
endstream
endobj
11 0 obj
4362
endobj
12 0 obj
<<
/Parent 17 0 R
/Title (Page 2)
/Prev 5 0 R
/Next 13 0 R/Dest [9 0 R /XYZ 0 792 0]
>>
endobj
13 0 obj
<<
/Type /Page
/Parent 17 0 R
/Resources << /Font << /F1 2 0 R /F2 3 0 R >> /ProcSet 1 0 R
/XObject << /Form0125 4 0 R >>
>>
/MediaBox[0 0 612 792]
/Contents 14 0 R
>>
endobj
14 0 obj
<< /Length 15 0 R >>
stream
BT
/F1 6 Tf
27 765 Td ( $ADHOCPHNL00000002FN00000003FN00000005PY$ $FAXEMADCDF$) Tj
0 -9 Td (RUN DATE
ET
/Form0125 Do
endstream
endobj
15 0 obj
2232
endobj
16 0 obj
<<
/Parent 17 0 R
/Title (Page 3)
/Prev 9 0 R
/Dest [13 0 R /XYZ 0 792 0]
>>
endobj
17 0 obj
<<
/Type /Pages
/Count 3
/Kids [
5 0 R
9 0 R
13 0 R
]
>>
endobj
18 0 obj
<<
/Type /Catalog
/Pages 17 0 R
/Outlines 19 0 R
/PageMode /UseOutlines
>>
endobj
19 0 obj
<<
/Type /Outlines
/Count 3
/First 5 0 R
/Last 13 0 R
>>
endobj
20 0 obj
<<
/Creator (Faxcom for AS/400)
/CreationDate (D: 04122004 T: 133237)/Title (3 page text)
/Producer (CVTSPLPDF)
/Author (JANICE)
>>
endobj
xref 0 21
0000000000 65535 f
0000000015 00000 n
0000000054 00000 n
0000000168 00000 n
0000000287 00000 n
0000080543 00000 n
0000080738 00000 n
0000085180 00000 n
0000085203 00000 n
0000085301 00000 n
0000085497 00000 n
0000089918 00000 n
0000089942 00000 n
0000090055 00000 n
0000090252 00000 n
0000092543 00000 n
0000092567 00000 n
0000092669 00000 n
0000092753 00000 n
0000092852 00000 n
0000092933 00000 n
trailer
<<
/Size 21
/Root 18 0 R
/Info 20 0 R
>>
startxref
93089
%%EOF



PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.