Writing a pdf file directly

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

Postby onako » Fri Aug 13, 2010 1:23 pm

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



Softland
Posts: 1497
Joined: Thu May 23, 2013 7:19 am

Postby Softland » Mon Aug 16, 2010 11:35 am

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.




Return to “General”