| set up plotter |
 |
| jelle | 2009/04/19 20:26 |
Hi,
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[0], 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[0].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[0].ToCString())
I'm interested in generating postscript files, so any hints are much appreciated.
Thanks,
-jelle
|  |
|
|  |
| PG | 2009/07/01 11:36 |
Hello
Any clue how to generate PS/HPGL files - what is the input parameters
to the API ( if available).
thanks
- PG |  |
|
|  |
| jelle | 2009/07/01 11:41 | | Would be really great to have an example indeed! |  |
|
| | |