sponsor Vim development Vim logo Vim Book Ad

fpdf.vim : PDF writer

 script karma  Rating 29/8, Downloaded by 2305  Comments, bugs, improvements  Vim wiki

created by
Yukihiro Nakadaira
 
script type
utility
 
description
fpdf.vim is a port of FPDF.

About FPDF:
  FPDF is a PHP class which allows to generate PDF files with pure PHP.
  See http://www.fpdf.org/


Requirement:
  :set encoding=utf-8 and iconv() feature for non-ascii text.
  xxd for image/font embedding.
  xxd and gzip for compression.


Usage:
  :set runtimepath+=/path/to/fpdf-vim
  :let FPDF = fpdf#import()
  :let pdf = FPDF.new()
  :call pdf.AddPage()
  :call pdf.SetFont('Arial','B',16)
  :call pdf.Cell(40,10,'Hello World!')
  :let pdfout = pdf.Output()
  :put =pdfout


Reference:
  See FPDF site.
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
fpdf-vim.zip 0.4 2008-08-15 7.0 Yukihiro Nakadaira Updated codebase to fpdf1.6.
fpdf-vim.zip 0.3 2008-08-12 7.0 Yukihiro Nakadaira Changed to use Vim7.2 floating point feature.
Added :TOpdf command.
fpdf-vim.zip 0.2 2008-03-21 7.0 Yukihiro Nakadaira Added support embedding font and image (require xxd)
fpdf-vim.zip 0.1 2008-03-20 7.0 Yukihiro Nakadaira Initial upload
ip used for rating: 3.15.156.140

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github