PC Review


Reply
Thread Tools Rate Thread

RE: printing a crystal report

 
 
=?Utf-8?B?TW9oYW1lZCBBaG1lZA==?=
Guest
Posts: n/a
 
      3rd Jul 2005
hi ..
i have this code and it's working

rpt.SetDatabaseLogon("DatabaseUSer","Password","ServerName", "DatabaseName");

rpt.PrintToPrinter (1,false,0,0);

i wish i solved the problem for you
"Manan" wrote:

>
> i have a print button to print a crystal report,
> but this code is not working, it prints only the lines,and boxes of the
> report
> not the actual data, my code is
>
> Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles btnPrint.Click
> crpt.PrintOptions.PrinterName = "HP LaserJet 2100 Series PS"
> crpt.PrintToPrinter(1, False, 1, 1)
> End Sub
>
> can anybody tell this code is correct, if no then , any other solution?
>
>
> --
> Manan
> ------------------------------------------------------------------------
> Manan's Profile: http://www.highdots.com/forums/member.php?userid=393
> View this thread: http://www.highdots.com/forums/showthread.php?t=1626701
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report Old version vs Visual Studio .net Crystal report =?Utf-8?B?S2FubmFu?= Microsoft C# .NET 1 13th Nov 2006 11:43 PM
How to update crystal report 9 to Crystal report 11? Jason Huang Microsoft C# .NET 2 29th Aug 2006 08:40 PM
Crystal Report 10 and crystal report viewer control Harshil Microsoft Dot NET Framework Forms 0 9th Jul 2004 04:50 PM
Change Crystal Report Zoom Level using percentages in Crystal Report Viewer (Dotnet) Alex Stevens Microsoft Dot NET Framework Forms 1 30th Jun 2004 12:34 PM
Change Crystal Report Zoom Level using percentages in Crystal Report Viewer (Dotnet) Alex Stevens Microsoft Dot NET 1 30th Jun 2004 12:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:15 AM.