Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print Word (.docx) files using cups4J #43

Closed
smudgal-omers opened this issue Nov 23, 2020 · 1 comment
Closed

Print Word (.docx) files using cups4J #43

smudgal-omers opened this issue Nov 23, 2020 · 1 comment

Comments

@smudgal-omers
Copy link

Hello, not sure if this is the right question for cups4j but I'll still give it a try.

I want to print .docx files using cups4j and I am using cups-pdf as the printer.

When I try to print .docx files, the output pdf is always empty using cups-pdf.

Is there a way, I can leverage cups4j's capabilities to print a .docx file?
I see from cups config files that three following application file formats are supported by cups ootb to print:
application/msword (this one prints only .doc files and not .docx)
application/pdf
application/postscript

So, .docx files are not supported by cups but I want to know if there are any optios/ways to do it using cups4j

@harwey
Copy link
Owner

harwey commented Apr 16, 2021

You can print PDF and PS files directly via CUPS. So you would need to convert your .docx to PDF or PS in order to print it via Cups4j

@harwey harwey closed this as completed Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants