mysql db -e "select * from test3;" | lpr

Assuming Linux / UNIX, you have a line printer defined and db is the database to
connect to.

Van
-- 
=================================================================
Linux rocks!!!   http://www.dedserius.com/
=================================================================
Richard Nagle wrote:
> 
> What would be the command in mysql
> for print out this:
> 
> select * from test3;
> this prints out the table and show the records on screen
> now if I wanted to a hard copy..
> 
> how would I do this.
> 
> Thanks-
> Rick
>

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to