I am writing a billing/invoicing program using C on a Fedora Linux system.
Everything is going well and just about finished (calculations, updating database, etc.)
I am now to the part where I need to generate the images of the invoices.
This seems like it may be a little tricky. Did anyone ever do this before?
My initial thoughts were to have my C program write the image out as a text file and then I could convert it outside of the C program to other formats such as .doc, .html, .pdf.
If I do this how can I draw a vertical line to the text file using C programming? Pipe (|) seems to be the only way I can think of but it seems really sloppy.
I way need to be able to draw boxes around certain pieces of text (like a bill image).
My other idea is to have the C program output the image in HTML format and then maybe I can convert that to other formats.
My goal is to have the images of the invoices in all of the formats that I mentioned above.
Any advice or help is appreciated.
Thanks!!
Everything is going well and just about finished (calculations, updating database, etc.)
I am now to the part where I need to generate the images of the invoices.
This seems like it may be a little tricky. Did anyone ever do this before?
My initial thoughts were to have my C program write the image out as a text file and then I could convert it outside of the C program to other formats such as .doc, .html, .pdf.
If I do this how can I draw a vertical line to the text file using C programming? Pipe (|) seems to be the only way I can think of but it seems really sloppy.
I way need to be able to draw boxes around certain pieces of text (like a bill image).
My other idea is to have the C program output the image in HTML format and then maybe I can convert that to other formats.
My goal is to have the images of the invoices in all of the formats that I mentioned above.
Any advice or help is appreciated.
Thanks!!