PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
gtk print operation (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: gtk print operation
#715
edryan (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
gtk print operation 2 Months, 3 Weeks ago Karma: 0  
how could i perform print operations in php gtk???
do i need extensions for that???
 
 
Last Edit: 2008/08/26 23:46 By edryan.
  The administrator has disabled public write access.
#784
auroraeosrose (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:gtk print operation 2 Months, 1 Week ago Karma: 0  
Printing requires Cairo support to function properly.

Before this year's GSOC this was not possible. Now it is possible, but the code is not ready for release yet (still some bugs)

Print capability is only available with the cvs version of PHP-GTK and with the cvs version of the new OO cairo PECL extension. So you have to check out the cairo extension, compile it, then compile PHP-GTK against the cairo extension, and then look at the examples in the /demos/examples folders in CVS. It's a lot of work, you might just want to wait until the the cairo extension and PHP-GTK get their next release ;)
 
  The administrator has disabled public write access.
#807
XeKtRuM (User)
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Re:gtk print operation 2 Months, 1 Week ago Karma: 0  
are you talking about print on a printer? if so, theres a php_printer extension for windows in the PECL repository, and if you are under Linux you can do it by using the lpr/lpd commands (CUPS) by using shell_exec or exec. I don't know if you could print images with any, but shure you can print text
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2008. kksou.com. All Rights Reserved