Giter VIP home page Giter VIP logo

Comments (11)

Maks3w avatar Maks3w commented on September 17, 2024

its ZendPdf try again watching the cases

from zendpdf.

bhuvaneshwaran avatar bhuvaneshwaran commented on September 17, 2024

in my controller
use ZendPdf\PdfDocument;

public function monthlyReportPdfAction()
{

$pdf = new PdfDocument();

$pdf->pages[0] = new Page( Page::SIZE_A4 );
$pdf->pages[0]->setFont( Font::fontWithName( Font::FONT_HELVETICA ), 24 );
$pdf->pages[0]->drawText( 'Hello world!', 240, 400 );

$pdf->save( 'example.pdf' );
}

in vendor
zendpdf is there

from zendpdf.

Maks3w avatar Maks3w commented on September 17, 2024

Configure your autoloader for use it. If you use Composer the configuration should be automatic

from zendpdf.

bhuvaneshwaran avatar bhuvaneshwaran commented on September 17, 2024

screenshot

from composer I update my zendpdf tooo,,,

from zendpdf.

Maks3w avatar Maks3w commented on September 17, 2024

Are you using Composer autoloader?

from zendpdf.

bhuvaneshwaran avatar bhuvaneshwaran commented on September 17, 2024

ya I m using composer autoloader,going to try again pdfdocument

from zendpdf.

bhuvaneshwaran avatar bhuvaneshwaran commented on September 17, 2024

hay I found one issue,
zendpdf
-> pdfdocument.php
use zend/memory,
but in my library zend folder alone is there,
my folder like
zendframework
->bin
->library
->zend
memory folder is not there
latest version has memory folder??????

from zendpdf.

Maks3w avatar Maks3w commented on September 17, 2024

@bhuvaneshwaran All your problems looks part of the use of Composer in your project. I suggest you ask in q&a sites like stackoverflow so more people can help you in your problems.

from zendpdf.

bhuvaneshwaran avatar bhuvaneshwaran commented on September 17, 2024

my issue cleared @Maks3w but I am getting empty screen when I click my Pdf hyperlink????any idea

from zendpdf.

Maks3w avatar Maks3w commented on September 17, 2024

@bhuvaneshwaran Better to ask in a Q&A site where more people can help you.

from zendpdf.

bhuvaneshwaran avatar bhuvaneshwaran commented on September 17, 2024

hay @Maks3w my issue cleared,i got the output???? simple line makes me to sit lot of hours??????thanks for ur comments too

from zendpdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.