Solved

VB6 Direct Printing

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

856 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