Thread: using a printer in ANSI C

  1. #1
    Registered User
    Join Date
    Sep 2014
    Location
    SE Washington State
    Posts
    65

    using a printer in ANSI C

    Is there a way to access the printer in ANSI C ?

    I have written a program and would like to print out the data (held in a file).

    All I can find is that there seems to be no way to send a file to the printer and stay within the confines of ANSI C.

    I am restricting my use to ANSI specs for the portability. Do I have any options?

    Paul

  2. #2
    Registered User
    Join Date
    Sep 2007
    Posts
    1,012
    Nope, can't be done.

    You could probably cover most cases by using CUPS for the Unix side (including OS X) and whatever Windows does for the Windows side. That shouldn't be too onerous.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ansi C, C99
    By cookie in forum C Programming
    Replies: 6
    Last Post: 06-07-2007, 08:29 PM
  2. ANSI/ISO C and K&R C?
    By KidMan in forum C Programming
    Replies: 2
    Last Post: 01-18-2006, 12:00 PM
  3. Ansi-c?
    By Encrypted in forum C Programming
    Replies: 3
    Last Post: 01-22-2003, 11:11 PM
  4. ADO And ANSI C
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 02-12-2002, 04:50 PM
  5. What is the Difference between ANSI C and non-ANSI C ?
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 11-24-2001, 06:55 AM