Thread: Linking a plotter to a PC (XP system used)

  1. #1
    Registered User
    Join Date
    Aug 2004

    Unhappy Linking a plotter to a PC (XP system used)

    Hello guys:

    I've been using my plotter HP ColorPro 7440A successfully for many years in the past together with my Amiga Computer.

    I would like now to connect the plotter to one of the serial ports COM1 or COM2 of my PC (XP system installed) and use the Microsoft Visual C++ (version 6) software to send instructions to the plotter.

    What type of instructions should I write in my C program to open the port first and then get access to the plotter. May be a short test program should be useful to be sure that there's communication between them ?

    Thanks a lot for your help.

    Best regards.


  2. #2
    Registered User
    Join Date
    Feb 2002
    CreateFile() to open port
    ReadFile() to read
    WriteFile() to Write

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Can't you just locate a printer driver for it and use it like any normal printer?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    There is some code in this thread that may be usefull.


  5. #5
    Registered User
    Join Date
    Aug 2004


    Hello guys:

    Thanks to your replies.

    I'm only a newbee in win32 programming.
    So, I've been looking for some download that could be used easily to get my plotter working.

    I found one called for the source ( for the demo).

    It's working fine and I can give the plotter instructions through an edit box without problem. But I don't need a dialog window as the instructions are strings located in a Visual C++ program.

    What should I do ?

    Thanks again for your help.

    Kind regards.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. PC Alert 4 with Cooler XP
    By DavidP in forum Tech Board
    Replies: 3
    Last Post: 09-20-2003, 03:34 PM
  3. Dual Booting Win XP & Win 98
    By netboy in forum Tech Board
    Replies: 2
    Last Post: 08-18-2003, 02:29 AM
  4. Building a pc...water cooling/tons of cooling?
    By Shadow in forum Tech Board
    Replies: 22
    Last Post: 12-20-2002, 05:03 AM
  5. Having trouble correctly setting DJGPP's env. variables in XP
    By Unregistered in forum C Programming
    Replies: 0
    Last Post: 06-05-2002, 10:51 PM