Thank you Edk
I could do a functional example for hmg ide, I need this function to do a line graph, with the function HPDFPRINT LINE TO does not work because the values I have are of pixel, and in my executable I need to convert pixel to mm and generate the graph in pdf