| bruce barker 2007-03-30, 10:06 pm |
| the common approach is to put an img on the page that references an
asp.net page that returns an image of the barcode. the use can then just
print the page. google this newgroup for help on returning an image.
-- bruce (sqlwork.com)
kiergaro@gmail.com wrote:
> I understand there is no way for the Server to see the Client
> printers, but I have a routine that generates a bunch of bar codes on
> a page and keeps it stored in a Graphics variable. Is there any way
> possible to take the graphics variable and put it in a printable
> window using windows.print() in Javascript?
>
> Basically i'm doing something like this in the PrintPage()
>
> Dim grfx As Graphics
> .
> .
> .
> grfx.DrawImage(myImage, hori + 60, hx, myImage.Width + 60,
> myImage.Height + 14)
>
> Then after the final thing is drawn, that's when I need to print it to
> client side, not server. Is there any way I can accomplish this?
>
> Jeff
>
|