Jump to content

Search the Community

Showing results for tags 'pdf'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 12 results

  1. Hey guys, EDIT: I have been looking on the web to find a way to automatically download a pdf when a page opens, without user having to click a link. However, no solution found (at least which i can get to work...) Help is much appreciated!! Thanks guys!
  2. MarcosFM

    w3schools in pdf

    Hi! I've been learning HTML with w3schools and I really like it! Is there a version of w3schools in pdf format? Thank you!
  3. imranmsm

    Embedding PDFs

    How can I display my PDF file via my web site and make clearly readable to the users
  4. Hello, for the longest time we were using FPDF to generate our pdf invoices. We recently upgraded to TCPDF and noticed we lost the bold font style. Our system admin says the font files are where they should be, in fact we can call $pdf->SetFont( 'Arial', 'BI', 10 ); and it is bold italic. Pass in 'I' and it is Italic but if we only pass in 'B' for bold, it display as normal font, no style. In the older FPDF, bold worked fine. Is there something we might be missing? We really need headers, certain labels and info to stand out in bold. Thank you for any help with this. Running the latest version of TCPDF on a Linux server. Thank you for any help with this.
  5. Hi, I need help. (for those who don't know how does Indian Numbering System work.. the basic idea is this: 10,00,00,000... first comma comes after three zeros which is a thousand and then after two zeros.. so there is no Hundred Thousand, a hundred thousand is called One Lakh... for more details, please read the wiki article on "Indian Numbering System") I managed to look around on internet and found myself a code which suited my need which was to convert a Number into Words with indian numbering sytem in a PDF form. It worked greatly until one day when I encountered a strange problem: After a particular calculation which gives the result 170080.00 and when I convert it to words.. the following conversion happens: "One Lakh Seventy Thousand and Seventy-Nine Rupees and One Hundred Paise Only"... instead of "One Lakh Seventy Thousand and Eighty Rupees only" (Actual result was 170080.27, from which I substracted 0.27 to round it off to 170080.00) =========== code is: function number2text(value) { var fraction = Math.round(frac(value)*100); var f_text = ""; if(fraction == 1) { f_text = " and "+convert_number(fraction)+" Paisa"; } if(fraction > 1) { f_text = " and "+convert_number(fraction)+" Paise"; } if (Math.floor(value) == 1) { return convert_number(value)+" Rupee"+f_text+" Only"; } else { return convert_number(value)+" Rupees"+f_text+" Only"; } } function frac(f) { return f % 1; } function convert_number(number) { if ((number < 0) || (number > 999999999)) { return "NUMBER TOO LARGE TO CONVERT!"; } var Gn = Math.floor(number / 10000000); /* Crore */ number -= Gn * 10000000; var kn = Math.floor(number / 100000); /* lakhs */ number -= kn * 100000; var Hn = Math.floor(number / 1000); /* thousand */ number -= Hn * 1000; var Dn = Math.floor(number / 100); /* Tens (deca) */ number = number % 100; /* Ones */ var tn= Math.floor(number / 10); var one=Math.floor(number % 10); var res = ""; if (Gn>0) { res += (convert_number(Gn) + " Crore"); } if (kn>0) { res += (((res=="") ? "" : " ") + convert_number(kn) + " Lakh"); } if (Hn>0) { res += (((res=="") ? "" : " ") + convert_number(Hn) + " Thousand"); } if (Dn) { res += (((res=="") ? "" : " ") + convert_number(Dn) + " Hundred"); } var ones = Array("", "One", "Two", "Three", "Four", "Five", "Six","Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen","Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen","Nineteen"); var tens = Array("", "", "Twenty", "Thirty", "Fourty", "Fifty", "Sixty","Seventy", "Eighty", "Ninety"); if (tn>0 || one>0) { if (!(res=="")) { res += " and "; } if (tn < 2) { res += ones[tn * 10 + one]; } else { res += tens[tn]; if (one>0) { res += ("-" + ones[one]); } } } if (res=="") { res = "Zero"; } return res; } ========================= Thanks!
  6. steveherrmann

    object - PDF small

    Hello all, I was experimenting with the <object> tag, putting one webpage inside another HTML document. I found that if I put a PDF in it appear just under 70% of its original size, .....even if I specify the height and width. <object src="folder/thumbnail.pdf" type="application/pdf" width="100" height="100"/> But if I put a PNG (of the same image, size unaltered) in another HTML document and call that in, it appears at 100%. <object data="page2.html" type="text/html"> alt : <a href="page2.html">page2.html</a> </object> ....WHY is this?
  7. confused and dazed

    export mysql data using PHP into a PDF file

    Hello internet. My next task is to try and pull data from mysql using PHP and place that information into a table in a PDF file format. Everything I have found when I searched on the topic leads me to believe this is an extremely advanced form of coding and I am certainly not on that level. Is there software or something out there that you can point me to, to help create these PDF files from data in mysql?
  8. I've created a simple application (CGI) to display a .PDF document on a web page (using iframe) and an input field (or two). The PDFs are scanned documents that need a number assigned to them based on what is hand written on the document. The annoyance is: When I display this on the web page, the only way for the user to be able to access the input field is to click on it with the mouse. I know this might sound really simplistic, but is there any way to force the cursor to the input field so the user doesn't have to click it? The really annoying part of this is that you can't even use the tab key to get to the input field (because of adobe). The user typically has to do 100 or more at a time and bouncing back and forth between the mouse and keyboard gets old really fast. -Rick
  9. Tom

    References as PDF

    Hi W3Schools - Team, One Month ago, I decided to create my own homepage. During my studies at w3schools.com I sit in front of my laptop and read, change window, type, change window, read, change window, type... After one day I wish to have all references as pdf-document for printing, but I can't found anyone. So my suggestion:All refernces as PDF-document for printing.
  10. Hello everybody Im wondering how can you make page that displays every .jpg, .gif & .pdf files from directories on website table. Im not sure what coding language i have to use, but i think its mostly html. PHP & javascript code will be accepted too. Found solution after some research: http://www.brightcherry.co.uk/scribbles/php-list-all-files-in-a-directory/
  11. On the folder where i upload the pdf, the code to view it is this however i believe the code to view it on the other folder on the serve would be but it is not working can someone help please
  12. I have a question, we are creating a form that is currently a PDF document found on our website. We are creating a web based version of the form. I would like to know if the ability to print the form as a PDF once it is filled in by a user is a JavaScript command. If so if anyone can help with the scripting that makes that happen would be great, as well as any pointers as to how to control any formatting in the printed PDF that will be rendered. Thank you in advance for any assistance you can offer. For reference as to what we would like the form to resemble when printed a copy of the current form can be found at: http://spo.usu.edu/files/uploads/SP-01.pdf
×