Solved

VB6 Direct Printing

Posted on 2004-08-03
1
421 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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Simple Linear Regression
Progress

617 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