Hi,
I am currently working on a project using the LPC54618 microcontroller, and I need to generate a PDF file directly on the device.
The aim is to create a simple PDF file (e.g., containing text and basic graphics) and transfer it to a PC or external storage via USB.
Does MCUXpresso SDK provide any libraries or examples for creating PDF files on the LPC54618?
I’d greatly appreciate any insights, recommendations, or example code from the community. If anyone has tackled a similar use case, I’d love to hear about your approach!
Thank you in advance for your support!
Hello @nithin3200
Thanks for your question.
Sorry LPC54618 can not generate PDF file. Could you please describe more requirements about why do you need LPC54618 generate PDF file? Thanks.
BR
Alice
Hello @nithin3200
Generating a PDF file relies on software, and the LPC54618's limited processing power and memory make it challenging to handle this task directly. However, if you can find a lightweight PDF generation library that fits within these constraints, it might be possible to use the LPC54618 for this purpose.
Alternatively, you can send the data via USB or UART to a PC and generate the PDF file there. For detailed information on PDF generation software, as CarstenGroen mentioned, you can search online for suitable libraries and tools.
BR
Alice
Hi @Alice_Yang,
Thank you for the instant reply! Please let me know if you have any recommendations for specific libraries that might work for this purpose.
Hello @nithin3200
I apologize for I have not previously worked on applications related to generate PDF file.
BR
Alice
Of course a LPC54618 can generate a PDF file, just as a Z80, 6502, 68000, i.MXRT1064, X86 can do. It does not matter what CPU the code runs on. Just a matter of software
But, there are no examples/libraries in the SDK's for NXP processors, because, why should there be ?
Makes as much sense as including stuff for making BMP files, DXF files etc.
There are libraries out there that can do that, or you can do it easily yourself. All is well documented on the internet