Request for Support: PDF File Generation on LPC54618

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Request for Support: PDF File Generation on LPC54618

1,962 次查看
nithin3200
Contributor IV

 

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!

标签 (3)
0 项奖励
回复
6 回复数

1,942 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,926 次查看
nithin3200
Contributor IV
Hello Alice,

Thank you for your response.

Our project involves ECG thermal printing, and we need to export ECG waveform data in PDF format for easy storage and sharing. We were considering the LPC54618 for this purpose. Since it cannot generate PDFs directly, could you suggest solutions to achieve this functionality?

Looking forward to your suggestions.
0 项奖励
回复

1,857 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,847 次查看
nithin3200
Contributor IV

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.

0 项奖励
回复

1,726 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @nithin3200 

I apologize for  I have not previously worked on applications related to generate PDF file.

 

BR

Alice

0 项奖励
回复

1,931 次查看
carstengroen
Senior Contributor II

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

标记 (1)