Thread: question about printing

  1. #1
    Registered User
    Join Date
    Apr 2007

    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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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.

  3. #3
    Registered User
    Join Date
    Apr 2007
    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, 04: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, 09:22 PM
  4. Question on Printing
    By MPD2003 in forum C++ Programming
    Replies: 0
    Last Post: 01-09-2003, 10: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, 02:48 PM