[PHP-DB] Re:[PHP-DB] Re: Print data
I'm interested in examples with codes thanks in advance.. From: Dan Koken [EMAIL PROTECTED] Date: 2002/10/25 Fri AM 06:12:55 GMT+03:00 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: [PHP-DB] Re: Print data We faced this problem, and decided if we couldn't get a good solution to eliminate the printer. Turns out the users liked it better, and we eliminated a lot of paper. - First we wrote a report writer. - All reports go to the database. - We wrote a report file system. - The report output title shows up in the user report file system in the IN BASKET. - The user can click the file and it displays the first 5 pages to the screen. They can change the start page and number of pages. - The user can file it into other files like WEEKLY REPORTS. - They can send the report to others and it shows up in their IN BASKET. - If they delete the report it sits in the WASTE BASKET file for 10 days. This gives them the ability to file it back somewhere if it was deleted by mistake. This is fast because the reports are run on the server. Only one copy of the report is kept in the database, and the user report file system points to it. Anyway this was our solution and the users love it since they no longer have to file paper, but file reports electronically. They can carbon copy anyone. They can look at any section of the report any time. They can still print the report if they want by using the print button. HTH... Have a great day... Dan José Moreira wrote: hello, at my company we have several network printers and i was was wondering if it's possible to print directly to them using PHP, instead of showing on the screen or both ... to gain more control on what is printed, because of the nasty browsers header and footer ... whom i now how to remove ... i know that the printer IP is 192.192.1.100 and the port is 9005 ... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Free Email Account at www.flash.ro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re:Re: [PHP-DB] Print data
hy, i'm having a problem with printing the data from a html or php page... how can i solve this problem ? I mean when i'm using frames they appear or like a view with scrollbar or there is an option to print them singulary. I want to print in a format that i want..like a report ... thanks From: 1LT John W. Holmes [EMAIL PROTECTED] Date: 2002/10/23 Wed PM 02:20:35 GMT+03:00 To: José Moreira [EMAIL PROTECTED], Php Windows [EMAIL PROTECTED], Php-Db [EMAIL PROTECTED] Subject: Re: [PHP-DB] Print data hello, at my company we have several network printers and i was was wondering if it's possible to print directly to them using PHP, instead of showing on the screen or both ... to gain more control on what is printed, because of the nasty browsers header and footer ... whom i now how to remove ... i know that the printer IP is 192.192.1.100 and the port is 9005 ... The printer functions in the manual only work in windows and only work for the printer attached directly to the server. Hmm..I wonder, though, if you have a network printer that's set up to print from the server, can you use the printer functions to print to that? I'm sure the answer is in the manual. If not, maybe you can open a connection directly to the printer and send it the raw data, if you know the format. ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Free Email Account at www.flash.ro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] zend debugger
Hy, I'm having problems with Zend development tool.. anyone can help me in order to run functions like oci* and ora* It not recognize these functions where sholud I have to make changes in order to run zend debugger...otherwise the php is running from the browser but in the debugger it does not recognize these functions... Thanks and I have an ultimate request: Friends from romania please send me an e-mail because i think It's very good for both or third... parties to help each other only for human development... Free Email Account at www.flash.ro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] o mica problema cu PHP
Salut, te-am vazut in lista PHP si m-am gandit ca poate m-ai putea ajuta intr-o problema. interoghez o baza de date si extrag anumite campuri pe care le asez intr-o pagina. Vreau ca in functie de valorile existente si selectate de catre user sa reinteroghez baza de date si in cadrul aceleasi pagini sa apara noi campuri cu informatiile cerute. Mai tehnic vorbind nu stiu cum sa fac ca o functie scrisa special pentru reinterogarea bazei sa se activeze la un moment dat si sa refac pagina, un fel de creare dinamica...partea cu reintroducerea datelor am rezolvat-o dar functia nu se executa la acel eveniment... multumesc Free Email Account at www.flash.ro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re:[PHP-DB] php and javascript
hy, if you have found the answer plz send me a copy... i'm having the same type of problems... I want to modify or to create a new select option when someone clicks a button. 1. I extract some values from a database 2. i want when someone clicks a button, in the same page, to load other values from the database and put them there it's a sort of dynamic loading ... thanks for reading and i will help you if could solve this problem.. the part with inserting values from database to the form is done but the rest of the part is done in a javascript function that does not works... From: Smita Manohar [EMAIL PROTECTED] Date: 2002/09/25 Wed PM 06:20:48 GMT+03:00 To: [EMAIL PROTECTED] Subject: [PHP-DB] php and javascript hii all, in my php script, im havin one form, in which having checkboxes. values for which are coming from database, and i want to do some action for checked vales. so i create array of that checkbox. now i want to include one link for Check All which helps user to check all boxes in single click. since that form is too big, i dont want to reload the entire page. hence trying to use javascript for this stuff. i've included one more check box for Check All which is used as, INPUT type=checkbox name=chk_select_all onclick=javascript : func_select_all() which when clicked invokes function to select all checkboxes. the function func_select_all has been defined in the head /head as, script language=javascript function func_select_all() { if(document.subj_frm.chk_select_all.checked) { for(i=0;inum_rows ; i++) //num_rows variables have been defiened in the beginning. { document.subj_frm.chk_id[i].checked=true } } else { for(i=0;i=num_rows; i++) { document.subj_frm.chk_id[i].checked=false } } } /script the phpscript where i print checkboxes is, while ($row = mysql_fetch_array($result)) { . . . echo td align=centerinput type=checkbox name=chk_id[] value=.$row[subj_id]. /td ; // values for which are coming from database . . . } now in the above line (in phpscript) name of the checkbox is chk_id[] i should define it as array, since i have to pass array of all checked values. but when i select the check box named, chk_select_all (see above code) it goes to the function defined in javascript func_select_all but there it gives error for checkbox name, since i've defined it as an array(in phpscript), instead if in my phpscript i dont specify it as an array, ie, echo td align=centerinput type=checkbox name=chk_id value=.$row[subj_id]. /td ; javascript function works fine, and it selects all checkbox values. but in that case, my php code doesn't work fine, since checkbox value is not array, it cant remeber checked values. can anyone pls suggest something? of can give other solution to check all values without reloading the page thanks in advance smita. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Free Email Account at www.flash.ro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php