Re: Printing local in a client-server web environment

From: RBisch (ryanbischoff_at_PLZyahooNO_SPAM.com)
Date: 05/28/04


Date: Fri, 28 May 2004 09:45:07 -0500

Yes I am doing almost exactly what your doing, but my problem lies in the
.pdf format. Say I have my .pdf on server. First, I need to get it to
client. Second I need to send to printer, but I haven't found a way w/out
using Adobe Reader. I haven't found a pure .NET solution and I am not sure
there is one b/c of the .pdf format. I am willing to use Sql Reporting
Services or a different format that can print at a quality relatively equal
to .pdf.

thanks.

-- 
  ******** RBisch -  C# enthusiast
     ****** ryanbischoff@PLZyahooNO_SPAM.com
:)
"Mark Travis" <mtravis@sysdel.skmconsulting.com> wrote in message
news:eJPbOT7QEHA.3708@TK2MSFTNGP10.phx.gbl...
> I cannot see the question in my new reader (it is showing only one item in
> the thread) but I assume the question is how to print locally from a web
> application without using the browsers print menu. If this is the case, I
> have done something similar by including a .NET class Library on the page
> via the object tag. My goal was to print a Microsoft Reporting Services
> Report to a local printer. The object tag looked like
>
> <object
>     id="SystemBrowser"
>     classid=http://{host}/{directory}/ReportPrinter.DLL#Report.Printer
>     width="0"
>     height="0">
> </object>
>
>
> The name of the dll that contains the object is
>     ReportPrinter.DLL
> and it resides at
>     http://{host}/{directory}
> The object I am using (including namespace) is
>     Report.Printer
>
> Javascript is used to pass the required information (report name,
Reporting
> Services URI, etc) to the object, and the object then calls the service,
> displays a print dialog box, renders the report, streams it to the
printer,
> etc.. It works well in an intranet environment where you can control the
> .NET component security on the client.
>
> Note: If you use a class library instead of a control, the PARAM tags do
not
> work so all information must be passed to the object via client side
script.
>
> I hope this helps
>
> Regards
>
> Mark Travis
>
>
> "RBisch" <RBisch@community.nospam> wrote in message
> news:01CDB11D-63E8-417A-9DAD-61E88A791AFA@microsoft.com...
> > Thanks for that, however I would prefer a C# solution if one is
possible.
> (Their API was C/C++)
>
>


Relevant Pages

  • Re: generating MS-Excel report through ASP.Net without installing
    ... function(generate PDF format report), but not verified yet. ... > If u don't install Excel library on ur Server how ur vb code will create ... > server and I code that all upon users request from website. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Default Path for Save As Dialog for Printing Report to PDF
    ... over my head. ... It allows a direct output of a report to pdf format, ...
    (microsoft.public.access.modulesdaovba)
  • Re: Exporting reports in snapshot format
    ... Why don't you use CutePDF writer which allows you to save the report ... in PDF format, that way your recepients don't have to load snapshot viewer, ... >> Obviously I would need to send instructions to all potential recipients on ... >> downloading and using Snapshot Viewer, ...
    (microsoft.public.access.reports)
  • Re: Saving Ms Access 2000 Report as PDF File
    ... > Vensia wrote: ... >> I am wondering if anyone knows how I could save an Access 2000 report ... >> into PDF format. ... > virtual printers so when you install one you simply print your Access ...
    (microsoft.public.access.formscoding)
  • Re: Printing local in a client-server web environment
    ... The object tag looked like ... Javascript is used to pass the required information (report name, ... .NET component security on the client. ... If you use a class library instead of a control, ...
    (microsoft.public.dotnet.framework.aspnet)