Link to home
Start Free TrialLog in
Avatar of pandgcs
pandgcs

asked on

Visual Basic 6 printing

Hi,

I am using the printer. command in VB6 to output data to a template.

I have a text box set as a multiline text box and I can input the name, address etc on separate lines but when it comes to printing I have set the printer.currentx and printer.currenty to the coordinates on the template, the first line printed is in the correct place but all other lines are pushed back to the edge of the page.

How can I format the text to be at the same column as to print to the template?

Any help would be appreciated

Thanks

Andy
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Can you attach a zip file of your project or a demo project with the textbox and the code you are using to print it?
ASKER CERTIFIED SOLUTION
Avatar of inthedark
inthedark
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi pandgcs,  did you manage to solve your printing issue?

Do you need any explanation in the code example,  I can add more comments if required.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.