phpprintipp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpprintipp] PDF and page orientation


From: Frédéric Hardy
Subject: [Phpprintipp] PDF and page orientation
Date: Wed, 11 Jul 2012 09:37:37 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

Hello !

I'm trying to using Phpprintipp to print a PDF on a DELL 1130.
I'm using the following (very simple) code :

<?php

require_once('/usr/share/php/printipp/PrintIPP.php');
$ipp = new PrintIPP();
$ipp->setHost('localhost');
$ipp->setPort('631');
$ipp->setPrinterURI('/printers/Dell-1130-Laser-Printer');
$ipp->setData($dataFromPDF);
$ipp->printJob();

?>

It works, but i have a little problem.
There are some page in my PDF which has landscape orientation, and others with portrait orientation, but all pages are print with portrait orientation.

Any suggestions ?

Best regards,
Fred

--
Frédéric Hardy
Directeur technique
Tél : 04.78.14.01.53
Fax : 04.37.48.01.09




reply via email to

[Prev in Thread] Current Thread [Next in Thread]