![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| OpenSource Software For the Discussion of Opensource CAD/CAM and NC shareware software etc) |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
| I want to write printer driver for my plotter device. Hii, I developed a plotter. I can use this plotter using my software. Now i want to write plotter driver for windows. All windows programs easly must use my plotter. But i dont know anythings for printer/plotter drivers. Where can I begin. Can you give me web address for leaning details? |
|
#2
| |||
| |||
| Device drivers are very difficult to produce and the software to help like windriver is expensive. What software are you using to run it now? What windows programs do you want to be able to use it? Inside of corel draw or something? Is the file you want to print a standard file format like HPGL? |
|
#3
| |||
| |||
| What are you using to move the curser? Stepper motors? If so, try to download driver for old style HP pen plotters. I have one and I think somewhere I might have the pinout for the serial plug. |
|
#4
| |||
| |||
| Let someone else write the driver Personally I would try to make the plotter emulate an HP plotter (or something equally well known), as I think that would be a lot easier (and cheaper) than trying to write your own, especially as you don't have the experience. Writing drivers for windows is a demanding and difficult process. Also you would have to revise it for each subsequent new windows release. Why not let HP do all that work? Kerin |
|
#5
| |||
| |||
| look at book by Bergsman, "controlling the world with your PC" Covers writting code for and to printer ports, even includes code prewritten. Do Google search or have your library order it for you. http://www.LLH-Publishing.com -Mark |
| Sponsored Links |
|
#6
| |||
| |||
| All the documentation is available online on msdn. Start here http://msdn.microsoft.com/library/en...asp?frame=true (If that doesn't work, go to http://msdn.microsoft.com/library/ then in the tree view, "win32 and com development", "Windows driver kit", "Device and driver technologies", "print".) I am toying with building a photoplotter so a proof of concept was required to ensure I could get printouts from applications. I ended up building a driver that was configuration only, no code required. This dumped my specific data to a file, then I can send the file to my device. This is a raster device though. I haven't looked into plotter devices. |
|
#7
| |||
| |||
| I would like to start from the latest post. But in a way is not that complicate. You can use generic UNIDRV printer driver. Because you're writing an Windows driver you must start from MSDN. http://msdn.microsoft.com/library/de...49b7f2.xml.asp At this location you have an link to Microsoft Plotter Driver. |
|
#8
| |||
| |||
| The last time I looked you could download the Driver Development Kit (DDK) from microsoft for free. You can also check out codeproject that has tuturials on developing drivers. They just posted Part 6. Check out the link to part 1: http://www.codeproject.com/system/driverdev.asp. As the others have stated writing a driver is not a simple task. I know this from experience having developed kernel and printer (GDI) drivers. You may want to consider purchasing a pre-written driver that allows you to access the printer port and have your application use that driver. That way you don't have to get involved in writing a driver. You don't need a driver to access the printer port but what the driver does it guarantees access. |
|
#9
| ||||
| ||||
This is very long way.
@Kerino and groover666 This is good idea, I can rewrite the firmware of my plotter for doing the compability by HP plotter. @ftkalcevic, dandumit Thanks, I visit MSDN pages. I think i will find answers for my all questions. http://msdn.microsoft.com/library/de...0c19e7.xml.asp |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |