Hello,
I copy - paste the code used for plotting from the
acPlSetVdr.SetPlotConfigurationName(acPlSet,"Oce TDS320", "Oce D+ 24x36 in")
The code sound correct, but maybe the name is different (from AutoCAD perspective)
Can you quick try list and double check the names? See the code at http://adndevblog.typepad.com/autocad/2012/05/how-to-list-the-canonical-media-names-of-a-ploter.html
Try replacing the spaces in the paper size name, with underscores. That worked for me.
-Pete
i used
acPlSetVdr.SetPlotConfigurationName(acPlSet,"Oce TDS320", "Oce_D+_24x36_in")
does not work
the first sugestion with getcanonicalmedianamelist is giving me this list
User2322
User1298
User2321
User1297
User2320
User1296
User2319
User1295
User2318
User1294
User1293
User1292
User1291
User2314
User1290
User2313
User1289
User2312
User1288
User2311
User1287
User1286
User2309
User1285
User2308
User1284
User2307
User1283
User2306
User1282
Means those are my paper sizes defined?
Have you created a pc3 file called "Oce TDS320.pc3"? It looks as if you are trying to print to a windows printer and the setplotconfigurationname wants the name of a pc3 (plot config) file.