Solved

VB6 Direct Printing

Posted on 2004-08-03
1
417 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
johanmulder earned 500 total points
ID: 11715240
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb wildfly example 2 113
backup program with robocopy 6 92
IntelliJ and Eclipse Neon 2 installations 4 69
How do I fix this situation in GIT? 2 78
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?

752 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