question about printing

This is a discussion on question about printing within the C++ Programming forums, part of the General Programming Boards category; Hey I was wondering if it was possible to send the contents of say an array to a printer. I've ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    22

    question about printing

    Hey I was wondering if it was possible to send the contents of say an array to a printer. I've searched but it seems like all I've found is printing the page one pixel at a time, through coordinates, stuff like that. I was wondering if there is an easier way to do this, like send the data (just a text file) all at once to a printer.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,506
    Well questions such as
    - Your OS
    - Your compiler
    - Your application type (console, GUI)
    - Your printer
    - Where it's plugged in
    spring to mind.

    A windows GUI using the standard windows print API solves a lot of the lower level issues.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    22
    ok the OS would be Linux Ubuntu specifically
    the compiler g++
    the application type console is fine
    the printer it'd actually be a couple are networked.
    I guess I was thinking the printers could be treated like files, cause its linux, I'm guessing I was wrong

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 11-21-2008, 03:27 PM
  2. Design layer question
    By mdoland in forum C# Programming
    Replies: 0
    Last Post: 10-19-2007, 04:22 AM
  3. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 08:22 PM
  4. Question on Printing
    By MPD2003 in forum C++ Programming
    Replies: 0
    Last Post: 01-09-2003, 09:33 AM
  5. question about printing on screen and not overwriting text...
    By revelation437 in forum C Programming
    Replies: 2
    Last Post: 12-14-2002, 01:48 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21