Printing to local printer

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default Printing to local printer

    I have developed a web page using VB.net which prints data from a MSSQL
    database. I cannot figure out how to get a list of the local printers for
    the client viewing the page. The PrinterSettings.InstalledPrinters object
    lists the printers on the server from which the page is loaded. When I view
    the data from a remote office, I want to select a local printer for the
    client machine. How can I do this?
    Mongoose Guest

  2. Similar Questions and Discussions

    1. Controlling printing and printer
      I am trying to control Adobe Pro (create OLE object of AcroExch) during the printing phase with a number of different options for a print shop. So...
    2. printer getting data but not printing
      I'm running Breezy with a HP Laserjet 1200 printer connected to it via parallel port. I've had the printer working last week both locally and...
    3. Configuring a local-printer
      news.planet.nl wrote: FWIW, Caldera is now SCO. You have two possibilities here: a) Install and configure a TCP/IP Print server on your...
    4. How do I install a local printer on SCO Unix?
      Jorge_Beteta <jbeteta@yahoo.com> wrote: Looks like you've done it, but you didn't say anything about wiring, baud rate or flow control. ...
    5. embedding an axtiveX that prints on the local printer.
      Hi, Is it possible to write in VB6 an activeX that will receive a RecordSet and display a data report and then print it on a local/network printer?
  3. #2

    Default Re: Printing to local printer



    Did you figure this one out? I have the same requirement...

    Thanks!


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Natalia Uribe Guest

  4. #3

    Default Re: Printing to local printer

    No, I haven't. There must be a way to do this that is probably pretty
    simple, once you figure it out.

    "Natalia Uribe" wrote:
    >
    >
    > Did you figure this one out? I have the same requirement...
    >
    > Thanks!
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    >
    Mongoose2 Guest

  5. #4

    Default Re: Printing to local printer

    you can't.

    ASP components run on the server and can't look at the client's machine.

    That would pose a security risk.


    "Mongoose" <Mongoose@discussions.microsoft.com> wrote in message news:9279D3FB-4D10-469F-8E19-38FF5FADE526@microsoft.com...
    >I have developed a web page using VB.net which prints data from a MSSQL
    > database. I cannot figure out how to get a list of the local printers for
    > the client viewing the page. The PrinterSettings.InstalledPrinters object
    > lists the printers on the server from which the page is loaded. When I view
    > the data from a remote office, I want to select a local printer for the
    > client machine. How can I do this?

    Jon Paal [MSMD] Guest

  6. #5

    Default Re: Printing to local printer

    That really bursts my bubble. ASP now appears to be fairly useless. What is
    the point of being able to access my data if I cannot print it? If I re-do
    the whole thing as a Web application will that allow me to print locally?

    "Jon Paal [MSMD]" wrote:
    > you can't.
    >
    > ASP components run on the server and can't look at the client's machine.
    >
    > That would pose a security risk.
    >
    >
    > "Mongoose" <Mongoose@discussions.microsoft.com> wrote in message news:9279D3FB-4D10-469F-8E19-38FF5FADE526@microsoft.com...
    > >I have developed a web page using VB.net which prints data from a MSSQL
    > > database. I cannot figure out how to get a list of the local printers for
    > > the client viewing the page. The PrinterSettings.InstalledPrinters object
    > > lists the printers on the server from which the page is loaded. When I view
    > > the data from a remote office, I want to select a local printer for the
    > > client machine. How can I do this?
    >
    >
    >
    Mongoose2 Guest

  7. #6

    Default Re: Printing to local printer

    Understand what ASP is created to do - run code on the server..

    use client side coding (javascript) to print what you see on the screen

    most browsers also have a printing capability... so there is no problem.



    "Mongoose2" <Mongoose2@discussions.microsoft.com> wrote in message news:DA24FC9F-6965-4A92-A9B1-6CDD7ECFD754@microsoft.com...
    > That really bursts my bubble. ASP now appears to be fairly useless. What is
    > the point of being able to access my data if I cannot print it? If I re-do
    > the whole thing as a Web application will that allow me to print locally?
    >
    > "Jon Paal [MSMD]" wrote:
    >
    >> you can't.
    >>
    >> ASP components run on the server and can't look at the client's machine.
    >>
    >> That would pose a security risk.
    >>
    >>
    >> "Mongoose" <Mongoose@discussions.microsoft.com> wrote in message news:9279D3FB-4D10-469F-8E19-38FF5FADE526@microsoft.com...
    >> >I have developed a web page using VB.net which prints data from a MSSQL
    >> > database. I cannot figure out how to get a list of the local printers for
    >> > the client viewing the page. The PrinterSettings.InstalledPrinters object
    >> > lists the printers on the server from which the page is loaded. When I view
    >> > the data from a remote office, I want to select a local printer for the
    >> > client machine. How can I do this?
    >>
    >>
    >>

    Jon Paal [MSMD] 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