Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing 11x17 from SW 2010 api 1

Status
Not open for further replies.

Killswitch2

Mechanical
Nov 18, 2010
4
0
0
CA
Previous to SW 2010, we had a macro that would print all the part drawings associated with the open assembly. This macro was able to print the drawings on 11x17 (tabloid).
To do this, the code opened each drawing and used:

Document.PrintSetup(0) = 3 (tabloid sheet size)
Document.PrintSetup(1) = 2 (landscape)
Document.PrintSetup(2) = 4318 (page length)
Document.PrintSetup(3) = 2794 (page width)
Document.PrintOut2 1, ShtCnt, NumCopies, False, swApp.ActivePrinter, 0#, False, False

Since going to SW2010, this macro will only print the drawings on 8.5x11 sheets and seems to ignore the Document.PrintSetup(x) values.

Nothing I've tried will print the drawings on 11x17.

Any thoughts?

thanks,
Killswitch2
 
Replies continue below

Recommended for you

Thanks Gupta65, that post really helped.
My code had been around since '05 and I guess it needed a little updating.

Everything seems to be working fine now.


Thanks,
Killswitch2
 
Status
Not open for further replies.
Back
Top