Questions tagged as 'pdf'

0
answers

Embed pdf document and activate scroll to submit

Good morning, I would like to embed a pdf document on my site for a PHP registration form, where after pulling the scroll to the end of the pdf, the submit button is activated. Here's the code, I'm using jquery to fetch the scrool state, but I c...
asked by 22.01.2018 / 12:43
0
answers

How to get texts and images from pdf file

I need to get text and images from a pdf file. I tried to use PyPDF2, but with it I can only get the text. Can anyone help me?     
asked by 10.11.2017 / 16:42
0
answers

How to open (execute) a .bat file by php?

I have a .bat file whose function is to send a .pdf file to the printer. In the same directory I have my .php file. I used the exec('imprimir.bat') function, and tried the same code from the .bat file only using system : syste...
asked by 08.06.2018 / 23:01
0
answers

How to open a PDF using Totalcross?

In my application made in Totalcross, I make a REST call and it returns a byte[] where I convert to a pdf and save it to a specific directory inside the device. In this flow, everything is ok. My need is .. within the application, I ne...
asked by 09.10.2017 / 19:29
0
answers

Configuration of Response Headers

I created a server in Express and my client in Quasar / VueJS. I need to send a PDF to my client, the PDF in question is already created on the server, but I'm having trouble sending it to the client. I'm using Axios to make client-side requests...
asked by 15.08.2017 / 15:05
1
answer

How do I view files before downloading?

I want a PDF (generated on my server) to be sent to my client and opened in a new tab before being downloaded. I've already been able to get it downloaded directly from the server to the client, but now I need it to be displayed instead of being...
asked by 16.08.2017 / 16:26
1
answer

Rename PDf file before opening for preview

I'm getting a PDF file in response to a POST request, and on the server side I've set up the file name and everything else. But now I'm viewing it in the browser instead of downloading it and it no longer obeys the name placed on the server and...
asked by 16.08.2017 / 19:14
1
answer

CSS formatting for PDF generation

I'm using a loop to generate a PDF file. Each iteration of the loop should generate a PDF page. The problem is that a blank page is always coming out at the end of the generated PDF. I know this page is leaving because I'm using the CSS prope...
asked by 16.05.2017 / 13:20
0
answers

Return pdf file from webservice with Node.js

Problem Context: There is an external webservice, which is not part of the domain of my application, which, when accessed directly via browser, takes the user to a loading web page that handles the request according to the parameters passed in...
asked by 25.05.2016 / 16:18
0
answers

Generate accents and ç for PDF with PDFlib + PHP

I made the following code to pass a sequence and generate my lines in pdf with PDFlib: função text_block ( $ p , $ text , $ xcrd , $ ycrd ) { $ FONT_SIZE = 24 ; // tamanho da fonte, usada para linhas de espaço no eixo y $ tmplines...
asked by 22.03.2016 / 20:38