Sending Plot files to Printer

Sending Plot files to Printer

Anonymous
Not applicable
339 Views
5 Replies
Message 1 of 6

Sending Plot files to Printer

Anonymous
Not applicable
Okay this is the twenty first century. There has got to be a way using VBA/VLisp/Lisp to send a plot file to a printer. I know the DOS way and I also know there are a bunch of freeware applications to do this for me but that takes all the fun out of trying to learn.:) Any suggestions? Joshua Modglin
0 Likes
340 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
good question Joshua, I guess you could write an app in VB to use API
calls to Shell32.dll to access the command line to feed the line printer
or whatever... I guess... er... I think

jmodglin wrote:

> Okay this is the twenty first century. There has got to be a way using
> VBA/VLisp/Lisp to send a plot file to a printer. I know the DOS way
> and I also know there are a bunch of freeware applications to do this
> for me but that takes all the fun out of trying to learn.:) Any
> suggestions? Joshua Modglin
0 Likes
Message 3 of 6

Anonymous
Not applicable
Can you use API calls in VBA? just wondering

Andy & Starr wrote:

> good question Joshua, I guess you could write an app in VB to use API
> calls to Shell32.dll to access the command line to feed the line printer
> or whatever... I guess... er... I think
>
> jmodglin wrote:
>
> > Okay this is the twenty first century. There has got to be a way using
> > VBA/VLisp/Lisp to send a plot file to a printer. I know the DOS way
> > and I also know there are a bunch of freeware applications to do this
> > for me but that takes all the fun out of trying to learn.:) Any
> > suggestions? Joshua Modglin
0 Likes
Message 4 of 6

Anonymous
Not applicable
I don't know if this is "unDOS" enough, but it works:

http://www.acadx.com/visualbasic/060.htm

--
Good judgment comes from experience.
Experience comes from bad judgment.

http://www.acadx.com


"jmodglin" wrote in message
news:f0a587e.-1@WebX.maYIadrTaRb...
Okay this is the twenty first century. There has got to be a way using
VBA/VLisp/Lisp to send a plot file to a printer. I know the DOS way and I
also know there are a bunch of freeware applications to do this for me but
that takes all the fun out of trying to learn.:) Any suggestions? Joshua
Modglin
0 Likes
Message 5 of 6

Anonymous
Not applicable
Good one
Don't forget to set a reference to the Microsoft Scripting Runtime in yer
project!

Frank Oquendo wrote:

> I don't know if this is "unDOS" enough, but it works:
>
> http://www.acadx.com/visualbasic/060.htm
>
> --
> Good judgment comes from experience.
> Experience comes from bad judgment.
>
> http://www.acadx.com
>
> "jmodglin" wrote in message
> news:f0a587e.-1@WebX.maYIadrTaRb...
> Okay this is the twenty first century. There has got to be a way using
> VBA/VLisp/Lisp to send a plot file to a printer. I know the DOS way and I
> also know there are a bunch of freeware applications to do this for me but
> that takes all the fun out of trying to learn.:) Any suggestions? Joshua
> Modglin
0 Likes
Message 6 of 6

Anonymous
Not applicable
AcadX to the rescue....AGAIN! Thanks Frank. That was exactly what I was looking for. I was on the right track but was missing the scripting reference. Another question, How do I find all the available printers on a server share. For example, I have gotten the local server name "\\Thissrv\" now how do I get a collection of all available printers on that server? Any help would be appreciated. Thanks. Joshua Modglin
0 Likes