Results 1 to 3 of 3

Thread: PHP to PDF-Class 2 Why Use it/Setting font

  1. #1
    ali_num13 is offline Senior Member+
    Last Online
    9th August 2016 @ 06:28 PM
    Join Date
    29 Dec 2012
    Gender
    Male
    Posts
    199
    Threads
    102
    Credits
    1,008
    Thanked
    8

    Lightbulb PHP to PDF-Class 2 Why Use it/Setting font

    Assalam o aliekum dosto kesya hain ap sab
    ye PHP ko use kar k PDF files bnanay ka 2nd lecture hy. umeed hy ap sab k lye faiday mand sabit hoga. Agr apny pehla lecture nahi dekha to es link pe follow karein

    PHP to PDF Lecture 1 Introduction

    ap soch rahy hon gay k jb humary pas pdf may convert karny k lye bht c online services or softwares mojood hain to humay FPDF ki zarurat hy. Hum ms word may bhi pdf files bna sakty hain or ksi bhi document ko pdf may convert bhi akr sakty hain to FPDF kyu use karein.
    uski vja ye hy k kabhi kabhi humay PHP ko use kar k PDF files bhi bnani par jati hain. Misal k tor par aap ek esi website bna rahy hain jis may ap user say input lay k uski he pdf bna k user ko download karwa rahy hain. To yahn aap PHP use karein gay or usky sath ye FPDF library.

    agr apny last elcture follow kar k setup sae kar lia to bas ab hum FPDF k functions call akr k unhy values den gay or PDF banti chali jye ge.
    Es lecture may hum Fonts ko set or change karny k baray may sikhein gay.

    FPDF SetFont() method:
    es tutorial ki video may ny es link pe bhi upload ki hy..... FPDF SetFont
    sab say pehly hum us wohi last exemple dekhty hain

    require_once("fpdf/fpdf.php");
    $a = new FPDF();
    $a -> AddPage();

    $a -> SetFont("Arial","",12);
    $a -> Cell(95,10,"Some text",0,0,"C");
    $a -> Output();


    sirf or sirf etna likhny say he humari pdf may ek line print ho k humary samny aa jati hy.

    yahn hum sirf SetFont() ko discuss karein gay.
    SetFont() ka method humary PDF document may text k font ko btata hy k humny konsa use karna hy. es example may hum Arial Regular 12 points use kia hy.
    ye method sirf 3 parameters leta hy.
    Pehla parameter wo font name hy jo humny use krna hy jesay yahn Arial use kia hy may ny
    Dusra parameter font ka style hy..... empty string=Regular...."B"=Bold..."I"=italics..."U"=underline.
    Teesra parameter font ka size jo yahn may ny 12 points use kia hy.

    agr aap bold or italics sath use karna chahty hain to "BI" likh dein yani hum ek say ziada font styles bhi use kar sakty hain.teeno use karny k lye "BIU" likh den gay.

    es tutorial ki video may ny es link pe bhi upload ki hy..... FPDF SetFont

    Umeed hy dosto aap sab ko bht psnd aya hoga or faida zarur hoga. FPDF PHP ko use kr k PDF files bnany ki library hy.
    PHP say hum Winzip, ms word, ms excell, pdf, txt sameet bht c files bna sakty hain..

    koi bhi question ho aap bila jhijhak puch len.

  2. #2
    ushadow is offline Junior Member
    Last Online
    26th February 2016 @ 09:26 AM
    Join Date
    26 Feb 2016
    Age
    34
    Gender
    Male
    Posts
    1
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    Contact Yahoo Mesenger : u.shad0w
    Skype: u.shad0w


    Our service:

    * selling Webmail unlimited inbox 100% all domain
    * selling craiglist mailer with rdp admin support spam deliver 100% , Craigslist Email Harvester Pro 2016
    * selling leads all country (electronic, alibaba, bank all country , paypal leads, Jobseeker leads..) . ALL email verify all domain, leads fresh daily
    * selling localhost inbox all domain ( RDP earthlink , cloud , comcast , verizon fresh dayly )
    * selling Shell hosting bullet support scampage avoid defecte phising
    * selling scampage alibaba, yahoo, google documents, dropbox ,pdf email pass, boa bank, chase bank, hsbc bank... ect

    + cPanel Non Black list
    + Shell Good Upload -Unzip
    + Rdp Administrator
    + Unlimited webmail Bcc 1000
    + Mailer php Inbox
    + Smtp Unlimted
    + Spamming Service (GooD Results)
    + Scam page & Letter
    + Shop Script Paymet Fix
    + Dating Paid account : match , zooks ....
    + Alibaba Gold account

    Mail+Pass - Fresh Data Bass & Private
    Amazon - Apple - Alibaba (logins) - Our time ,Eharmony - Walmart - Dell - Sainburys - Ocado - laredoute -103 Vodafone - 200+Uber With cc's- Very - Littlewood - next - skype logins - fedex logns- Uk Mail Logins etc...

    Mail Leads - Fresh Data Bass & Private
    Company - Business - Alibaba - Jobseeker - Bank - Paypal .. ect

  3. #3
    mshobi's Avatar
    mshobi is offline Senior Member+
    Last Online
    28th April 2020 @ 06:49 PM
    Join Date
    30 Nov 2010
    Location
    Karachi
    Gender
    Male
    Posts
    352
    Threads
    9
    Credits
    1,662
    Thanked
    8

    Default

    nice sharing

Similar Threads

  1. Replies: 35
    Last Post: 3rd September 2016, 01:03 PM
  2. Replies: 43
    Last Post: 3rd September 2016, 01:02 PM
  3. PHP to PDF-Class 2 Why Use it/Setting font
    By ali_num13 in forum Courses
    Replies: 0
    Last Post: 25th February 2016, 07:55 PM
  4. ♥YahoO Messenger Default Font Setting♥
    By Waqar Rasheed in forum General Discussion
    Replies: 0
    Last Post: 7th August 2011, 06:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •