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

jon info
Fri Jun 22 15:30:43 CEST 2007


Am 22.06.2007 um 15:10 schrieb Bill Hudacek:

> [sorry if this is a dupe, had an error during send]
>
> I get a syntax error with a caret pointing at the 't' in print()...
>
> I tried
>     scribus.Printer().print()
> and
>     scribus.Printer.print()
>
> and both times, I get the syntax error right at the last 't' in the  
> command.
>
> I tried this with 'import Printer', and without.
>
> Am I doing something wrong?
>
> Many thanks.
>
> /Bill
>
> Petr Vanek wrote:
>>> At this point, I'm either going to have to start over, using  
>>> Gregory's
>>> approach and build a 90-page document, or use ms-word and vba :-/
>>>
>>> Please help.  Is there no way to cause the document to print, on the
>>> default printer, from a script?
>>>
>>
>> of course there is one.
>> scribus.Printer().print()
>>
>> full docs:
>> For Developers - Scripter API - Printing
>>

I cannot help you directly but you may get some benefits from this:

http://docs.scribus.net/index.php?lang=en&page=scripterapi-Printer

Jon




More information about the scribus mailing list