ACAD14 plotroutine in VBA

Discussion in 'AutoCAD' started by ITZ, Aug 11, 2003.

  1. ITZ

    ITZ Guest

    I can't find the format off a plot routine i VBA autocad 14, does anyone
    have a piece off code ?.

    Private sub CommandButton1_click ()
    Dim plotObj As acadplot
    Set plot = acad.ActiveDocument.plot
    plotObj.PlotToDevice "Default System Printer" 'Ensure this device exists
    end sub

    '' but there is something wrong with the format, I develope on Windows XP,
    could that be a problem ?

    /Henrik
     
    ITZ, Aug 11, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.