Re: [PHP] Re: Printing JPEG

2008-10-30 Thread Yeti
If you are on a linux box with lpr [1] running you could try a shell_exec() in combination with imagemagick [1] http://tldp.org/HOWTO/Printing-Usage-HOWTO-2.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Printing JPEG

2008-10-30 Thread ANR Daemon
Greetings, "Kyle Terry". In reply to Your message dated Thursday, October 23, 2008, 15:32:07, > I'm stuck... What is the best way to send a jpg to a printer with PHP? Looks > like it is only working with png and bmp... Example? -- Sincerely Yours, ANR Daemon <[EMAIL PROTECTED]> -- PHP Gener

[PHP] Re: Printing within functions

2007-11-12 Thread Radek Hladik
Philip Thompson napsal(a): Hi. I thought of this when I read the emails about using functions or includes... What are your thoughts about *printing* things from within functions? For example: ... ... Obviously, these are over-simplified functions, but you get the point. Nonetheless, do yo

Re: [PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Darren Whitlen
look at the subject ;) that's how I guessed what he wants Woops, missed that. You have a good point there :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Zoltán Németh
2007. 06. 5, kedd keltezéssel 11.50-kor Darren Whitlen ezt írta: > Zoltán Németh wrote: > > 2007. 06. 5, kedd keltezéssel 11.38-kor Darren Whitlen ezt írta: > >> karthi keyan wrote: > >>> Hi, > >>> > >>> Is there any way to print the reason why the query has been failed, > >>> like the way M

Re: [PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Darren Whitlen
Zoltán Németh wrote: 2007. 06. 5, kedd keltezéssel 11.38-kor Darren Whitlen ezt írta: karthi keyan wrote: Hi, Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()? Regards, KARTHIK. -

Re: [PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Zoltán Németh
2007. 06. 5, kedd keltezéssel 11.38-kor Darren Whitlen ezt írta: > karthi keyan wrote: > > Hi, > > > > Is there any way to print the reason why the query has been failed, like > > the way MySQL-PHP has mysql_error()? > > > > Regards, > > KARTHIK. > > > > > > --

[PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Darren Whitlen
karthi keyan wrote: Hi, Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()? Regards, KARTHIK. - Download prohibited? No problem! CHAT from any browser, without download. I'm confuse

Re: [PHP] Re: Printing library in PHP ?

2006-03-20 Thread robert mena
Hi Burhan, Thanks. I'll try that but even tough my clients now uses windows I generally do not like to be too commited to a single platform. -rm On 3/15/06, Burhan <[EMAIL PROTECTED]> wrote: > > robert mena wrote: > > Hi Manuel, > > > > I am trying to print from the client side. The client wil

Re: [PHP] Re: Printing library in PHP ?

2006-03-20 Thread robert mena
Boban, I do not know what noobie is but thanks for the reply. I know that the effect I want can be achieved using CSS but the question was "there is a printing llibrary" so some of the trouble would be solved by this library and not myself On 3/14/06, Bogdan Ribic <[EMAIL PROTECTED]> wrote: > >

Re: [PHP] Re: Printing library in PHP ?

2006-03-15 Thread Burhan
robert mena wrote: Hi Manuel, I am trying to print from the client side. The client will be windows. Use ActiveX if you can get them to stick with IE (shouldn't be a problem). Google for 'ScriptX.cab' -- a free printing control that lets to fine tune printing. -- PHP General Mailing List

[PHP] Re: Printing library in PHP ?

2006-03-14 Thread Bogdan Ribic
This is more of an HTML question than it has to do with PHP, and you sound like a noobie :) Only useful info I can give you is to use THEAD in tables to hold headers, browsers put that row first on every page when breaking large table on several pages. Boban. robert mena wrote: For exampl

[PHP] Re: Printing library in PHP ?

2006-03-14 Thread robert mena
Hi Manuel, I am trying to print from the client side. The client will be windows. Thanks. On 3/13/06, Manuel Lemos <[EMAIL PROTECTED]> wrote: > > Hello, > > on 03/13/2006 09:44 AM robert mena said the following: > > I am currently migrating an application originally written with Delphi > to >

[PHP] Re: Printing library in PHP ?

2006-03-13 Thread Manuel Lemos
Hello, on 03/13/2006 09:44 AM robert mena said the following: > I am currently migrating an application originally written with Delphi to > PHP. Everything is going fine except the printing of the reports that does > not produce the same visual result (i.e does not look the same or has some > ali

[PHP] Re: printing out messages while processing a file

2004-06-23 Thread Gerben
just use the flush() method. this will send all text that is already pinted see the documentation for more info example: print "hello"; flush(); sleep(1000); print " world"; gr GB "Merlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there, > > I am writing a backup_restore f

[PHP] Re: Printing invoices

2004-06-21 Thread Lester Caine
Bskolb wrote: Could someone direct me to a printing solution from a static document that would render variable data elements to be sent to a printer queue? I was thing perhaps of an RTF for the static page, but can't seem to locate any way of inserting the variable data, then spit out each occurra

Re: [PHP] Re: Printing invoices

2004-06-20 Thread Larry Brown
I would highly recommend pdf. I use it for different reports. I use pdflib which my employer has gratiously afforded; however, I believe there is an open source version. I don't know how well it works, but pdflib creates some really attractive results. Larry. On Sun, 2004-06-20 at 19:33, Manue

[PHP] Re: Printing invoices

2004-06-20 Thread Manuel Lemos
Hello, On 06/20/2004 08:30 PM, Bskolb wrote: Could someone direct me to a printing solution from a static document that would render variable data elements to be sent to a printer queue? I was thing perhaps of an RTF for the static page, but can't seem to locate any way of inserting the variable d

[PHP] Re: Printing landscape

2004-03-16 Thread Michael Nolan
Luis Mirabal wrote: actually, you can control your printer, look: http://www.php.net/manual/en/function.printer-set-option.php you have to do: $handle = printer_open(); printer_set_option ($handle, PRINTER_ORIENTATION , PRINTER_ORIENTATION_LANDSCAPE); printer_close($handle); you've got many inter

[PHP] Re: Printing Issue

2003-06-09 Thread Jean-Christian Imbeault
Birdto wrote: Hi All, I have a problem in printing database. I have drawn some data from the MySQL and print to A4 paper. When the data are more than 1 page, it has to print on other A4 paper. The problem is, I need the program to print the same heading in every page. How can I do this? Are you di

[PHP] Re: printing a php file as a text file

2003-04-02 Thread Petter Aas
Chris Sano wrote: How would I go outputting my PHP file as a text file -- for example, I have a set of scripts that I plan to release to the public and would like to make this script viewable through PHP without having to call a text file. I know I have seen this somewhere and I'm wondering if any

[PHP] Re: Printing help

2003-04-02 Thread Petter Aas
Jay Mitchell wrote: I need to know if there is a way to send output to a users local printer using a browser accessed database. Will php3 do this? IfSo how? Thanks in dvance Jay http://www.php.net/manual/en/ref.printer.php I believe that you can find something usefull there. -- PHP General Mailing

[PHP] Re: printing

2003-01-28 Thread Paul Chvostek
On Tue, Jan 28, 2003 at 09:38:09AM +0200, Shaun van den Berg wrote: > > Is there a way in php to print to a printer? say i have a order from , when > someone clicks the submit button - then print the form plus the entered > details to a page ? Are you talking about having a submit button that lau

[PHP] Re: Printing ASCII on Linux Server

2002-09-05 Thread Richard Lynch
>Printing works fine, however 2 problems: > >1. linefeed ("\n") doesn't work > >2. escape sequences to print BOLD, ITALIC, UNDERLINE, >NARROW don't work Probably the same problem, really. >$lp = popen("lpr -Plp1", "w"); I'm guessing that popen uses the shell or something, and it's "eating"

[PHP] Re: Printing a PHP Class

2002-08-01 Thread Markas
Its hard to imagine anything better and clear than what print_r() or even var_dump() outputs... "Marty McGowan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > PHPers, > In a genaology application, where I add individuals to > an array: > > $everyone[] = new I

[PHP] Re: Printing Problem

2002-07-09 Thread Richard Lynch
>I'll repeat my ealier question because some people can not think for >themselves.. There are actually two (2) possibilities here... One is that you actually want to print the invoices on the printer connected to the *WEB* *SERVER* If that is the case, you really should skip the whole JavaScrip

[PHP] Re: Printing JPEG images generated with ImageJPEG with IE/WIN

2002-01-26 Thread David_Bourne
>>Hm, it could be that IE tries to reload the picture (which isn't there >>anymore because the form-data has been expired). Perhaps saving the >>picture temporarly on the server will prevent the problem. >> > >That could be what is happening. I'm generating data for students to >analyze on one pa

[PHP] Re: Printing JPEG images generated with ImageJPEG with IE/WIN

2002-01-25 Thread David_Bourne
>To: [EMAIL PROTECTED] >Message-ID: <[EMAIL PROTECTED]> >Date: Fri, 25 Jan 2002 16:20:57 +0100 >From: Martin Thoma <[EMAIL PROTECTED]> >MIME-Version: 1.0 >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit >Subject: Re: Printing JPEG images generated with ImageJPEG with IE

[PHP] Re: Printing JPEG images generated with ImageJPEG with IE/WIN

2002-01-25 Thread Martin Thoma
Hm, it could be that IE tries to reload the picture (which isn't there anymore because the form-data has been expired). Perhaps saving the picture temporarly on the server will prevent the problem. Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

RE: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Sandeep Murphy
urphy; Tim Ward; PHP List Subject: RE: [PHP] RE: Printing structure and data of array I understand now, your problem is not how display the array but how to get it in a meaningful structure in the first place i.e. $app[0]["name"] = "san"; $app[0]["age"] = "23&q

RE: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Tim Ward
om > -Original Message- > From: Sandeep Murphy [SMTP:[EMAIL PROTECTED]] > Sent: 22 January 2002 15:25 > To: 'Tim Ward'; PHP List > Subject: RE: [PHP] RE: Printing structure and data of array > > > Hey! > > No need to apologise!!! If it werent

RE: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Sandeep Murphy
:48 To: Sandeep Murphy; PHP List Subject: RE: [PHP] RE: Printing structure and data of array I may have lost the original problem, but I thought you wanted a way of displaying the structure of an array hierarchy, e.g. $fred[0][0] = array("length"=>10, "width"=>20);

Re: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Joffrey van Wageningen
quot;"; $c++; } echo ")"; } displayarr($a); ?> it prints the output just like you would enter it in your code... with kind regards, Joffrey van Wageningen ne2000.nl - Original Message - From: "Sandeep Murphy" <[EMAIL PROTECTED]> To: "

RE: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Tim Ward
r to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: Sandeep Murphy [SMTP:[EMAIL PROTECTED]] > Sent: 22 January 2002 14:42 > To: 'Tim Ward'; PHP List > Subject: RE: [PHP] RE: Printing struc

RE: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Sandeep Murphy
Murphy; PHP List Subject: RE: [PHP] RE: Printing structure and data of array how about ... function ShowArray($array) { echo(""); foreach ($array as $key=>$value) { echo("$key") if (is_array($value)) {

Re: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Wolfram Kriesing
; > } > > function debugPrintBool($sTemp,$mVar,$bHtml){ > if ($bHtml){ > [snip] > > I'm not sure, the output 100% right but it should show how to use > it. I attached the .php file. > > Greets > > - Original Message - > From: "Sandeep Murphy"

Re: [PHP] RE: Printing structure and data of array

2002-01-22 Thread matthias.stache
debugPrint($sValue,1); } } echo $sInfo; } function debugPrintBool($sTemp,$mVar,$bHtml){ if ($bHtml){ [snip] I'm not sure, the output 100% right but it should show how to use it. I attached the .php file. Greets - Original Message - From: "Sandeep Murphy" <[EMAI

RE: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Tim Ward
{ echo("=>$value"); } echo("") } echo(""); } // end of fn ShowArray Tim www.chessish.com > -Original Message- > From: Sandeep Murphy [SMTP:[EMAIL PROTECTED]] > Sent: 22 January 2002 12:01 > To: &

RE: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Sandeep Murphy
: terça-feira, 22 de Janeiro de 2002 12:43 To: PHP List Subject: Re: [PHP] RE: Printing structure and data of array Use this: function debugPrint($mVar, $bHtml) { if ($bHtml){ echo ""; print_r ($mVar); echo ""; } else { print_r ($mVar); } } call it like this: debu

Re: [PHP] RE: Printing structure and data of array

2002-01-22 Thread matthias.stache
l Message - From: "Sandeep Murphy" <[EMAIL PROTECTED]> To: "'Tim Ward'" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 1:00 PM Subject: RE: [PHP] RE: Printing structure and data of array > hi, > &g

RE: [PHP] RE: Printing structure and data of array

2002-01-22 Thread Sandeep Murphy
Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 21 de Janeiro de 2002 10:24 To: PHP List; Daniel Alsén Subject: [PHP] RE: Printing structure and data of array Foreach($array as $key=>$value) ech0("$key=>$value"); Tim www.chessish.com <http

[PHP] RE: Printing structure and data of array

2002-01-21 Thread Tim Ward
Foreach($array as $key=>$value) ech0("$key=>$value"); Tim www.chessish.com -- From: Daniel Alsén [SMTP:[EMAIL PROTECTED]] Sent: 20 January 2002 19:33 To: PHP List Subject: Printing structure and data of array

[PHP] Re: printing an XML node

2002-01-18 Thread Christian Stocker
In <[EMAIL PROTECTED]>, Christian Stocker wrote: > In <[EMAIL PROTECTED]>, Thomas Gagne wrote: > >> dumpmem works great for entire documents, but what is the strategy for >> printing the contents of a single node? It is impossible to use >> dumpmem on a node since the code looks for a 'doc' pro

[PHP] Re: printing an XML node

2002-01-17 Thread Christian Stocker
In <[EMAIL PROTECTED]>, Thomas Gagne wrote: > dumpmem works great for entire documents, but what is the strategy for > printing the contents of a single node? It is impossible to use dumpmem > on a node since the code looks for a 'doc' property that doesn't exist > in nodes. it's not possible a

[PHP] Re: printing an XML node

2002-01-17 Thread J Smith
You might want to check out php's XML extensions... http://www.php.net/manual/en/ref.xml.php J Thomas Gagne wrote: > dumpmem works great for entire documents, but what is the strategy for > printing the contents of a single node? It is impossible to use dumpmem > on a node since the code lo

[PHP] Re: Printing return value of array_count_values?

2002-01-05 Thread George Nicolae
array_count_values() returns an array using the values of the input array as keys and their frequency in input as values 2, "hello"=>2, "world"=>1) while ($b = each($a)) echo $b[0]."=>".$b[1]." "; ?> -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Desi

Re: [PHP] Re: Printing Reports

2001-11-27 Thread John Monfort
If all you want to do is print, then a simple JavaScript code should do the trick. example: //use php to send the report to a new browser //in this case, report.php has the code to generate the reports. XY Report //in the new window (or at the end of report.php) generate this link

[PHP] Re: Printing Reports

2001-11-27 Thread Dan Koken
Well I guess it's like most applications. Every print job has it's own special requirements. For example the lab analysis report. When the manufacturing process starts on a liquid process, they request certain samples. Samples consist of lab analysis they should take and how often they should

Re: [PHP] Re: Printing Reports

2001-11-27 Thread Miles Thompson
So, is this a system that's being moved from workstations, a desktop interface, to a web-based interface? Do you want a web interface to select printers? Do you want tight formatting control over the report? There are big differences between a 20 pg mfg report, a bill of lading with bar code,

[PHP] Re: Printing Reports

2001-11-27 Thread Dan Koken
There are so many reports. The system I have is a manufacturing system, and currently contains some 400 programs. Some examples of reports are: Bill of Lading with bar codes Production reports Management and analysis Labels for lab analysis with bar codes Planning reports Quality assu

[PHP] Re: Printing

2001-08-09 Thread elias
Can't the operator request a report and hit the Print button in his browser? You also make sure that the report looks nice when printed from the browser. "Fernando Avila" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello php-general, > > I made a system i

[PHP] RE: printing data using javascript with php

2001-03-12 Thread Tim Ward
> -Original Message- > From: Nicole Lallande [mailto:[EMAIL PROTECTED]] > Sent: 10 March 2001 00:12 > To: [EMAIL PROTECTED] > Subject: printing data using javascript with php > > > Dear Gurus: > > I am trying to use javascript with my php code to output data > onChange. > I have read