4,455 Topics
![]() | |
Hi, I am writing the content of a long text file in pdf using PDFbox API in java but only half the page I am able to write please assit me with it asap here is my code: import java.io.IOException; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.edit.PDPageContentStream; import org.apache.pdfbox.pdmodel.font.PDType1Font; import org.apache.pdfbox.pdmodel.font.PDFont; … | |
Hi Guys, Can you Tell Me What is the wrong of my Code. This is my Code. I am Using DOM Extension! <?php require_once("dompdf/dompdf_config.inc.php"); $conexion = mysql_connect("localhost","root",""); mysql_select_db("evaluation",$conexion); $codeHTML=' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Download</title> <link href="css/style.css" rel="stylesheet"> </head> … | |
My problem with this program is within my do while loop. From line 33 to line 47. Please find attached the original intention in the pdf document ` //Program to show loan and interest calculation #include <iostream> // for cin, cout #include <string> using namespace std; const double ANN_INTEREST=0.05; //simple … | |
I have a PDF I would like to be downloadable. I've used the HTML5 <button> tag as follows to create it as follows. <a href="http://www.jonvandesigns.com/PDF/VanDenEeden-Jon-Resume.PDF" target="_self"> <button id="resume-download">PDF View/Download</button> </a> The coding worked beautifully on my local network, but once it was uploaded to my server and I accessed it … | |
extracting reports in excel/pdf etc.... is there any plugin | |
Anyone know where to BUY (not steal) this eBook? I don't want paperback because they are too difficult for me to read. I'd rather have eBook or PDF version so that I can change the font size to whatever I want. I've looked at Addison-Wesley web site but don't see … | |
How to view our uploaded resume online with php in website <?php if($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['submit']) == 'upload') { var_export($_POST); $allowedExts = array("pdf", "doc", "docx"); $temp = explode(".", $_FILES["file"]["name"]); $extension = end($temp); if ((($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/msword") || ($_FILES["file"]["type"] == "application/vnd.openxmlformats-officedocument.wordprocessingml.document")) && ($_FILES["file"]["size"] < 20000) && … | |
**The code below sends only one attachment, but I need to attach and send two file(one rar file and pdf)** $email_to = "$email"; // The email you are sending to (example) $email_from = "online@tryteksolutions.co.in"; // The email you are sending from (example) $email_subject = "subject line"; // The Subject of … | |
i need a code in c# so that i can convert webpages n html pages into PDF format | |
Hello Am looking for a good tool which will enable me to convert my pdfs to word format, and vice-versa, without losing formatting in the documents in question. Anyone can suggest some tools (could be free or paid)? | |
here i am using fpdf class to generate pdf document, how to print serial numbers in SL.NO. column in sequential order i.e. 1 2 3 4 5 ... so on. <?php include_once('include/dbConnect.inc.php'); require('fpdf.php'); $d=date('d_m_Y'); $agentid=mysql_real_escape_string($_GET['agent']); $agent_name=mysql_real_escape_string($_GET['agentname']); // Query to select an int column $query = "select count(*) as cnt from … | |
Hello friends. I found something new today. I was merging some photos (jpeg file) to a pdf file (By Adobe acrobat writer). There were two photos, one of which i had created from existing pdf page and another was my regular image. The height and width of both file was … | |
I am generating pdf's using iTextSharp dll.I need to put watermark on every page generated. how can I add watermark to the pdf generated using iTextsharp dll? Any assistance would be appreciated... Abhishek | |
Good evening, Just want to ask if there's a way to get the contrast and pixeltype(if it's colored/bitonal/grayscale) of an existing image using vb .net such as: gif/jpg/pdf/png/tif If yes, how? Godbless and thanks in advance, nel | |
Hello wizards Please i need some help from you all. I need to write a c# code to select files(pdf files to be precise) from any location on my PC. Also, i need to get the filename and i will also like to manipulate the text contained in the file. … | |
![]() | Hi I'm trying to create a page for a stallion showing his offspring. I used the distinct query in the hope of showing each of his children only once, but I'm assuming that because the other data in the row differs (there is a unique reference number called runid) the … ![]() |
Hi, Currently I don't have any code for this but request you help on this. In the form1 I have Picuter box. I want to view Images (All types of Formats) & PDF files as regular images in Picture box. Is this is possible. Also I need Shortcut keys to … | |
Hi I had an field to upload pdf's only, which worked well. I want to add the option to add docs as well as pdf's and now it is not working: if (!empty($_FILES['pdf_main']['name']) && ($_FILES['pdf_main']['type']!="application/pdf" || $_FILES['pdf_main']['type']!= "application/msword")){ echo '<p class="white">Please check the certificate uploaded. It should be a PDF … | |
Hi, I am looking to store files into Blob in oracle table. Like .pdf .doc .xls .jpg etc. Please help me on this. Regards, Kavitha Kesav | |
I am getting followed error while first time get report on different server afterwards i refresh web page again report appearing properly.What can be cause? *System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host … | |
Using VS 2013 Express for Desktop. C#. Winblows 8.1 I have a clever program for writing/printing/storing invoices and quotes. One function is to print to PDF using CutePDF Writer. All is well except the dialog to name and save the file doesn't pop up to the front unless I click … | |
Hi, A few years back had the pleasure of meeting Dani himself in a get together focused on game development which unfortunately didn't succeed due to lack of members. I love how organized daniweb is so I want to see what I can get out of it. I was using … | |
Hello, I need to create password protected PDF file in VB6.0. How can i do this? any reference link, suggestion or source code? Thanks. | |
Hi: Is there a way to remove/edit watermarks from an existing pdf file. If there is any software that can accomplish this, please let me know. I will greatly appreciate your feedback. Thanks Anthony | |
How to convert html to pdf and download in php | |
Hi All, Thank you for viewing my thread. I have an enquiry on process. My application runs this way. First, it will export something to PDF format. Second, the application will attach the PDF to send an email to someone. Next, i want to delete the PDF file. When i … | |
Hello. I have a source code written in c++. With this source code i should compile it and make with him a pdf viwer that will be embeeded into a webpage. Can anyone help me what program should i use? how can i compile it and embeed the result into … | |
hai to all iam decided to develop student information report so i decided to the gathering results from site and those converted to either .pdf or .xls file so i requested to code for to obtain the student reults from the any website thanking you sir | |
I have two download links as follows: 1. <a class="artbutton" href="http://10.0.0.201/wp/wp-content/uploads/2014/01/2014.01-ADC-CV.pdf"><span>CV</span></a> and, 2. <a class="artbutton" href="http://10.0.0.201/wp/wp-content/uploads/2014/01/2011-Business-Profile-.pdf"><span>Company Profile</span></a> in PDF form. I'm expecting to get '1.' followed by the two buttons seperated by 'and, 2.' and followed by 'in PDF form'. What I'm actually getting is the two buttons together follwed … | |
i need to develope the pdf annotator and sticky note. i need to store the position of annotator and sticky note in sqlite beacuse when i reload the pdf need to show the annotation and notes. please send the sample code. | |
Hello; I got some kind of infection or something last week, which caused my virus software not to update, and finally my computer to totally crash and would not reboot. I successfully recovered my system from an image (it was one level up of messy from actual system restore - … | |
Hey guys! I'm going to be competeting in a school competition for computer programming, and the task is building a webpage. here is the link: http://www.skillsusaca.org/sites/default/files/Computer%20Programing%20-%20Regional%20.pdf i have two questions... firstly, i dont want to assume that i can use php and find out i cant, so is there a … | |
Hi, I am trying deduplication with sdfs.(ubuntu 13.10 on Vm). (http://opendedup.org/quickstart) followed the same steps as this mounted the file system on /media/pool0/ When copied a directory containing some similar pdf's its not removing the duplicates and the size of the folder remains the same as the original. Is there … | |
Hi frns Am asha ! just looking and searching for a while how to convert php output as pdf file. I mean the localhost output of php file will be save as pdf file. If anybody knows pl help me. Thanks in advance asha | |
Hi all , I have written code for sending mail with pdf file as attachment , but mail sending is not working. I used class.phpmailer.php. The files are attached herewith . Please kindly see if any solution is possible . Hence appreciated. //$mailpdf=$pdf->Output('exam_schedule.pdf', 'I'); require_once('class.phpmailer.php'); require_once('class.smtp.php'); $mail= new PHPMailer(); // … | |
i am trying to generate pdf file using fpdf selecting data from two different tables i.e. table custreg and table slabpay, but getting MySQL error: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\inetpub\vhosts\kisan.net\httpdocs\greengold\exportpdf.php on line 124". Code: $strSQL = "SELECT custreg.mobno1, slabpay.ac_no, slabpay.cust_name, slabpay.install_no, GROUP_CONCAT(`slabpay.install_amt` … | |
[CODE]Hi Friends, I have written a code with some example script for generating report in PDF with PHP and MYSQL. But i am unable to fetch the data from my table. So Please help me to solve this issue. Thanks <?php $today=date('Y-m-d'); $hostname = "localhost"; $database = "bdname"; $username = … | |
This may require an expert in MS Excel, I happen to have version 2007. The issue involves how Excel is distorting images when placed in a sheet. Imagine this scenario, and maybe duplicate it on your end: 1) I use the graphic borders feature of MS Word to create a … | |
Hi all, How to convert an pdf file to html in Java? Currently all my data is generated into a report in pdf and i want to be able to generate it to html page as well. How to go about implementing this, is there any source code in java? … | |
I'm creating a Web-based label printing system. For every label, there should be a unique s/n. So when a user decided to create 1000 labels (with the same data), all of it should have unique s/n, therefore the pdf will have 1000 pages, which increases the file size. My problem … | |
please help me to display the multiple image from mysql this id my file for uploading multiple image $valid_formats = array("jpg", "jpeg", "png", "gif", "zip", "bmp", "pdf", "doc", "docx"); $max_file_size = 100000*100; //100 kb $path = "uploads/"; // Upload directory $count = 0; extract($_REQUEST); // Loop $_FILES to execute all … | |
one of my computers has this problem. All r configured the same way. W7, one user, **Admin**, on C drive All other users on D drive All systems r up to date. Network printer hard wired to router. All have the same printer drivers installed. I believe the following symptoms … | |
I want to integrate local seach engine to my website. Which open source tool is best for it, I want to search pdf files also. Will google custom search do this job. | |
Hi, I have here a code for saving a pdf file to mysql database as blob. may problem is how can i retrieve pdf blob in php. thank you. <?php if(isset($_POST['add']) && $_FILES['filename']['size'] > 0) { $fileName = $_FILES['filename']['name']; $tmpName = $_FILES['filename']['tmp_name']; $fileSize=$_FILES['filename']['size']; $fileType = $_FILES['filename']['type']; $fileType=(get_magic_quotes_gpc()==0 ? mysql_real_escape_string( $_FILES['filename']['type']) … | |
Hi. I'm still a newbie on apache/linux, so I'm hoping that my problem is relatively easy for more experienced people to solve. I have 4 folders, each containing an .htaccess file to restrict access to the PDF files they contain. My problem is that whenever I edit the content of … | |
<?php ob_start(); require( 'fpdf.php' ); $pdf = new FPDF(); $pdf->AddPage(); $pdf->Open(); $con = mysqli_connect( "localhost", "root", "", "my_db" ); // Check connection if ( mysqli_connect_errno() ) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query( $con, "SELECT * FROM Persons" ); while ( $row = … | |
Hello. I am having a hard time in figuring out how to view the pdf file after uploading it in your system. My plan is retrieved PDF files that is stored in mysql database and display them in the browser when the user click the view button. please help me. … | |
hi every one , i have this Question and i hope if i find an answer about it , can i convert a pdf file to image using vb6 ?? | |
My task bar in XP changed color to a pale green and the font size changed (I am paritally color blind, so color is a guess to a degree) from the normal blue. When that happens, the wireless internet won't work either. I have run all the programs that you … | |
Hi, I have followed the tutorial in this link: http://www.cs.ucla.edu/~zhu/tutorial/Using_MS-MPI.pdf to use MPI on my local windows machine with vs. The simple Hello wold work as expected, I have 2 processors and I get the expected result. The problem is when I try a very simple send receive program I … |
The End.