Most voted "pdf" questions
Portable Document Format (PDF) is an open standard for electronic document exchange maintained by the International Organization for Standardization. Questions can be tagged with this tag when the subject is about creating, reading, editing Pdfs using different languages.
Learn more…353 questions
Sort by count of
-
0
votes0
answers417
viewsCount the total pages of a pdf file with PHP
I’m trying to count the total pages of a pdf file, using php. I did a google search and found the code below, which works for files up to 10mb. I also used the Pdfparser library, but I also have the…
-
0
votes0
answers24
viewsDoes Pdfview have reserved words?
I am using the Pdfview library to open a pdf of my xampp but it does not open anything, this is the code I am trying: Readpdfstream.java package com.app.read_basic_pdf; import android.os.AsyncTask;…
-
0
votes1
answer143
viewsHow to handle the return of files (PDF) in an AJAX call?
I made a code that selects the documents that are in a bank FTP and by clicking download it runs a AJAX call to the DJANGO where I call the FTP again, download the file and send back to the AJAX.…
-
0
votes0
answers227
viewsPDF generation through a very slow PHP HTML
I am developing a system in PHP that has a module for the PDF export of a certain information that Gero in HTML, but this process is very slow because I think it is a lot of information (on average…
-
0
votes1
answer377
viewsCakephp error: Class 'mPDF' not found
I installed mPDF by the prompt on the Friends Of Cake github, and followed the instructions as on the github, but it is giving mPDF class error not found and line error $mpdf = new mPDF();, giving…
-
0
votes1
answer99
viewshow to create css for pdf
Good afternoon to all!! Guys, I’m developing an application that generates a pdf, and this pdf needs to have a certain formatting, however, I’m a little lost here... for example, I create a div,…
-
0
votes1
answer697
viewsConvert PDF code string to arraybuffer/blob for client download
I’ve been having problems for a while, so I decided to ask here, because I’m already out of options. I’m getting a pdf of an api made in java. I get this pdf from the backend, in python, because I…
-
0
votes1
answer121
viewsUpload files to separate folders in the database
Good morning, first excuse my noobisse but I’m still learning kkk I am creating a system (I am using HTML, CSS, Javascript, PHP and Mysql Database), where will have several registered users and each…
-
0
votes1
answer289
viewsHow to remove an excerpt from a specific text in a PDF with Python
Hello, I need to extract a specific snippet from a PDF. The idea is to find the state registrations that were downloaded in the official journal of the state where I live, this is for the collection…
-
0
votes0
answers20
viewsIs there any way I can access a pdf from the source code?
My question is simple: is there any way I can download a pdf file from the source code of the page? The following is a real example extracted from a website and I would like to know if there is any…
pdfasked 4 years ago Vinicius Yamada 1 -
0
votes1
answer55
viewsFill PDF checkbox with iText7
Hello! I’m trying to check a checbox of my PDF, but I’m not getting it right. Instead of just checking one of the checkboxes, he’s always checking all 3 What I would like: What I am getting: PDF in…
-
0
votes1
answer121
viewsHow to generate two pages with DOMPDF in Laravel
I have to generate the PDF of a 'wallet', and I have to put the front and back in the same file. I have the following source to generate the front: $nome = $cliente->nome.'.pdf'; $pdf =…
-
0
votes0
answers56
viewsng2-pdf-Viewer does not display automatic pdf
I have an Angular 8 application that I get a pdf file from the API. At the angle, I get the pdf file as blob and convert to Filereader to use the byte array. I am facing the following problem, the…
-
0
votes0
answers12
viewsError: Invalid element of type passed to PDF renderer
I would like to implement the PDF download in my project, however the File is not being downloaded, and the terminal returns this error " Error: invalid element of the type passed to the PDF…
-
0
votes1
answer65
viewsHow to generate a PDF from a string
After making an HTTP request to an API that promises to return one: "nrwexPDF" I have the following return: "%PDF-1.2 \r\n1 0 obj\r\n<<\r\n/Type /Catalog\r\n/Pages 3 0…
-
0
votes1
answer47
viewspdfmake__WEBPACK_IMPORTED_MODULE_16___default Reactjs error
When I start my project this returns the following error: TypeError: pdfmake__WEBPACK_IMPORTED_MODULE_16___default.a is not a constructor Follows information: Import: import _ from 'lodash'; import…
-
0
votes1
answer81
viewsPython 3 - CSV to Excel conversion problem with list output
Good afternoon. I am facing a problem while converting a CSV file to an Excel file, via openpyxl. The code structure aims to convert a PDF to Excel, and paste the PDF information into a Sheet from…
-
0
votes2
answers47
viewsPassing id to pdf printing with cakephp3 and tcpdf
Personal I am generating reports in pdf and I am with the following problem, I need to set the id of the volunteer to print the pdf with the data of the volunteer, I tried as follows by the link:…
-
-1
votes1
answer649
viewsEdit word files and convert to PDF php
I have a document and every time I need to change information in it I need to do all this procedure that I will explain lowers again, I would like a solution that would make it easier to convert…
-
-1
votes1
answer582
viewsHow to use Javascript using FPDF
I have a classa fdpf in php to display information of the purchase made through registration of my database, but I cannot execute a javascript command to calculate and display the numbers of…
-
-1
votes1
answer212
viewsPDF Preview with jQuery
I need to display a PDF as if it were a magazine inside an HTML page. The idea is to optimize the visualization of a document that is very heavy (+100 pages). Currently I only have a link that opens…
-
-1
votes2
answers26904
viewsHow to Export an HTML table to PDF and EXCEL
Good morning guys, someone has to give me a help regarding to export an HTML table to PDF and EXCEL, I better do this in javascript(front end) or java (backend) any hint help! thanks.
-
-1
votes1
answer475
viewsGraphics in pdf in R
I have the following exercise and I am in doubt on item b in bold. Perform a data analysis, using lm(), between two variables, as we did in the room, but you should import data from any source,…
-
-1
votes2
answers693
viewsSave content from a div to a file. html With php or javascript
How do I save content from a div to a file. html With php or javascript. The intention is to generate a pdf later with this saved html. I saw that there are many topics here on the subject, but I am…
-
-1
votes1
answer56
viewsHow to apply regex , using C# in a pdf file?
private static string BuscaComparacao (string url) { Regex r =new Regex("\S+\D{3}[.]\D{3}\S+\D)"; var result = r.Matches(url); return result[0].ToString(); } the code does not find the data I sent…
-
-1
votes2
answers461
viewsGenerating PDF with Laravel
I’m trying to implement this pdf lib for my Laravel project: https://tcpdf.org/. Since I’m having problems in the implementation, because its documentation is not very clear with the method I need…
-
-1
votes1
answer148
viewsHow to add CR or LF to the end of the. pdf file generated by Stella.Boleto?
I managed a ticket of the Itau and was indicated to validate with the operator (bank Itau). The operator required to insert the special characters: CR+LF. How do I do that ?
-
-1
votes1
answer145
viewsExport data from a listview to PDF
Hey there, guys! What do I need to export data from a listview on android to a PDF document? I would like to write a PDF file with all the data contained in listview.
-
-1
votes1
answer592
viewsGenerate a PDF page using Java on the back and angular on the front
I would like the help of someone, I am developing a system using Java with Spring Boot framework, and Angular on the front, and I would like to generate a PDF with a predefined template, just…
-
-1
votes1
answer567
viewsDOMPDF Error generating pdf
I do the same code that the DOMPDF documentation teaches but when I open the page it gives an error of "Error Failed to load PDF document." Can anyone help? This is the code I’m putting <?php…
-
-1
votes1
answer503
viewsDelphi - Join PDF files
I need the following process to be able to join some PDF files. procedure Tservermain.reportmaster_relatorioReports(Sender: TObject); begin with reportmaster_relatorio.Reports do begin…
-
-1
votes1
answer41
viewsPrint all pages of a PDF file
I would like to know if it is possible to print all the pages of a PDF file obtained from a database (BLOB). This database has image and PDF acquisitions, so the display page will show both formats.…
-
-1
votes1
answer1649
viewsRead content from a PDF in Javascript
I have a PDF that I load via input and I need to get the contents of the file via Javascript without the use of Node.js "server side". I was able to get the contents in Base64, but it’s not…
-
-1
votes1
answer395
viewsVuejs - attaching a PDF file for download
I am creating my portfolio in vuejs, created a link to make the file available for download (pdf) but is downloading html. home -views --home Folder organization (pdf file) -Assets --pdf html <a…
-
-1
votes2
answers180
viewsDownload a file in C#
Good Afternoon, I’m a beginner in C# and I’ve already looked for this answer here on the internet and I didn’t find it at all, I’m working with C# and windows Forms, I have a folder inside my…
-
-1
votes0
answers17
viewsPDF does not capture all html
I’d like a hint, I don’t know if anyone’s been there. I have a JS code, which generates pdf, but... when you download the pdf, it doesn’t take all the html, generates all the pages but only prints…
-
-1
votes1
answer108
viewsThe.pdf file is not sent to the server
I’m making a system to register the file name and some other information in the database, and also upload the file to the server, but only the database is registered, but when uploading the file to…
-
-1
votes1
answer420
viewsError in dompdf formatting
Good evening everyone, I wonder if anyone can help me with Dompdf. I am using codeigniter and bootstrap as the basis of the project. I need to generate a PDF with a product gallery, the problem is…
-
-1
votes2
answers104
viewsHow to identify the page number of a . pdf by something written on it?
I have a . pdf with 120 pages, each page is a certificate and the only difference between them is the name of the participant. I also have a . csv with the list of participants' names and e-mail…
-
-1
votes1
answer187
viewsHow not to break the page on iTextSharp split my table into two pages
I would like to have my pdf put on the next sheet the table that did not have enough space in the last and did not divide this table in the two sheets. if (reader.HasRows) { while (reader.Read()) {…
-
-1
votes1
answer336
viewsDownload pdf file from php error
I have some pdf files that are generated by my system that I know work, but when I do a script to download this file, this file gives me opening error. The script below downloads the file my system…
-
-1
votes1
answer114
viewsGenerate PDF in Golang
Good morning everyone, I am new to the Golang language and I am having difficulties in a text printing file in PDF generation that I was asked to study. The difficulty is in creating the variable…
-
-1
votes2
answers28
viewsCan I make the document generated in the VBA code below be saved in the source file folder or that it asks to save in a specific location?
I am creating a macro in Excel that selects a text and pastes in another tab of the spreadsheet and generates a . pdf automatically. I want to try to make the user on another computer save this file…
-
-2
votes2
answers113
viewsView pdf file with url in the database in the browser
Hello! I have an application that uploads the PDF file whose url is saved in the database and the file in a folder. By clicking the view button the pdf file opens in the browser. <a…
-
-2
votes1
answer108
viewsRotating Razorpdf "locks" on IIS
Friends, I use Visual Studio C# 2015. In an MVC project I am also using the Razorpdf Rotary to create PDF from HTML pages. When I test the application in development environment (localhost within…
-
-2
votes1
answer35
viewsPdf header with absolute position
Good afternoon to all!! I am generating the pdf of a data with mpdf, and everything works except for the header that is generated and seems to be configured with 'position:Absolute", can you change…
-
-2
votes1
answer210
viewsCode error to place watermark
Error mark water in pdf exists in this code ? index document.php <?php session_start(); ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta…
-
-2
votes0
answers9
viewsAttributeerror: 'Outstream' Object has no attribute 'buffer' in weasyprint module in Python
Importing the weasyprint module into python gives the following error: AttributeError Traceback (most recent call last) <ipython-input-3-5c808e9d68b5> in <module>() 2 import pandas as pd…
-
-2
votes2
answers485
viewsHow to list only PDF documents in PHP?
I have a code that is listing the files within a certain folder, and linking to download, working all right. However, I would need this code to list only files with the format *.pdf, the code is…
-
-2
votes1
answer601
viewsread content from a pdf using javascript client side
I have a PDF that I load via input and I need to get the contents of the file via Javascript without the use of Node.js "server side". I was able to get the contents in Base64, but it’s not…