Results 1 to 3 of 3

Thread: printer Object

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Location
    india
    Posts
    7

    printer Object

    Using printer object in Visual Basic, how will i generate the output into a disk file.can some body help me out of this.

    Thanks in advance

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Where will the output come from? A text box? A Db table? A Recordset? If all you want to do is create a text file on disk, you don't need to use the Printer Object.

  3. #3
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350
    It should work if you set the port of the printer which the printer object will be using, to FILE: in Start-Printers. It'll ask you for the file name when you print to it.

    Hack, I'm guessing he needs a print-formatted file as opposed to a text file, ie with control codes etc; perhaps for later lpr-ing to a printer or something.
    .

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