All Questions
34
questions
1
vote
0
answers
69
views
PDF Links Not Clickable When Rendering with pdf.js [closed]
I'm using pdf.js to render a PDF file in the browser. The PDF contains clickable links, but after rendering the file, the links are no longer clickable. Here’s a simplified version of the code I’m ...
0
votes
0
answers
68
views
Why doesn't work PDF file open by PDF.js viewer [with URL]?
I downloaded manually the PDF.js viewer, and it was working perfectly in program XAMPP, but when I uploaded to a web server, it broke down. I uploaded also the web, the build folders and the LICSENSE ...
1
vote
1
answer
68
views
Application migration from Rhel7 to Rhel9
I am currently using SeedDMS 5.1.21 application on Rhel7, php 7.2.24 and postgresql, I am able to run application and view documents. But as Rhel7 support is going to end so I am migrating the ...
0
votes
2
answers
302
views
I want to extract Bengali text from a PDF [closed]
I want to convert a Bengali PDF to a text file. The current tool I'm using, poppler-utils' pdftotext, doesn't provide accurate results because the PDF uses Kalpurush font. Are there any tools that ...
0
votes
0
answers
134
views
pdfjs - Displaying a document
I am trying to display all PDF stored on a folder.
I have the following code that throws no error besides "Warning: TT: undefined function: 32 on util.js:373".
In the DevTools I can see that ...
0
votes
0
answers
24
views
Auto print pdf with pdf.js in kiosk [duplicate]
I need to build automatic kiosk, where people will get their pdf's printed. I will use firefox with silent.print mode on, but I have trouble getting pdf to print in a page that will be a popup (so ...
0
votes
0
answers
278
views
Mozilla PDF.js Name of file in printing dialogs
Please someone can help me, how to set a name of file in printing dialog of browser?
I use Mozilla PDF.js version v3.5.141
PDF files is send to default viewer.html as base64.
I can change title in ...
1
vote
0
answers
191
views
pdf.getPage(1).then(function(page) - How to display whole PDF (not only one page) with PDF.JS?
sample imageenter image description here
How to display the whole PDF (not just one page) with PDF.JS ?
I got the reference from the code here : https://codepen.io/ValerioEmanuele/pen/pGRZqe
but it ...
0
votes
1
answer
1k
views
Intermittent "Invalid or corrupted PDF file" from pdf.js
I'm building a private website to share some old family letters with my relatives. To keep the letters from being crawled, I'm using a function called smartReadFile (shown below) to stream the letters ...
0
votes
1
answer
2k
views
Decryption of pdf file using AES 256 CBC gives non readable output
I have some list of encrypted PDF files. On click of each pdf file, it should get decrypted and view using PDF.Js using AES 256 CBC. I have the following code (Sorry it's a little bit longer, I tried ...
1
vote
0
answers
1k
views
View generated base64 PDf file with pdf.js?
I am trying to view a generated PDF in a page rendered in PHP. The PDF file actually does not exist on the server, so there is no URL for the file. The issue that I am having is that the FireFox ...
1
vote
0
answers
166
views
loading document with error when open with pdf js
I have a strange question regarding PDF.JS and PHP
Using PDF.JS, to open pdf you should use on browser:
http:// ...url... /viewer.html?file=[filename]
I have changed viewer.html extension to viewer....
0
votes
1
answer
465
views
using pdf.js with AJAX
I run a phpBB board, where I'd like to incorporate pdf.js for pdf presentation (so I can include it in a lightbox; but, I digress). Attachments in phpBB are retrieved using a id, invoking file.php.
...
0
votes
0
answers
2k
views
How to open PDF file with Pdf.js viewer after some PHP codes executing? (without ?file=URL_PDF)
I don't know my question title is enough good or not.
I am tried to build pdf viewer in my website with PDf.js. I know, normally it's simple as:
http://example.com/pdfjs/web/viewer.html?file=PDF_URL
...
0
votes
2
answers
443
views
Using pdf.js I'm able to read only pdf's upto 2MB and not more than that, why?
I'm getting an error after some pages are getting read
"pdf.js:25744 Uncaught DOMException: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': Data cannot be cloned, out of memory."
...