Printer functions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pI

    Printer functions

    I've got simple question.
    What are some functions names in C for programming printers?
    Maybe some library ?
  • pI

    #2
    Re: Printer functions

    pI napisa³(a):[color=blue]
    > I've got simple question.
    > What are some functions names in C for programming printers?
    > Maybe some library ?[/color]
    for DOS :-)

    Comment

    • Vladimir Oka

      #3
      Re: Printer functions


      pI wrote:[color=blue]
      > pI napisa³(a):[color=green]
      > > I've got simple question.
      > > What are some functions names in C for programming printers?
      > > Maybe some library ?[/color]
      > for DOS :-)[/color]

      There are none in Standard C. Since you mention DOS, you may strike
      lucky in comp.msdos.prog ramming or similar groups.

      Comment

      • Eric Sosman

        #4
        Re: Printer functions

        pI wrote:[color=blue]
        > I've got simple question.
        > What are some functions names in C for programming printers?
        > Maybe some library ?[/color]

        C itself provides only fopen(), fprintf(), fwrite(),
        and the rest of the I/O library. The job of discovering
        a printer's name for fopen() and of deciding what kind of
        data to send to it is up to you. Some kinds of printers
        may not be usable at all given only what unextended C offers.

        --
        Eric Sosman
        esosman@acm-dot-org.invalid

        Comment

        • Kenneth Brody

          #5
          Re: Printer functions

          pI wrote:[color=blue]
          >
          > I've got simple question.
          > What are some functions names in C for programming printers?[/color]

          You mean something other than fopen/fwrite/fprintf/fclose? There are none
          in standard C.
          [color=blue]
          > Maybe some library ?[/color]

          Perhaps. Have you looked?

          --
          +-------------------------+--------------------+-----------------------------+
          | Kenneth J. Brody | www.hvcomputer.com | |
          | kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer .h> |
          +-------------------------+--------------------+-----------------------------+
          Don't e-mail me at: <mailto:ThisIsA SpamTrap@gmail. com>

          Comment

          • pI

            #6
            Re: Printer functions

            Kenneth Brody napisał(a):
            [color=blue][color=green]
            >>Maybe some library ?[/color]
            >
            >
            > Perhaps. Have you looked?
            >[/color]
            yep ... google doesn't help in this case :-)

            Comment

            • Old Wolf

              #7
              Re: Printer functions

              Vladimir Oka wrote:[color=blue]
              > pI wrote:[color=green][color=darkred]
              >>> I've got simple question.
              >>> What are some functions names in C for programming printers?
              >>> Maybe some library ?[/color]
              >> for DOS :-)[/color]
              >
              > There are none in Standard C. Since you mention DOS, you may strike
              > lucky in comp.msdos.prog ramming or similar groups.[/color]

              ITYM comp.os.msdos.p rogrammer.

              One way of "programmin g printers" for any platform is to just
              send text directly to the port that the printer is on.

              Otherwise you will need to interface to a printer driver; in which
              case you will have to read the printer driver documentation, or
              if your OS provides a common printer interface, then ask in that
              OS's newsgroup.

              Comment

              • Vladimir Oka

                #8
                Re: Printer functions

                Old Wolf opined:
                [color=blue]
                > Vladimir Oka wrote:[color=green]
                >> pI wrote:[color=darkred]
                >>>> I've got simple question.
                >>>> What are some functions names in C for programming printers?
                >>>> Maybe some library ?
                >>> for DOS :-)[/color]
                >>
                >> There are none in Standard C. Since you mention DOS, you may strike
                >> lucky in comp.msdos.prog ramming or similar groups.[/color]
                >
                > ITYM comp.os.msdos.p rogrammer.[/color]

                Right. I stand corrected. Thanks.

                --
                Totally illogical, there was no chance.
                -- Spock, "The Galileo Seven", stardate 2822.3

                <http://clc-wiki.net/wiki/Introduction_to _comp.lang.c>

                Comment

                Working...