Author Topic: Printer list  (Read 2430 times)

0 Members and 1 Guest are viewing this topic.

Amsterdammed

  • Guest
Printer list
« on: February 28, 2007, 04:22:26 PM »
Hello there,

I'm sure there must be a vla-.... function to collect all the printers available (I just don't know it) :-(

Tank's in Advance

Bernd

JohnK

  • Administrator
  • Seagull
  • Posts: 10651
Re: Printer list
« Reply #1 on: February 28, 2007, 04:51:01 PM »
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Amsterdammed

  • Guest
Re: Printer list
« Reply #2 on: March 01, 2007, 01:42:16 AM »
Thanks :-)

Patrick_35

  • Guest
Re: Printer list
« Reply #3 on: March 01, 2007, 03:06:31 AM »
Yes, or you can use

Code: [Select]
(vlax-invoke (vla-get-activelayout (vla-get-activedocument (vlax-get-acad-object))) 'getplotdevicenames)
@+

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Printer list
« Reply #4 on: March 01, 2007, 08:53:33 AM »
Don't forget to issue this first.
Code: [Select]
(vla-RefreshPlotDeviceInfo  (vla-get-activelayout doc))
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.