Results 1 to 3 of 3

Thread: Printing Problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    LewZer-LanD
    Posts
    120
    WAZZZAAAAA!!!!

    Sup QB UserZ...

    I b runnin QB4.5 n i was makin a proggie dat outputs to the printer...

    i'm usin da LPrint command 2 accomplish this.

    Now, there is kind of a problem with that. When all the statements have been sent to the printer, the paper jus sits in there. I think the problem is i'm not sending a "Formfeed" type statement. I thought it was going to be chr$(0).. but it didn't seem to work.

    Any Ideas? Thanx in advance!

    -da404LewZer
    Kid A

    18 Year Old Programmer
    Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
    [vbcode]
    'back in the day vb6 code
    Private Sub My_Life()
    If Hour(Now) > 3 And Hour(Now) < 13 Then
    Status = "Sleeping"
    Else
    Status = "Computing"
    End If
    End Sub
    [/vbcode]

  2. #2
    New Member
    Join Date
    Mar 2001
    Posts
    1
    chr$(12) is the character code for form feed. That'll eject your page.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    LewZer-LanD
    Posts
    120
    Thanx!
    Kid A

    18 Year Old Programmer
    Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
    [vbcode]
    'back in the day vb6 code
    Private Sub My_Life()
    If Hour(Now) > 3 And Hour(Now) < 13 Then
    Status = "Sleeping"
    Else
    Status = "Computing"
    End If
    End Sub
    [/vbcode]

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