Results 1 to 7 of 7

Thread: Printing something in C++

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    19

    Printing something in C++

    Hey,

    Does anybody know how to print anything in C++? If you do please help me out here.

  2. #2
    Junior Member
    Join Date
    Jul 2004
    Posts
    19
    what i meant to say was to print something on a printer
    . Sorry for the confusion.

  3. #3
    the beign of authority kurt_der_koenig's Avatar
    Join Date
    Jan 2004
    Location
    Pa
    Posts
    567
    Okay poopster,

    Use your edit botton to post again instead of double posting!

    For c++ printing::

    http://www.google.com/search?hl=en&l...2B%2B+printing

    this one should help you more directly::
    http://www.codeproject.com/printing/...&select=703825

  4. #4
    Junior Member
    Join Date
    Jul 2004
    Posts
    19
    well want I really want to do is I have a few computers on a network. They are in different rooms. I have all the addresses to the printers, but I want to print 1 specific thing on all of them.

  5. #5
    the beign of authority kurt_der_koenig's Avatar
    Join Date
    Jan 2004
    Location
    Pa
    Posts
    567
    well want I really want to do is I have a few computers on a network. They are in different rooms. I have all the addresses to the printers, but I want to print 1 specific thing on all of them.
    you can simiply do this with a batch file in dos! I think c++ is an overkill for this. Using the copy command. The rest is up to you! It sounds as if you are trying to do a prank or something!

  6. #6
    Junior Member
    Join Date
    Jul 2004
    Posts
    19
    Something like ~ TYPE example.txt>LPT1

    but how do I do it one a server with different usernames?

  7. #7
    the beign of authority kurt_der_koenig's Avatar
    Join Date
    Jan 2004
    Location
    Pa
    Posts
    567
    Type won't do sqat!, execpt showing example.txt. I gave you half of the equation before. Also the pipe? no need for that or the usernames! Like I said before: sounds too much like a prank.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •