Solved

VB6 Direct Printing

Posted on 2004-08-03
1
378 Views
Last Modified: 2008-02-26
I'm trying to print directly from VB6 using the Printer object.  The printing is going onto a pre-printed form, so positioning on the page has to be exact.

The problem is that co-ordinate position (0,0) does not seem to correspond to the top-left corner of the paper.  Instead it appears to be offset by about 7mm horizontally and 5mm vertically.  I presume that this relates to the printer's printable area, though that's a guess.

The printer that I'm currently testing with is a Kyocera 1000+ laser, but the eventual solution will need to work across a variety of printers.
0
Comment
Question by:johnalphaone
1 Comment
 
LVL 1

Accepted Solution

by:
johanmulder earned 500 total points
Comment Utility
Yes you're right on that point.  Most of the printers have a margin of their own. It's a not-editable hardware specification.
I think you can expect that most printmargins are minimal 1 cm on each side.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is an explanation of a simple data model to help parse a JSON feed
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now