Hi!
My linux is ubuntu8.04 with gambas2.6.
my little code:
webbrowser1.path = "file://" & sfile
WAIT 0.5
webbrowser1.print(FALSE)
When i'm using the webbrowser componente show this message:
A print error occurred. Error message received from system:
cupsdoprint -P '' -J 'file:///tmp/gambas.1000/7614/laudo.html' -H
'/var/run/cups/cups.sock:631' -U 'supervisor' -o '
multiple-document-handling=separate-documents-uncollated-copies
orientation-requested=3' '/tmp/kde-supervisor/kdeprint_JecnjwLL' : execution
failed with message:
No printer specified (and PRINTER variable is empty)
If my little code:
webbrowser1.path = "file://" & sfile
WAIT 0.5
webbrowser1.print(TRUE)
Show the printer dialog and work fine.
WHY???????????????????????
Howto correct this problem???
Reguards,
___________________________________________________________________________________
Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem
tarifas muito baratas esperando por você. Aproveite!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user