Printing from Web Service

Discussion in 'ASP .Net Web Services' started by Ashraf, Oct 19, 2004.

  1. Ashraf

    Ashraf Guest

    Hello everyone,

    I am developing a web service that require to print a Web page.

    syntax i used to print is
    ie.ExecWB(
    OLECMDID_PRINT,
    NoPromptUser,
    0, 0);

    nothing happens.

    but this code works (Delphi code)..
    Printer := TPrinter.Create;
    Printer.BeginDoc;
    Printer.Canvas.TextOut(10, 10, 'Web Service');
    Printer.EndDoc;
    Printer.Free;

    any idea?

    thank you,
    ashraf thoppukadavil.
    Ashraf, Oct 19, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon B
    Replies:
    7
    Views:
    7,475
    =?Utf-8?B?SmFzb25DaG9p?=
    Jan 30, 2006
  2. hocho888
    Replies:
    1
    Views:
    601
  3. Michael Averstegge
    Replies:
    0
    Views:
    4,190
    Michael Averstegge
    Jan 10, 2006
  4. Not Me
    Replies:
    1
    Views:
    3,164
    Not Me
    Jun 5, 2007
  5. Leo Violette
    Replies:
    0
    Views:
    993
    Leo Violette
    Apr 17, 2009
Loading...

Share This Page