I.T. Discussion Community!
-Collapse +Expand
Search C# Group:

-Collapse +Expand C# To/From
-Collapse +Expand C# Study Test
-Collapse +Expand C# Store

Prestwood eMagazine

July Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyC# (Visual C# & VS.Net) BoardVS.Net General & Other Topic   Print This     

Printing at the client end (.NET)

Printing at the client end (.NET) in VS.Net General & Other topic (part of our C# (Visual C# & VS.Net) group).

Quick Search: Printing   Printing at   Printing at client   end (  
Okay ..I know we can print from within the browser (that parts fine ..however I would like the client to be able to print a file directly by clicking on the link in the browser ...can this be emplemented in a winforms application in the dot.net environment ??

Still learning !!
 Posted 19 years ago (Thread Starter)
Comment Quote
About dotnetguy -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #1259, 3 replies
Thread Started 3/6/2001 5:19:00 PM
View Counter=3781
Last Reply Posted 6/18/2013 4:21:12 AM)
Joined=19 years ago   MB Posts=1  
Kim Berry
Prestwood IT
Citrus Heights, CA USA
There may be a way to achieve what you want via an applet, however javascript might meet your needs:

A javascript approach requires that the text to be printed first appear within a browser window. From your

main page your "print text file" button could open the text in a new browser window, and javascript within

htte page could call window.print() from the body onLoad(). If the browser containing the text to print was minimized, the could produce the effect you are trying to achieve. (I had to corrupt the html tags below in order to post):

< !-- --------------------------


function printme() {


BODY OnLoad="javascript

Open me to a new browser window and, in Windows (Mac unknown) the print dialog box will appear.


[This message has been edited by kberry (edited March 07, 2001).]

Kim Berry
Senior Programmer Analyst

 Posted 19 years ago
Comment Quote
About Kim Berry -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Kim Berry

Kim Berry is an experienced coder currently specializing in VS.Net C# coding of WinForm and WebForm applications. Kim currently works part time for Prestwood IT Solutions and participates in this online community when time allows. Kim worked fulltime at Prestwood Software for four years and is still available for part time evenings and weekends work. He was one of the main Prestwood developers developing ASPSuite and has coded in many languages including C, Visual Basic, Delphi, and Visual Studio.Net.

Post ID #1270 (Level 1.1)  Reply to 1259
Thread Started 3/7/2001 10:54:00 AM
View Counter=2
Location=Citrus Heights, CA USA 
Joined=18 years ago   MB Posts=65   KB Posts=19   BLOG, Topics=4  
Anonymous Post
evive Thread!
 Posted 7 years ago
Comment Quote

Post ID #15029 (Level 2) and Parent is 1259
Reply Posted 6/18/2013 4:20:28 AM
Most Recent Post
Anonymous Post
 Posted 7 years ago
Comment Quote

Post ID #15030 (Level 3) and Parent is 1259
Reply Posted 6/18/2013 4:21:12 AM

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P147A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #1259 Counter
Since 4/2/2008

Follow PrestwoodBoards on: 

©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech