apprentice submitprint without Inventor

apprentice submitprint without Inventor

Anonymous
Not applicable
337 Views
3 Replies
Message 1 of 4

apprentice submitprint without Inventor

Anonymous
Not applicable
Hi,

Is it possible to print a .idw without having Inventor installed but Inventor View using apprentice / submitprint with VB or VBA (excel,..).
I'm able to read the iProperties but get stuck with submitprint.
I've been reading some topics here, but none of them can help me.
I think I need to open Inventor View, but I don't know how.

Dim IApprent As New ApprenticeServerComponent
Dim IPlot As ApprenticeDrawingPrintManager
Dim IDoc As ApprenticeServerDocument

Set IDoc = IApprent.Open("C:\dummy\ac3-6584-0005.idw")

With IPlot
.NumberOfCopies = 2
.SubmitPrint
End With

Set IDoc = Nothing
IApprent.Close
Set IApprent = Nothing



Thanks,

Jimmy
0 Likes
338 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Believe you have to use Clientview to display the .idw and you can print
from there
CVA

--
www.CVAengineering.com

IV11 Pro. sp2
Window XP Pro sp2
Pentium 3.2 Ghz, 3.0 GB of RAM
NVIDIA FX 3400 84.26
SpacePilot V 1.1.2
wrote in message news:5626217@discussion.autodesk.com...
Hi,

Is it possible to print a .idw without having Inventor installed but
Inventor View using apprentice / submitprint with VB or VBA (excel,..).
I'm able to read the iProperties but get stuck with submitprint.
I've been reading some topics here, but none of them can help me.
I think I need to open Inventor View, but I don't know how.

Dim IApprent As New ApprenticeServerComponent
Dim IPlot As ApprenticeDrawingPrintManager
Dim IDoc As ApprenticeServerDocument

Set IDoc = IApprent.Open("C:\dummy\ac3-6584-0005.idw")

With IPlot
.NumberOfCopies = 2
.SubmitPrint
End With

Set IDoc = Nothing
IApprent.Close
Set IApprent = Nothing



Thanks,

Jimmy
0 Likes
Message 3 of 4

Anonymous
Not applicable
try selecting your printer

IPlot.Printer = "myprinter"
0 Likes
Message 4 of 4

Anonymous
Not applicable
Thanks for the replies, but I still can't get it going.
I've tried to select the printer, but it still wan't print.
I'm don't know how to use the clientview, and as I don't have Inventor, I don't have the help files.
Is there some sample code out there (couldn't find it)?
0 Likes