Writing a pdf file directly

You can ask general questions, share opinions or advices about doPDF.
Post Reply
onako
Posts: 1
Joined: Fri Aug 13, 2010 6:21 am

Post by onako »

Hi!
I'm having troubles with ps to pdf file conversion, and it was suggested to me to try to write pdf file directly. I downloaded one document: Document management — Portable document format — Part 1: PDF 1.7 ; but I could not find appropriate example that I might try.

What I want to do is to specify a number of points (in a coordinate system) that are connected by straight lines. The following is the extract from the .ps file that I want to "translate" to pdf:

%

%%BoundingBox: -3.99739 -2.54239 2.12733 2.10109

newpath

-1.10769 -0.250154 moveto

-2.2445 -0.27018 lineto

-1.10769 -0.250154 moveto

0.0392316 -0.285378 lineto

-2.2445 -0.27018 moveto

-2.96227 -1.25275 lineto

....

Note that I would need a complete example(with appropriate header, body and ending). What I tried is to copy some examples from the above tutorial in a text editor, save the file in a .pdf format, close it, and try to open it with Acrobat. Unfortunately, it reports error.

I would really appreciate your help on this.

Thanks


Claudiu (Softland)
Posts: 1560
Joined: Thu May 23, 2013 7:19 am

Post by Claudiu (Softland) »

Hello,
I am afraid we cannot help you in providing any samples. We only offer support directly related to our doPDF application functionality.
Thank you for understanding.

Follow us to stay updated:

Post Reply