Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello.
I have a PDF that just Show in Chromium browser and I can't open it in "Document Viewer" and other tools.
I used "pdftk" for repair it but :
$ pdftk test.pdf output a.pdf
Error: Failed to open PDF file:
test.pdf
Errors encountered. No output created.
Done. Input errors, so no output created.
I would worry about any PDF from an email that does not open in a standard pdf tool, it may have been infected. Most likely with a Windows threat, but you never know.
Your pdftk command line looks correct.
Check the permissions on test.pdf and make sure it is readable and in the current folder.
If all else fails, request that the sender supply another copy. Perhaps a compressed copy, zip and 7z files lend themselves to certain kinds of checking and might avoid whatever is rendering the file unusable.
Is it possible that this pdf was created with encryption or some of the advanced Adobe security features?
I have seen PDF e-books that most non-adobe software will NOT read, and that expires and becomes unreadable after a given date. My library uses that trick to lend e-books that do not violate their publisher agreements.
I never liked the idea of files that expire, so I have not investigated and cannot advise if it is that kind of format.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.