Followers

Follow by Email

Cloud Labels

[Fixing] Report Viewer control toolbar in Google Chrome [Solved] How to kill any process using VB.NET ABAP Admin Panel Template adonet Affiliate site Airline Reservation System Project in PHP Ajax Android androidstudio AngularJS aspnet Big Data Blogger Bookmarking Bootstrap 4 C# C#.Net How To: Send email in asp.net using c# cloud computing Computer Programming CRYSTALREPORTS CSS Databases and ADO.NET DevOps Django dotnet E-commerce Website Php MySQL source code free download Employee Leave Management System in PHP/MySql with Full Source Code Firebase Free Sourcecode in PHP Free Asp.net SourceCode Free SourceCode in C# FreeSourcecode FreeSourcecodevb.net FreeSourcecodinPHP fullform google Google Fuchsia Hospital Management System with C# with Full Source Code How To Assign a Value to a Variable in Python How to Bind Data to Repeater Control in Asp.net How to generate QR Code in C# windows application HOW TO GENERATE RANDOM NUMBER IN C# how to ping ip address in asp net How To Read A Text File In C# How to Use Anchoring Controls In visual c#.net How To Using LINQ to SQL Classes With Example HTML HTML Head Title Access Denied Image Submission Sites introduction to csharp programming JavaProject javascript jQuery Library Management System Using PHP and MySQL with Full Source Code LINQ LINQ In C#.Net MangoDB Microsoft Mobile Blazor mvc MySQL Nodejs NuGet Online Blood Bank Management System Project Online Class and Exam Scheduling System in PHP PhotoshopCs5 PHP pm mandhan yojana PMYOJANA Project python QR (Quick Response) Code Generator using C#.NET Querying a Database with LINQ to SQL sap SAP Basis And Security SAP ECC 6.0 Installation Step by Step SAPMM SarkariNukari sbi School Fees Payment System in PHP With Source code SearchEngine Site seo SEO Tutorials software sql SQLite StringBuilder Class In C# TechNews Timer ajax control In Asp.net Top Most Popular Social Bookmarking TRICK TIPS VB.NET VB.NET Classes VB.NET Conditional Statements VB.NET Loops vbnet visual studio download What are variables? what is JavaScript? What is Link Building? What is Node.Js? whatsappgb Windows Forms WordPress

Labels

How To Crystal Report option that directly print to the printer in the network

How To Crystal Report option that directly print to the printer in the network
Share it:

How to Crystal Report option that directly prints to the printer in the network



How to Crystal Report option that directly prints to the printer in the network

The following source code simply prints a file using vb.net that directly print to the network printer. If you wanted to try this code, you are required to install SAP Crystal Reports and Visual Studio 2010. However, in VS2010 required a configuration. try this source code, you almost succeed.

Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared

Public Class Form1
    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        Dim report As New ReportDocument
        report.PrintOptions.PrinterName = "\\cpc-7e894b46ad8\Canon iP1900 series"
        report.Load("C:\Users\[email protected]\Documents\Visual Studio 2010\Projects\Testing Print\Testing Print\CrystalReport1.rpt", OpenReportMethod.OpenReportByDefault)
        report.PrintToPrinter(1, False, 0, 0)
    End Sub
End Class

Share it:

CRYSTALREPORTS

VB.NET

Windows Forms

Post A Comment: