General information
Title:
Find a solution for my printing problem!
I was having problem with a printing routine (posted last week).
Here's my solution that I wanna share. I simply use the printer like a file.
Open "\\MTLBDC\Facture" for Output as #1 ' Where "Facture" is the share name of the printer. Can also be lpt1 but my printer is not local
'now I print what I want, where I want.
Print #1, vbCrLf; vbCrLf; vbCrLf;
Print #1, Spc(3); "X"; Tab(40); Format(sMontant, "######.00$")
Print #1, vbCrLf; vbCrLf; vbCrLf; vbCrLf; vbCrLf;
' Even if I do that forever, windows won't do a page break !!! Perfect for printing on a point printer...
Close #1
Hope that will help somebody one of theses days...
Patrice Merineau
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only