use printer in c programme

hridesh007

hridesh007

@hridesh007-OtPPno Oct 26, 2024
😔😔😔


can i use printer in my c programme for printing my bill in project..

i have used graphics...


thaqnk you

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Yamini L

    Yamini L

    @yamini-uMEVDQ Mar 27, 2009

    Dont get you exactly..
    For pritning what you have in C Editor,first press alt-Enter and then press on top left corner of that screen,use the mark option available there,select and then press enter or copy,paste it in word or notepad and take a printout.
  • silverscorpion

    silverscorpion

    @silverscorpion-iJKtdQ Mar 27, 2009

    No no, I think the question is how can we use the printer in our program to print something.
    Like, for example, we open a file in C, and then we have to print it using the printer.
    What command or what code can we use to send print commands to the printer?

    In other words, how can we interface printer using C? I think that's the question..
    Not sure about the answer, though..
  • ms_cs

    ms_cs

    @ms-cs-Ab8svl Mar 27, 2009

    I think it is not possible in C.But it is possible in C++.Google search will give you much on this...
  • ms_cs

    ms_cs

    @ms-cs-Ab8svl Mar 27, 2009

    #-Link-Snipped-#
  • silverscorpion

    silverscorpion

    @silverscorpion-iJKtdQ Mar 27, 2009

    Can you tell me why it's not possible in C? ie, C++ is nothing but C with classes, right?? So, if C++ can do it, why not C?

    PS - I dont know how to do it in C++, in the first place..😉
  • ms_cs

    ms_cs

    @ms-cs-Ab8svl Mar 27, 2009

    You see.. printing is somewhat deals with fonts and character set and etc,,
    It is possible in Visual C and Visual C++ I think...That languages provides such features...
    It is possible in c too ... ...But you have to code by considering much factors..like font and interrupts...
    If anything wrong do correct me ceans..
  • hridesh007

    hridesh007

    @hridesh007-OtPPno Apr 1, 2009

    i need....
    when i run my programme the output.. ie what is displayed on screen ... that i want to print...

    ok friends, thanks for taking intrest