1,024 Topics

Member Avatar for
Member Avatar for cored0mp

I had some fun this weekend having a go at pdfkit with mixed results. Can anyone nominate a candidate for best PDF writing?

Member Avatar for policenbicleara
0
159
Member Avatar for usmanmalik57

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 …

Member Avatar for mansha99
2
2K
Member Avatar for usmanmalik57

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, …

1
324
Member Avatar for thir

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 …

Member Avatar for gottaloveit
1
215
Member Avatar for usmanmalik57

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 …

2
925
Member Avatar for mtyide

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?

Member Avatar for Dani
0
168
Member Avatar for alicenguyen

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 = …

Member Avatar for rproffitt
0
19
Member Avatar for martin5211

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 …

Member Avatar for Dani
0
22K
Member Avatar for sushu1209

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?

Member Avatar for Dani
0
6K
Member Avatar for dnBunnie

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 …

Member Avatar for rproffitt
0
128
Member Avatar for Raju_3
Member Avatar for pawangupt

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 …

Member Avatar for akeane
0
192
Member Avatar for DinoJamin

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,

Member Avatar for orichisonic
0
593
Member Avatar for Gonzalo_3

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.

Member Avatar for rproffitt
0
29
Member Avatar for Magic8Computing

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 …

Member Avatar for rproffitt
0
1K
Member Avatar for gianrocks

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 …

Member Avatar for Owais_4
0
3K
Member Avatar for nishita_1

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, …

Member Avatar for Dani
0
716
Member Avatar for akgreen

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 …

Member Avatar for Yogesh_22
7
23K
Member Avatar for Saboor880

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. ![barcodeError.PNG](/attachments/large/4/466b7c7d36a50fd6f88d0a7f157907c8.PNG) public void createPDF(String …

Member Avatar for orichisonic
1
1K
Member Avatar for abdulazeem
Member Avatar for jonsan32

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 …

Member Avatar for Biiim
0
981
Member Avatar for anis_1

Hi i'm Anis. I want to ask how i can attach image from database in FPDF?

0
291
Member Avatar for manu555
Member Avatar for manu555
Member Avatar for divinity02

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 …

Member Avatar for rproffitt
0
395
Member Avatar for SpottyBlue

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 …

0
187
Member Avatar for 9tontruck

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 …

0
530
Member Avatar for dev01

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 …

Member Avatar for pty
0
3K
Member Avatar for hamzamuradkhanh

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 …

Member Avatar for hamzamuradkhanh
0
506
Member Avatar for thilipdilip

I want to add digital signature into pdf document, with help of php. I have the .pfx digital signature format with me.

Member Avatar for rproffitt
0
2K
Member Avatar for neosonic

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

Member Avatar for Giuseppe_1
0
5K
Member Avatar for WIdley

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?

Member Avatar for rproffitt
0
255
Member Avatar for Maheshwaran
Member Avatar for jigglymig

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 …

Member Avatar for jigglymig
0
281
Member Avatar for Jack_20

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'); …

Member Avatar for Kevin_28
0
4K
Member Avatar for athanas_1

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(); …

Member Avatar for diafol
0
298
Member Avatar for Violet_82

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 …

Member Avatar for Mohamed_84
0
2K
Member Avatar for dbalas

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, …

Member Avatar for salman_15
0
4K
Member Avatar for shany0786

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 …

Member Avatar for gentlemedia
0
300
Member Avatar for davy_yg

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 …

Member Avatar for diafol
0
281
Member Avatar for phphp

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 …

0
156
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
516
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
463
Member Avatar for davy_yg

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: * * …

0
140
Member Avatar for EMP01616

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']; …

Member Avatar for cereal
2
7K
Member Avatar for HibaPro

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 …

Member Avatar for rproffitt
0
257
Member Avatar for Jim_14

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

Member Avatar for happygeek
0
314
Member Avatar for Joe_10

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 …

Member Avatar for diafol
0
2K
Member Avatar for chandnee

$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 …

Member Avatar for cereal
0
799
Member Avatar for Filipe_3

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 …

Member Avatar for pritaeas
0
1K

The End.