Printing on the client side

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Printing on the client side


    Hi,

    I am writing a ASP.NET application using VB.NET and
    everything is hunky dorey except for one thing. I am
    having real problems printing to a printer on the client
    side. I need to be able to send escape characters to a
    printer and I was able to do this no problem on the server
    side with a VB.NET application. however, I have no clue
    how to do this on the client side. The closest thing I
    have found is to associate the javascript window.print()
    with the clicking of a button, that doesn't really help
    with my problem. Does anyone have any ideas how I can do
    this?

    Thanks,
    Ryan
    Ryan Moran Guest

  2. Similar Questions and Discussions

    1. .NET Batch Printing On Client Side
      Hi, I need to be able to batch print PDF documents at the client side using ASP.NET, C#. Can someone point me in the right direction? Thanks, ...
    2. flashcom: client side cant access server side
      hi all, i hav install the flash com on the PC. It work well, on the server PC, i can access and log in to the 'chat room'.. however, if im...
    3. Controls with a client side onLoad function or seting a cursor server side
      Is there any way to create a web control that calls a client side onLoad function? Its diffucilt since you are not able to access the form or...
    4. Client side and server side scripting problem
      Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve...
    5. button evet ---- server side - client side ???
      I want to use button. My question is that How can use server side and client site event at the same time. That is: I want to use button : when...
  3. #2

    Default Re: Printing on the client side

    Reinvent the browser?

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "Ryan Moran" <rmoran@autotown.com> wrote in message
    news:083801c34bbe$27a41500$a001280a@phx.gbl...
    >
    > Hi,
    >
    > I am writing a ASP.NET application using VB.NET and
    > everything is hunky dorey except for one thing. I am
    > having real problems printing to a printer on the client
    > side. I need to be able to send escape characters to a
    > printer and I was able to do this no problem on the server
    > side with a VB.NET application. however, I have no clue
    > how to do this on the client side. The closest thing I
    > have found is to associate the javascript window.print()
    > with the clicking of a button, that doesn't really help
    > with my problem. Does anyone have any ideas how I can do
    > this?
    >
    > Thanks,
    > Ryan

    Kevin Spencer Guest

  4. #3

    Default Re: Printing on the client side

    You cant really interact with the clients printer in that way without
    extending IE, with trusted activex controls or using trusted applets. If
    your working in an intranet and have access to the clients printer then you
    send the contents you wish to print back to the server, and have some code
    that picks up the job request on the server and prints the control chars to
    the shared printer.

    --
    Regards

    John Timney (Microsoft ASP.NET MVP)
    ----------------------------------------------
    <shameless_author_plug>
    Professional .NET for Java Developers with C#
    ISBN:1-861007-91-4
    Professional Windows Forms
    ISBN: 1861005547
    Professional JSP 2nd Edition
    ISBN: 1861004958
    Professional JSP
    ISBN: 1861003625
    Beginning JSP Web Development
    ISBN: 1861002092
    </shameless_author_plug>
    ----------------------------------------------

    "Ryan Moran" <rmoran@autotown.com> wrote in message
    news:083801c34bbe$27a41500$a001280a@phx.gbl...
    >
    > Hi,
    >
    > I am writing a ASP.NET application using VB.NET and
    > everything is hunky dorey except for one thing. I am
    > having real problems printing to a printer on the client
    > side. I need to be able to send escape characters to a
    > printer and I was able to do this no problem on the server
    > side with a VB.NET application. however, I have no clue
    > how to do this on the client side. The closest thing I
    > have found is to associate the javascript window.print()
    > with the clicking of a button, that doesn't really help
    > with my problem. Does anyone have any ideas how I can do
    > this?
    >
    > Thanks,
    > Ryan

    John Timney \(Microsoft MVP\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139