I'm having trouble setting up a plotter.
First of all, I can't seem to construct a plot manager:
plt_mgr = PlotMgt_Plotter(tmp, False)
*** RuntimeError: Standard_ProgramError
secondly, starting postscript plotter is not working out.
it seems I need to point it to a resource, but I do not know what kind of resource ( .prn file? )
ps = PS.PS_Driver(tmp.ToCString(), 1000,1000)
*PlotMgt_PlotterDriver Failed on opening the file 'device for AdobePDF9: pdf900://distiller/'
PlotMgt_Plotter::PlotMgt_Plotter ERROR => File 'NEW_MODEL' not found in DIRPLOT='' and in DIRPARPLO=''.
PlotMgt_Plotter::PlotMgt_Plotter ERROR => File 'DIRECT_PS' not found in DIRPLOT='' and in DIRPARPLO=''.
however, image plotter does succeed:
img = PlotMgt_ImageDriver(tmp.ToCString())
I'm interested in generating postscript files, so any hints are much appreciated.