PDA

View Full Version : Catastrophe! - KNotify Printing Error



etdsbastar
August 7th, 2011, 05:43 PM
Hello Friends,

I am having this unknown error while programming with Gambas, using a webbrowser component to design the printing screen.

The command WebBrowser1.Print(True)

gave a print window successfully. Prints ok when I press Print just after. But, When I try to make the Preview checkbox and then press the print button an awkward error window comes up (screenshot attached).

Same Error Comes directly with the command

The command WebBrowser1.Print(False)

Please help

etdsbastar
August 8th, 2011, 09:50 AM
bump... anyone please help

Arndt
August 8th, 2011, 12:34 PM
Hello Friends,

I am having this unknown error while programming with Gambas, using a webbrowser component to design the printing screen.

The command WebBrowser1.Print(True)

gave a print window successfully. Prints ok when I press Print just after. But, When I try to make the Preview checkbox and then press the print button an awkward error window comes up (screenshot attached).

Same Error Comes directly with the command

The command WebBrowser1.Print(False)

Please help

I don't know what Gambas is, but is it perhaps the case that when you print to file (or preview), some special code of yours is meant to be run, whereas it now looks as if you call the ordinary print command with an empty printer name.

etdsbastar
August 8th, 2011, 06:01 PM
Gambas is a VB like programming language under ubuntu.

Gambas Almost Means Basic

Please help.