1,024 Topics
![]() | |
I had some fun this weekend having a go at pdfkit with mixed results. Can anyone nominate a candidate for best PDF writing? | |
In a previous article, I explained [how to extract tabular data from PDF image documents using Multimodal Google Gemini Pro](https://www.daniweb.com/programming/computer-science/tutorials/541449/pdf-image-table-extractor-web-app-with-google-gemini-pro-and-streamlit#post2296083). However, there are a couple of disadvantages with Google Gemini Pro. First, Google Gemini Pro is not free, and second, it needs complex prompt engineering to retrieve table, columns, and … | |
In my previous article, I explained [how to convert PDF image to CSV using Multimodal Google Gemini Pro](https://www.daniweb.com/programming/computer-science/tutorials/541365/converting-pdf-image-to-csv-using-multimodal-google-gemini-pro). To do so, I wrote a Python script that passes text command to [Google Gemino Pro](https://blog.google/technology/ai/google-gemini-ai/) for extracting tables from PDF images and storing them in a CSV file. In this article, … | |
hai. i would like to know is there have any video that can teach how to import image from database image folder to pdf using fpdf php. i already read some post here regarding to that issue by im not very clear and blur. actually i am very new in … | |
In this article, you will learn to use [Google Gemini Pro](https://blog.google/technology/ai/google-gemini-ai/), a state-of-the-art multimodal generative model, to extract information from PDF and convert it to CSV files. You will use a simple text prompt to tell Google Gemini Pro about the information you want to extract. This is a valuable … | |
I need a quick solution that will convert HTML doc to PDF and still maintain the same look and feel with pre-populated data and also maintain links in the PDF doc. Any solutions? | |
I'm working with the code to summarize the text using BERT. I am stopped at the step "loading all pages of the pdf file to the program". My code below just loads only one page. Please help for the instruction. I am a new coder. f= open('/content/Example.pdf', 'rb') pdf = … | |
FPDF is a class that provides a useful way to deal with PDF documents using dynamic content. Sometimes, according to a special circumstance, also would be valuable to send directly the PDF as attachment e.g. send an invoice automatically after processing a payment. In this example we use a html … | |
Hi, I need to split the pdf document into two parts,like i have a pdf which consists 100 pages,i need to split the pdf into two parts where first part consits 10 pages and second part consists 1 to 100 pages?how to do that using php? | |
Hi what could be the cause that Edge most frequently is seen asthe standard app for PDF files? I've changed it in the standard app settings. I've changed in the explorer menu; r.click → open with... → choose other app → click open always with chosen app Also made changes … | |
i want to display the stored image in fdpf. | |
Hi, I am developing one web application. In which I want to display pdf file on the web browser by selecting the pdf file or any fixed pdf file. so, if anyone knows then please tell me the script code so will develop it for my web application. i will … | |
I am trying to convert an 11 page Pdf document to excel and have the formatting work correctly. If anyone knows of an easy way to do this I would appreciate it. Thank you, | |
Hello, I'm studying from 0 to programming in Java and I would like to get, if someone can share, some PDF with solved basic exercises of programming in Java, preferably in Spanish. My current level is Hello world and little else. Thank you. | |
I have some crystal reports that i would like to use PHP in order to execute the reports and then either view the reports in the browser as is or to generate PDF files. Does anybody know how to do this and what is required to be installed on the … | |
hey everyone, i am to create a database filled with pdf files and its stored into binary. i was able to convert each file into binary but the problem is dat now i cant display it in the viewer.. can someone help me? i remember that i used to do … | |
Please Help me. I am coding PHP using below code but out put is not perfect. i am also attach output picture below. <?php require_once 'core.php'; include_once("../fpdf182/fpdf.php"); $pdf = new FPDF(); $pdf->AddPage(); $pdf->setFont("Arial","B",16); $orderId = $_POST['orderId']; $sql = "SELECT orders.order_id, orders.order_date, customer.customer_name, customer.customer_mobile, orders.sub_total, orders.vat, orders.total_amount, orders.discount, orders.grand_total, orders.paid, orders.due, … | |
I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the … | |
I have written a code to generate bar codes and saved them to a pdf file . The code executes successfylly but the PDF file does not open saying giving an error whome picture I am uploading. Please see my code and Picture with the error.  public void createPDF(String … | |
**How to create pdf report in php easily ?** | |
I'm trying to setup the links on this page: http://limitlesshoops.com/levels.html to lead to specific pages within this PDF: https://fiftyallstars.com/a2z.pdf --- I've found I can lead people to whatever page like this: https://fiftyallstars.com/a2z.pdf#page=7 but I'd like to lead them to a page based on Today's date. I've added a few example … | |
Hi i'm Anis. I want to ask how i can attach image from database in FPDF? | |
php-pdf attachment is in wrong format on webmails | |
php-pdf attachment is in wrong format on webmails | |
I am created a homework tutorial webpage where i have to make an image clickable and what I meant is that when the image is click, it should open up a pdf file and that is where iI am having the problems this is what i have tried on numerous … | |
Hi, I do need help with the PDF2Text, as this is my first time doing that function in the practice web PHP project created from Laravel. When I remove the PDF2Text.php controller, the error message controller is not found. When I restore the same file, the error message says class … | |
Hi, I am working on parsing pdf layers from a pdf file into separate images. It was really hard to find an library that does this and now I am digging into iTextSharp which seems like it's handling layers. public static void CreatePDF( string fileName, string destinationFolder ) { PdfReader … | |
Hello, I'm trying to edit existing pdf file. More precisely add new text or replace some text with another text. When i try to replace some text with another the problem is that it simply overlays ontop of the field which is not what I need. I need the text … | |
Hi, I am working on a project to view pdf files online and merge it into single pdf file. For that, I don't know which programming language and tool is best for it. Kindly assist me in this issue. Personally i know PHP very well. So if you know tools … | |
I want to add digital signature into pdf document, with help of php. I have the .pfx digital signature format with me. | |
Hi, I got a project to load a pdf into a picturebox in vb6. How do I handle that? Is there anyone who sell that .ocx? is there anyway to do it? Thanks | |
I have a PDF form that I created in Adobe and made it fillable. I was able to upload it to the website. The problem is the submit button does not work. What should I do? | |
The goal of this project is to create a dll that will take in employee and employer information then return W2(s) in pdf form. Then the main program will cycle through them and email/print. Currently, the program is adding the SSN and the edited pdf to a dictionary and returning … | |
Output PDF is overwrite, please solve this. advanced thanks <?php require('mysql_table.php'); class PDF extends PDF_MySQL_Table { function Header() { //Title $this->SetFont('Arial','',18); $this->Cell(0,6,'World populations',0,1,'C'); $this->Ln(10); //Ensure table header is output parent::Header(); } } //Connect to database mysql_connect('localhost','root',''); mysql_select_db('pro'); $pdf=new PDF(); $pdf->AddPage(); //First table: put all columns automatically $pdf->Table('select * from products'); … | |
Guys,I have my table data ,I want to retrieve them to pdf file using php,The problem is,when I use 'where condition' in a select statement, I do not receive any data,but when I do not use ,I get data from one row from the database table.Any help please!! <?php session_start(); … ![]() | |
Hi guys, I'm looking into the possibility of writing some javascript (or using an API of course) to be able to search a collection of PDFs and return the results in a Json format for processing (mainly displaying them back to the user). I've played around a little bit with … | |
Hi! Anyone can help please? I am searching around like crazy to make this work but no luck... There are allot of articles with some solutions but nothing works for me... Here is my code <?php require_once('../tcpdf/config/lang/eng.php'); require_once('../tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, … | |
Hello all Every one has seen gmail shows small blocks of files and documents preview and when we click on that then we can read it online on full page as gmail or google drive shows.Is there any library for doing such things.I aslo need to diable download and print … | |
Hello, I am trying to open pdf link that I place through tinymce. I add the link button through toolbar add or plugin in tinymce: https://www.tinymce.com/docs/plugins/link/ http://www.gsa-constructionspecialist.com/articles/article/detail/visi-dan-misi-training-names-gsa I wonder why I cannot open the pdf link that I place without having to enter the cpanel password? I already set the … ![]() | |
Sir I have following codes function generate() { var doc = new jsPDF('p', 'pt'); doc.setFontSize(18); doc.text('Chart of Accounts', 220, 50); doc.setFontSize(8); doc.setTextColor(100); var res = doc.autoTableHtmlToJson(document.getElementById("mytable")); doc.autoTable(res.columns, res.data, {margin: {top: 70}}); doc.save("chartofaccounts.pdf"); } I am trying to set font size 8 to text so I used this line doc.setFontSize(8); but … | |
Hello, I am trying to place pdf link in CI: http://www.gsa-constructionspecialist.com/articles/article/detail/tugas-lpjk-ke-5 I wonder why I cannot link it. I already place the file address name, yet it comes back to the original file when I click it. Try another file which I copy exactly from the cpanel: http://www.gsa-constructionspecialist.com/articles/article/detail/visi-dan-misi-training-names-gsa It has … | |
Hello, I am trying to insert link with TinyMCE in Codeigniter web program. I use Roxyfilemanager as my filemanager. I store the pdf file in upload folders in root folders. Whenever I try to click the link nothing opens up to show the pdf file instead it shows me the … | |
Hello, I download free filemanager to integrate with TinyMCE. I am trying to customize another extension to upload to Roxyfilemanager. Can anyone help me with the customization? Please read this quickly: http://www.roxyfileman.com/custom-integration and Here is my custom.js: function FileSelected(file){ /** * file is an object containing following properties: * * … | |
help please.. guys this is just the only problem in my program i cant print my data from sql..i need my thesis to finish soon..help please.. heres my code <?php require('fpdf.php'); $fullname = ""; echo $contractno = $_REQUEST['contractno']; echo $sname = $_REQUEST['sname']; echo $fname = $_REQUEST['fname']; echo $mi = $_REQUEST['mi']; … | |
the scenario as the following, after the user login , the application returns he/she visiting numbers for example : 123 150 i preview the value on TextView , how i can make it clickable, and open pdf file like when user click on 150 open the pdf file the located … | |
Hi all, I have received an important email message with pdf file attachment. When I try to open the file i recieve the following message: There was an error opening this document. Access denied. Please help me to repair pdf. Thanks, Jim | |
I am trying to follow the steps in an example on fpdfmakes webiste. However I am using sql server instead of mysql. Could someone give me some pointers so I can get this to work correctly? thanks <?php require('fpdf.php'); //Connect to your database $serverName = "myserver"; $connectionOptions = array("Database"=>"mydb"); $conn … ![]() | |
$sql = "SELECT doc FROM file_loc where file_id='1'"; while($results = mysql_query("$sql") or die("Invalid query: " . mysql_error()); { // set the header for the image header('Content-type: application/pdf'); header('Content-Disposition: inline; filename = "' .$results . '"'); header('Content-Transfer-Encoding: binary'); if (isset($results)) { $pdf = new FPDI(); // get the page count $pageCount … | |
Hi everyone. When I deployed my site I got this error: Fatal error: Uncaught Exception: FPDF error: Some data has already been output, can't send PDF file (output started at /srv/disk6/blablasite/rel_funcionario.php:1). I'm using fpdf v. 1.81 and I am developing in PHP (using XAMPP and Notepad ++), in that platform … |
The End.