Sending text to a .jpg file

AlanR

New Member
Friends and colleagues,

1) I send output to a text file and then close it:
output to REPORTA paged.

For each tbl1 no-lock:

disp fld1 fld2 fld3.

end.

output close.


then I want to place REPORTA on a .jpg image and result in a .pdf file.

2) I run text2pdf.p which uses a .cfg file and REPORTA as input.
The .cfg file points to a .jpg file and looks like this:

Orientation:Portrait
Lines:55
TopMargin:10
LeftMargin:1
Pointsize:10
VerticalSpace:12
CharacterSpace:1
Font:Courier-Bold,18,0,0,0
FontTag:b,Courier-Bold,18,0,0,0
Image:/osudb/gen-source/p-bol-re-pdf.jpg,1185,1571,4,11,595,775,ALL

3) My intended result is a .pdf file with data on the .jpg image bit instead, I get the data on a blurred background.
I need someone to help me understand the parameters after the file name on the 'Image' line or explain what else I may be doing wrong.

Thanks,

Alan
 
You can NOT do this dynamically, on-the-fly.
Though you CAN create the illusion of.
You require to objectize. *Have a document (MS Word) with the header required created.
The company logo etc bmp dropped onto the page.
Have other components that you wish to be displayed in further seperate documents.
Then simply using appropriate API dynamically create UR required new document, by inserting UR templates
as required. Good luck. BFN
 
Back
Top