Click to See Complete Forum and Search --> : Printer Object


jcean
October 21st, 1999, 11:32 AM
Hello,

I've created an application that is printing to a sheet of labels. I'm having some wierd quirky problems with the print object. I have included an if statement that checks for the currrent y position and based on a certain value is supposed to call printer.EndDoc

and resets the left margin and top margin to the top of the page. However, it does not always work. Any suggestions on how to best check for the bottom of a page and then advance to a new sheet of paper/labels.

Thanks in advance!

Jon Ceanfaglione
CIS, Inc.

santulan
October 21st, 1999, 12:56 PM
Hi,

You can check the printer.height property. If you can calculate the height of each label you set the page height accordingly. Then You will not require to sense the Y coordinate.

Printer.EndDoc is mainly controlled by papersize.



Santulan