AutoCAD 11X17 print


I have created a vba macro for autocad to print automatically the current layout using a specific page setup. With tabloid (11 X 17) format the result is truncated because it doesn't seem to have the good orientation. If I print manually, the result is OK.

These art the options pass to clsPDFCreator object before calling the PlotToDevice method:


      .cOption("UseAutosave") = 1
        .cOption("UseAutosaveDirectory") = 1
        .cOption("AutosaveDirectory") = sPDFPath
        .cOption("AutosaveFilename") = sPDFName
        .cOption("Papersize") = "Tabloid"
        .cOption("AutosaveFormat") = 0    ' 0 = PDF

    ThisDrawing.Plot.PlotToDevice ("PDFCreator")

Is anybody have an idea?

Thank you very much





I found my solution. The problem concern . I changed the way I call the plot command.

    ThisDrawing.ActiveLayout.CopyFrom ThisDrawing.PlotConfigurations("PDFCreator")

Thank you