Results 1 to 7 of 7

Thread: [RESOLVED] How to print text to LPT1: with VB.Net 2005

Threaded View

  1. #1

    Thread Starter
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168

    Resolved [RESOLVED] How to print text to LPT1: with VB.Net 2005

    Hi all programmers,


    I want to print some text to LPT1: port attached to a Dot Matrix Printer in VB.Net 2005 like
    Print "Hello World" to LPT1:


    I have done this in VB.Net 2002 using Win32 API and File Stream.
    (The link for it is :http://www.vbforums.com/showthread.php?t=253270 )

    This cocept is not working in VB.Net 2005. The reason is function
    FileStream(intPtr, ...) version is outdated in VB.Net 2005


    Can anybody tell me how to do it in VB.Net 2005

    Thanks

    Parminder
    Last edited by parminder; Apr 24th, 2006 at 01:24 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width