Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to print data to a check

Status
Not open for further replies.

1forino

Programmer
Apr 26, 2001
14
PT
I am working in a project where will be necessary print checks.

I already obtain to the printer that I want, the orientation of the page, etc.
But I am with problems in define the papersize and the position of each string.

Someone can help me with some tips and code to resolve this?

Thanks for any tips.





 
Use the VB help index to lookup Printer Object. When you choose that category, you will see an item that talks about how to use the Printer Object. It is actually very simple. The Printer object has a bunch of properties like pagewidth, pageheight, currentY, currentX, and many others that allow you to create the required form size. Then you just use commands like "Printer.currentX = 100; Printer.CurrentY = 450; Printer.Print "bla bla bla"...well the help file does an ok job, so look there for specifics.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top