|
-
Mar 16th, 2001, 09:23 AM
#1
Thread Starter
Lively Member
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]
-
Mar 17th, 2001, 09:30 AM
#2
New Member
chr$(12) is the character code for form feed. That'll eject your page.
-
Mar 20th, 2001, 02:11 AM
#3
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|