How to print a blank space in vb6

Viewed 83

So i want the printer to print a blank space. So in the paper it will look like this

Hello World

`above is the blank space

then it will print with the blank space, but in my case it just print like this:

Hello World

Here is my code:

Printer.CurrentX = 0
Printer.CurrentY = 0
Printer.FontSize = 8
Printer.FontBold = False
Printer.Print "Hello World"
Printer.Print: Printer.Print
Printer.NewPage
Printer.EndDoc

I had tried to print it and there was no blank lines. Im using a Thermal Printer, so when the code Printer.EndDoc it will cut the paper. I need a blank space to make the words "Hello World" are not to close to the end of the paper.

0 Answers
Related