Results 1 to 9 of 9

Thread: I want to write printer driver for my plotter device.

  1. #1
    Registered bunalmis's Avatar
    Join Date
    Jul 2003
    Location
    Turkey
    Posts
    246
    Downloads
    0
    Uploads
    0

    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. #2
    Registered
    Join Date
    Apr 2003
    Location
    usa
    Posts
    251
    Downloads
    0
    Uploads
    0
    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. #3
    Registered
    Join Date
    Feb 2005
    Location
    USA
    Posts
    1
    Downloads
    0
    Uploads
    0
    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. #4
    Registered
    Join Date
    Apr 2004
    Location
    United Kingdom
    Posts
    16
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    Sep 2004
    Location
    usa
    Posts
    32
    Downloads
    0
    Uploads
    0
    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


  • #6
    Registered
    Join Date
    Feb 2006
    Location
    Australia
    Posts
    91
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Feb 2005
    Location
    Romania
    Posts
    118
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jun 2005
    Location
    USA
    Posts
    3
    Downloads
    0
    Uploads
    0
    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
    Registered bunalmis's Avatar
    Join Date
    Jul 2003
    Location
    Turkey
    Posts
    246
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by kdoney
    What software are you using to run it now?
    I am using my programs. This program read plt files and converts to my plotter codes and after sends to my plotter via serial port.

    This is very long way.

    What windows programs do you want to be able to use it?
    ACAD, Corel, PCB programs and all other vectorel programs.

    Quote Originally Posted by groover666
    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.
    Yes i use stepper.

    @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


  • Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.