I want to directly print the report from the Java backend service, without previewing or confirmation of printing。
The Java report printing function you currently provide is based on Java Swing forms. Is there any sample code that allows the Spring Boot backend to directly call the printer to print the report content without requiring a preview or a print confirmation interface
I want to directly print the report from the Java backend service, without previewing or confirmation of printing
-
562756104@qq.com
- Posts: 1
- Joined: Wed Dec 24, 2025 6:11 am
Re: I want to directly print the report from the Java backend service, without previewing or confirmation of printing
Hello
Directly call the printer from Swing is the only way.
Also you can export the report to PDF, image, etc and print it with external tools.
Directly call the printer from Swing is the only way.
Also you can export the report to PDF, image, etc and print it with external tools.