Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

printing with jlink

tolo

New member
Hello,


i try to print with Jlink on Pro/E WF2, but my script dosn't work.


My code is:


PlotInstructions plotinstructions = pfcModel.PlotInstructions_Create("<A>\\\\nts06-prs1\\prt0601-013</A> NRGc3000");
plotinstructions.SetPlotterName("<A>\\\\nts06-prs1\\prt0601-013</A> NRGc3000");
plotinstructions.SetOutputQuality(3);
plotinstructions.SetPaperSize(PlotPaperSize.A3SIZEPLOT);
plotinstructions.SetPageRangeChoice(PlotPageRange.PLOT_RANGE _CURRENT);

m.Export("c:\\temp\\xx.plt", plotinstructions);



Is there any help for me?


Thanks
 
Tolo,


I don't know if you already got a solution to this, but the plotter name that Pro/E receives must be a plotter set up in Pro/E. In order to actually get a print out, you have to generate a plt or postscript file (using the Pro/E plotter formattersalready there), then use a system call to generate the print.


Per PTC, "The J-Link function PlotInstructions_Create does not read PCF files". Not that you were using one, just thought I'd throw it in, though.
 

Sponsor

Articles From 3DCAD World

Back
Top