Second that
It seems like the configuration setting is working directly on the printer
( difficult to explain ) , and not in a temporary kind of "buffer" setting
that applies when the print is "submitted".
If this could be implemented, there should be added som kind af "Apply"
method just before the print is actually submitted, to check if everything
went well, and give us humble programmers a chance to give some feedback to
the users and the programcode
BTW
Regarding papersizes and settings, many printers and plotters doesn't
support custom papersizes.
I have no problem setting up various papersizes, plotting IDW's for an OCÉ
9300 roll-feed plotter with two paperrolls.that supports plots up to
approx.10 meters.
I just read the sheetsize, select papersizecustom and put the
sheetsizevalues into Paperwidth, and Paperheight
Mybe I can give some hints, that could be helpfull, at least it's working
for me and my customers:
To track down problems with configurationsettings, make a bit of VBA code in
a running Inventor session, and step through the code, following what
happens to all the settings, when the code changes something.
With PlotConfiguration:
.Printer=MyPrinterNameFromWindowsPrinters
.Colormode=kPrintColorPalette
or
.Colormode=kPrintGrayScale
.PrintRange=kPrintCurrentSheet I'm switching sheets
manually via code elsewhere, it's easier to control collated and not prints.
.Rotate90Degrees=true/false
.Papersource=? This is VERY
printer/Plotter specific, make a small routine in IV-VBA and use wathcer to
see when changing printsetup. Remove this line to use default.
.Scalemode=kPrintCustomScale Just for my own convenience as
I scale a lot and feel a lot calmer if I control this myself. ;-),else
kPrintFullscale works fine
.Scale=1 or just what is
needed
.PaperWidth
.PaperHeight
.NumberOfCopies I don't use this
.PrintToFile MyPrintFileName If print to file
IvApp.ActiveView.Fit True line of code to make the
display update text on the sheet. else it's garbled when printed. ( at least
in IV5.3 )
.SubmitPrint
end with
Notice the lack of ".kPaperSizeCustom", yes, it says in the help file to use
it, but in my old code i had it commented out and it's still running
without, and it's used for our European A4/A3 sizes on a laserprinter, and
larger sizes for a plotter.
In my early "IV-printing program" days I opened a new empty drawing and
closed it again before opening the actual IDW to plot, I don't remember why,
but it's still in my program, and I don't dare to remove it 🙂 It doesn't
do anything at all, but I had trouble too that time, so I guess I tried to
get some kind of "reset" of printsettings if I did that ( the program is for
a plotserver, and the settings varies from plot to plot ).
The lines are:
IvApp.Documents.Add kDrawingDocumentObject
IvApp.ActiveDocument.Close True
placed just before the printing part, nothing else.
It may not but the right way of doing things, but this has been working with
IDW's for me since IV5.3.
And a final word
Good luck on the plotting fields.
Regards
Lars Nielsen
www.laroni.dk
"Kent Keller" wrote in message
news:AAA46BAAF089D1CFD59BA12639BA3AF2@in.WebX.maYIadrTaRb...
> There is nothing in the documentation that I have ever seen that indicates
order matters.
> I feel it is a likely a defect and am hopefully it will get fixed in the
next release.
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
> "srayc" wrote in message
news:f1734f4.6@WebX.maYIadrTaRb...
> > Kathy,
> > You made my day. That works great. I must have missed that in the
documentation. I just
> figured since you had to submit the print that the order didn't matter.
How wrong I was.
> Thanks again!!! Ray COrdery
>
>