how can i use a blank graphical pdf file in my pdf file

Project:PDF Include project
Component:Code
Category:feature request
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi,

Can anybody please let me know how to read PDF file using 4GL.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tamhas's picture

#1

What are you expecting to read? A binary string? Words?


#2

Hi,

I need to read the text in the PDF file


#3

Title:Reading PDF File» How use to pdf_set_TextRed
Priority:normal» critical

Hi.
It would want to know as the instruction is used pdf_set_TextRed

I need that a paragraph appears just but gives an error me of parameters

I am placing it thus:
RUN pdf_set_TextRed IN h_PDFinc
("Spdf",
"Helloooo",
10,
20,
"left",
OUTPUT CurrentY).

Thanks


#4

HI,

use it like RUN pdf_set_TextRed(spdf,1.0).

it accept only 2 parameters,

use the text:

RUN pdf_set_TextRed(spdf,1.0).
RUN pdf_text_at ("Spdf", "HELLOOOOO",1).
RUN pdf_set_TextRed(spdf,.0).


#5

Title:How use to pdf_set_TextRed» how can i use a blank graphical pdf file in my pdf file

HI, all,

can anybody help me, i am using a graphical pdf form for data overlaying. pdf is generating but it blank. i need to access graphical images also.

please help me anybody,

my code is :

{pdf_inc.i "NOT SUPER"}

RUN pdf_open_PDF IN h_PDFinc ("Spdf","/tmp/agencybill.pdf","Inv"). /* Open Template PDF*/
RUN pdf_new IN h_PDFinc ("Spdf","/tmp/test.pdf").

RUN pdf_new_page IN h_PDFinc ("Spdf").
RUN pdf_use_PDF_page IN h_PDFinc ("Spdf","Inv",1). /* Use Page 1 from Template */

RUN pdf_fill_text IN h_PDFinc ("Spdf", "pdfMemName", "TESTY Guuy", "").
RUN pdf_close IN h_PDFinc ("Spdf").

in this code it generating a error
/tmp/inv-11-0.txt not found.
/tmp/inv-11-1.txt not found.

i am not understing what the problem with the code.

if i comments this line:
RUN pdf_use_PDF_page IN h_PDFinc ("Spdf","Inv",1).
then it generating the blank pdf file.

i want to overlay data on agencybill.pdf. its a blank form in pdf format.

see the attach files.

please tell me if anybody have a solution for this.

thanks in advance.


AttachmentSize
agencybill.pdf23.56 KB