[Gambas-user] A print error occurred. Error message received from system

Wellington de Souza Pinto wspinto at ...1405...
Wed May 14 22:25:47 CEST 2008


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!





More information about the User mailing list