My understanding is that this error is caused by Matlab 6.5 not knowing to create a
file and then append. Another way we have found to get around this to is to modify
the default printing settings when opening a new session of SPM. It will print
properly until the session is closed.
Best,
Sarah
On Tue, 8 Jul 2003 17:46:11 +0000, John Ashburner <[log in to unmask]>
wrote:
>> I tried that, now it dosen't give me an error, but it dosen't
>> print anything. Im using SPM99 with Matlab 6.5 on windowsXP. We need to
>> print the graphics window to a postcript printer only correct, or will any
>> printer work? Thanks. Regards,
>
>I've just remembered that the behaviour changed with Matlab 6.5. For the
>first page of the spm99.ps file, try printing with:
> print -dpsc2 -painters -noui spm99.ps
>Then for subsequent pages, use:
> print -dpsc2 -painters -append -noui spm99.ps
>
>Best regards,
>-John
>
>> > Im having problems printing the graphics window. I use the
>> > following command: "print -dpsc2 -painters -append -noui spm99.ps", and
I
>> > get the following error:
>> >
>> > ??? Error using ==> print
>> > Error using ==> print
>> > Error using ==> c:/matlab6p5/toolbox/matlab/graphics/private/render
>> > Error using ==> hardcopy
>> > Existing file has level 1 dictionary, can not append level 2 commands.
>> > Can anyone help me out with this.
>>
>> Try deleting or moving the existing spm99.ps file. It has a level 1
>> dictionary, which means that level 2 PostScript can not be appended to it.
>
>--
>Dr John Ashburner.
>Functional Imaging Lab., 12 Queen Square, London WC1N 3BG, UK.
>tel: +44 (0)20 78337491 or +44 (0)20 78373611 x4381
>fax: +44 (0)20 78131420 http://www.fil.ion.ucl.ac.uk/~john
|