|
||||
aya... sudah la supian. kalau dok edjust takdonye den nak post kan cini ha. network punyo printer pun den x leh print. kengkawan yang tau tuh silo2 lah bantu den ni.
__________________
I hate when: vBulletin Message: Sorry! The administrator has specified that users can only post one message every 60 seconds |
|
||||
p/s: hymns... ko ON dak printer ko? muehehehhe....
__________________
<form name="jump"> <select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" style="border:1px #393F31 solid;color:#393F31;font:10px Verdana;font-weight:bold;" > <option value="0" style="background: #9CC8FE" selected>*SELECT-LINKS</option> <option value="http://www.gengturbo.org/" style="background: #FF0000">GENGTURBO</option> <option value="http://www.phixelgrafix.com/" target="new" style="background: #C6D607">PHIXELGRAFIX</option> <option value="http://dailydigital.phixelgrafix.com/" style="background: #FCBC45">OLD-BLOG</option> <option value="http://www.mesrahosting.net/" style="background: #FF99CC">WEBHOSTING</option> </select> </form> |
|
|||
Hahahaha...
Anyway, I managed to re-write the code and managed to get it working... PHP Code:
If you want to use a network printer, subsitute printer_open("HPL7"); with: printer_open("\\\\DOMAIN_NAME\\Printer_Name"); (Note the extra slashes) In this code, it attempts to print a text file (wohoo.txt) which is in the same directory as this script. If you want to use a full physical path, make sure you use double back slashes (\\) or forward slashes (/). This is just a simple example I made... you can modify it to accommodate your print options: printer_set_option If you have any questions, feel free to dump them here... |
|
|||
|
||||
ahak!~ aku nak print excel doc sebab aku buat report guna query sql then convert ke excel format utk create graf. so aku nak bila org tengok keuntungan diorang dari graf terus leh print graf tuh... hek hek
__________________
I hate when: vBulletin Message: Sorry! The administrator has specified that users can only post one message every 60 seconds |
|
|||
Ic...
Just a question, will the app run on a LAN or on the Web? If it's running on the web and you want remote users to be able to print documents using this fucntions, it wont work. Documents will only be printed on printers which are connected to the server (local or networked). An alternative is to use GD to generate a graph, then use the brower's print function to print the document. |
|
|||
Well... can't help you there hymns.. your best stab would probably still be to use GD to generate a graph then use your browser's print function.
However, I believe that it can be done - the way you want it too. Just needs the patience... but I wouldn't waste my time doing or reinventing something insignificant that can already be done a simpler way... |
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to display XML document with several different element in table form by XSLT? | danielwst | Website Design | 8 | 05-04-2007 05:16 AM |
| The hottest web,print and interactive design company in Malaysia ! | riveron | Websites Review and Suggestion | 0 | 10-08-2005 12:36 PM |
| print function | ardella | Website Programming | 2 | 13-05-2004 12:50 AM |
| php : perbezaan print & echo | progmania | Website Programming | 2 | 18-08-2003 09:14 AM |
| kasih | Website Programming | 3 | 16-11-2002 11:25 AM | |
All times are GMT +8. The time now is 09:54 AM.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.












Linear Mode

