Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
I have one issue, when I click on the print button for get slip from printer, I display options for print and also show crystal report.
 
I want to make it easy for the user. When the user clicks on the print button I don't want to display any message for print but direct print data into slip by printer
 
I am using VS2010(WinForms). Can Any one help me?
Posted 11-Jan-13 2:20am
Edited 11-Jan-13 7:43am
v3
Comments
GeekBond at 11-Jan-13 12:43pm
   
What have you tried? Where are you getting errors? We can't see your screen you know.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Just code on the load event of crystal report. when user clicks on print button the xps file gets generated & the print out is taken.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 289
1 DamithSL 225
2 OriginalGriff 175
3 Peter Leow 150
4 Afzaal Ahmad Zeeshan 95
0 OriginalGriff 7,380
1 DamithSL 5,359
2 Sergey Alexandrovich Kryukov 4,944
3 Maciej Los 4,906
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100