Have you looked into the exec() function? Maybe exec("lpr something or
other") may work, though I haven't tried it myself ...
Regards,
Matthew Moldvan
---------------------------------------
System Administrator
Trilogy International, Inc
http://www.trilogyintl.com/ecommerce/
---------------------------------------
-----Original Message-----
From: Rajesh Fowkar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 12:21 AM
To: PHP-DB Mailing List
Subject: Re: [PHP-DB] php and local printing
On Tue, Mar 04, 2003 at 06:45:54AM -0800, Mark wrote:
>It dopesn't seem like you got an answer to this.
Spot on. Yours is the first reply.
>To print locally,
>you'll need to use Jscript of something similar on the local end.
>I've only seen this work in IE, but I haven't looked into it too
>deeply. To print to the server, you'll probably need to shell out to
>the OS.
Using javascript window.print() I get the print dialogue box. But what
I needed was I have got a text file which on server I can print using lp
<filename>. Similar thing but without any print dialogue box at the
client end.
>
>HTH or at least starts a discussion...
Hope so.
Thank you for the reply.
Peace
--
Rajesh
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
Sub : Linux Commands (#4) LOST #056
For a newbie introduction to Linux commands and shotcuts visit
URL: http://sunsite.dk/linux-newbie/Linux_commands.htm
####<[EMAIL PROTECTED]>##################################
:
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php