Click to See Complete Forum and Search --> : about print


August 6th, 2000, 08:51 PM
is there a constant, such as vbcr, that can be used to begin a new page when print it? sorry, I don't want to use printer.newpage.
for example: I have a string -- "good test", and i want to print "good" in page one, and print "test" in page two, how can I do? don't use printer.newpage

CodeBlue
August 7th, 2000, 10:26 PM
Chr$(12) is a formfeed. However, if you use something like Printer.Print Chr$(12) I'm not sure it will work correctly. The printer driver may intercept it and reinterpret it as a graphic character. To make this work, you may need to use the WritePrinter API which sends raw data to the printer. For more on that, goto msdn.microsoft.com and search for WritePrinter.