[Gambas-user] Printing in gambas ?

Leonardo Miliani leonardo at ...1237...
Wed Oct 24 11:01:32 CEST 2007


Jun Hay ha scritto:
> I have been create a report, but i don't know how to print it.
> Please give me some script to print text file (with e.g source code), 
> and HTML (when i view it with Web Browser in gambas).
> 
> I'm from Indonesia, so my English Languange is not good enough. But I'm 
> very need your help...
> Thank You so much....:)
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

To print a report one easy way is to create a Printer object refered to
a .ps file (i.e. filename.ps) draw into it using the Draw function and
than use the bash command "lpr filename.ps" via the Shell command (or,
if you want a preview before to print, call the bash commands kghostview
for KDE).

-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...
Scegli software opensource - Choose opensource software




More information about the User mailing list