[Scribus] Please help with 'simple' scripting task - print the current document

Petr Vanek petr
Fri Jun 22 15:46:58 CEST 2007


> I get a syntax error with a caret pointing at the 't' in print()...
> 
> I tried
>     scribus.Printer().print()
> and
>     scribus.Printer.print()

agreed. I hope you are using 1.3.3.x - then use:
p = Printer()
p.printNow()

I do appologise for previous info - Jean changed print() method into
printNow() and it has been
forgotten to update docs (and move it forward in versions).

Anyway, I cannot test it harded as I don't have any printer.

petr





More information about the scribus mailing list