plain text printing

  • Thread starter Thread starter gb
  • Start date Start date
G

gb

hi,
how to do this using C#.

open "LPT1" for output as #1
print #1, "some text here..."
print #1, "another text here..."
close #1
 
Hi,

I think you can refer to System.IO namespace, it provides many class for
you to implement IO operation and it is convinience to use.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "gb" <[email protected]>
| Subject: plain text printing
| Date: Thu, 11 Sep 2003 15:00:03 +0800
| Lines: 15
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 202.175.250.114
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:183944
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| hi,
| how to do this using C#.
|
| open "LPT1" for output as #1
| print #1, "some text here..."
| print #1, "another text here..."
| close #1
|
|
| --
| gb
|
|
|
|
|
 
Back
Top