VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NumberOfCopies and PlotToFile does not work

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
121 Views, 0 Replies

NumberOfCopies and PlotToFile does not work

Hello everyone,

When I plot directly to the Plotter (OCE9400) following Code is working correct:

ThisDrawing.Plot.NumberOfCopies = 3 ThisDrawing.Plot.PlotToDevice pc3file

But when I want to plot to File:

ThisDrawing.Plot.NumberOfCopies = 3
ThisDrawing.Plot.PlotToFile TmpPLName, pc3file

The Plotfile Header does not contain the Numberofcopies info:
BEGMF "HDI HP-GL/2 9400-II Driver (@)Copyright 1998";
MFVERSION 1;
MFDESC 'Oce RCF, Version=2.0, Type=Header, Unit=Metric';
APPLDATA 002 "CO=1";

The last row means the number of copies.
I hope anyone has an idea of how to solve this problem without opening the finished plotfile binary and changing the header.
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost