|
-
Jun 1st, 2002, 12:38 AM
#1
Thread Starter
Hyperactive Member
How to avoid line increment while printing ?
Hi everybody,
I am trying to print using VBA code. On executing the command :
Printer.Print "abcd"
, Printer.CurrentY is incremented by one line automatically. I don't want this line increment to happen, because if I have to print something else on the same line with a different font, I have
to intialize CurrentY to its previous position. Is there a way to avoid this line increment ?
-
Jun 1st, 2002, 01:37 AM
#2
Hyperactive Member
Give this a go:
Code:
Private Sub Command1_Click()
Printer.Print "abcd";
Printer.Print "efgh"
Printer.EndDoc
End Sub
Sometimes what you're looking for is exactly where you left it.
-
Jun 2nd, 2002, 12:31 AM
#3
Thread Starter
Hyperactive Member
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
|