Generate pdf graphic file from .dot using both Tpdf and Tps2

I have a file .dpt

, I am trying to output files .png

and from it .pdf

, and I am using my command line expression like: dot -Tpng SPU123.dot -o SPU123.png

to generate .png

and it works fine. First, I tried to generate (following the graphics documentation) .pdf

by:, dot -Tpdf SPU123.dot -o SPU123.pdf

but it just generated an empty .pdf

one and the documentation says there is something wrong with the parameter Tpdf

and use the parameter instead Tps2

so I did: dot -Tps SPU123.dot -o SPU123.ps

but I got this error :

Error: canvas size (34642,3608) exceeds PDF limit (14400)
        (suggest setting a bounding box size, see dot(1)) 

      

How do I generate .pdf

output from my file .dot

?

+3


source to share





All Articles