Click here to Skip to main content
13,090,517 members (58,537 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Please Give a sample application with the complete code..using c# and 3.5

Print a textBox value without showing the PrintDialogBox
Thanks in advance
Posted 15-May-12 2:19am
Updated 15-May-12 2:26am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi Kanamala

Here is a link to code that does just this, and it shows you the necessary steps to configure client side if needed.[^]

Just a caveat though: There are are a few reasons why it might not be a good idea though
The user might want to choose which printer to use, as well as choose settings like gray scale and paper size etc.
This might be abused to print popups and advertisements

I hope this helps you


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 15 May 2012
Copyright © CodeProject, 1999-2017
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