Linux gcc file printer output

This is a discussion on Linux gcc file printer output within the C Programming forums, part of the General Programming Boards category; I've created a binary output file with a Linux gcc program. How do I get the program to use the ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    6

    Linux gcc file printer output

    I've created a binary output file with a Linux gcc program.
    How do I get the program to use the printer to create a
    hard copy? Do I use system() calls or write a Bash script,
    or is there an easier way? I'm assuming that the Linux
    system is set up for printing. This program runs on
    the command line ( no graphics ) and uses curses.
    Perhaps there is a web site with this information?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,834
    > Perhaps there is a web site with this information?
    Gee, ya think!?
    http://www.google.com/search?q=linux+print+howto

    Perhaps start by opening "/dev/lp" and see how you go from there?
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 04:44 PM
  2. I'm not THAT good am I?
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-19-2006, 11:08 AM
  3. what does this mean to you?
    By pkananen in forum C++ Programming
    Replies: 8
    Last Post: 02-04-2002, 03:58 PM
  4. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM
  5. Simple File Creation Algorithm
    By muffin in forum C Programming
    Replies: 13
    Last Post: 08-24-2001, 04:28 PM

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