Solved

VB6 Direct Printing

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

19 Experts available now in Live!

Get 1:1 Help Now