where is the plotter info stored within the drawings?

Discussion in 'AutoCAD' started by John Crocco, Dec 30, 2003.

  1. John Crocco

    John Crocco Guest

    I changed plotters and removed the old plotter device, drivers, everything
    pertaining to it, yet when I plot a drawing that had once plotted to the old
    plotter, it says it cant find the old plotter. Why is it looking for it,
    and where is that information stored?

    Kinda stumped here.
     
    John Crocco, Dec 30, 2003
    #1
  2. John Crocco

    Walt Engle Guest

    This has always been a fact of life. Merely choose a plotter you now are using
    and set it to save the new plotter configuration.
     
    Walt Engle, Dec 30, 2003
    #2
  3. John Crocco

    Don Butler Guest

    Try this...

    (vl-load-com)
    (vla-get-configname (vla-get-activelayout (vla-get-activedocument
    (vlax-get-acad-object))))

    Will return the plotter name...


    A sample of what I use to modify:

    (defun designjet3042Sheet (color / lis lays layouts oname updatetree finl)
    (if (choice "Landscape?")(setq rot 1)(setq rot 0))
    (setq lis '())
    (setq finl (choiceno "Final Print?..NO for Half Scale"))
    (setq lays (listboxtall "Select" "Select Layouts" (acad_strlsort
    (layoutlist))))
    (setq layouts (vla-get-layouts (vla-get-activedocument
    (vlax-get-acad-object))))
    (prompt "\nWorking, Please wait...")
    (foreach n lays
    (progn
    (spinner)
    (setq lay (vla-item layouts n))
    (vla-refreshplotdeviceinfo lay)
    (vla-put-configname lay "HP DesignJet 1050C Sheet.pc3")
    (vla-put-canonicalmedianame lay "User286")
    (vla-put-paperunits lay 0)
    (vla-put-plothidden lay 0)
    (vla-put-plotrotation lay rot)
    (vla-put-plottype lay 1)
    (vla-put-plotviewportborders lay 0)
    (vla-put-plotviewportsfirst lay :vlax-true)
    (vla-put-plotwithlineweights lay :vlax-true)
    (vla-put-plotwithplotstyles lay :vlax-true)
    (vla-put-scalelineweights lay 0)
    (vla-put-showplotstyles lay 0)
    (vla-put-standardscale lay 0)
    (if color
    (if finl
    (vla-put-stylesheet lay "Final Print Color.stb")
    (vla-put-stylesheet lay "Final Print Half Scale Color.stb")
    )
    (if finl
    (vla-put-stylesheet lay "Final Print.stb")
    (vla-put-stylesheet lay "Final Print Half Scale.stb")
    )
    )
    (vla-put-usestandardscale lay :vlax-true)
    )
    )
    (princ)
    )

    Good luck.

    Don
     
    Don Butler, Dec 30, 2003
    #3
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.