Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to give a command to plotter to draw image

coding in c#

or which language used to give command to plotter to draw an image
Posted
Updated 27-Mar-14 23:45pm
v2
Comments
lukeer 27-Mar-14 8:08am    
That's far to vague a question to answer. Please Improve your question[^] and tell us
- what plotter you have
- what API it uses
- does the .NET printing framework[^] fit
- what you want to randomize (one out of a collection of images?)
ZurdoDev 27-Mar-14 12:54pm    
Need more details. Where are you stuck?
Szymon Roslowski 28-Mar-14 6:03am    
Hi
That depends on what plotter you are using. It is safe to say that whatever language your plotter is using it will be similar to HPGL or a clone of it. http://en.wikipedia.org/wiki/HPGL

The way to communicate with the plotter is usually via serial, virtual serial over USB or parallel port of your computer.

Here is a good starting point if your plotter is a Roland :

http://omar.toomuchcookies.net/node/2009/11/scavenged-pen-plotter-roland-dg-dxy-990/comment-page-1/

I haven't used plotters in years so this info may be outdated but it is certainly a good starting point.

As to the API there isn't one as such as the communication happens by directly talking to the device by either serial :

http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(v=vs.110).aspx

or parallel port:

http://www.codeproject.com/Tips/441815/Parallel-Port-Control-with-Csharp-NET

Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900