Hello Everybody.
Is there a library for C to convert a txt file to a pdf file?
I have been searching for a while but i just find stuff for C# and C++.
Thanks a lot for every help.
Hello Everybody.
Is there a library for C to convert a txt file to a pdf file?
I have been searching for a while but i just find stuff for C# and C++.
Thanks a lot for every help.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Thanks for this link but i do not understand it.
Then, the program will not work if ghostscript in not installed.
Maybe there is a way to convert text to pdf without using system-commands?
Ghostscript is both a library and a program.
> Maybe there is a way to convert text to pdf without using system-commands?Ghostscript is the name of a set of software that provides:
An interpreter for the PostScript language and the PDF file format,
A set of C procedures (the Ghostscript library) that implement the graphics capabilities that appear as primitive operations in the PostScript language, and
A wide variety of output drivers for various file formats and printers.
Well PDF is a complicated beast.
Either you deal with all that complication yourself by interacting with the library, or you take the simple approach by using system commands that trade flexibility for convenience.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
ok. Thanks a lot for your help. Will read more about it.