Wrox Programmer Forums
|
Visual Basic 2008 Professionals For advanced Visual Basic coders working in version 2008. Beginning-level questions will be redirected to other forums,
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 27th, 2011, 07:30 AM
Registered User
 
Join Date: Mar 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How set Custom Page Height?

Hi,

I want to print bills in rolling sheet, so that i need to set custom page height. I do like this by calculation total lines in a bill.

Dim llngNoofLines as long


Printer.Height = llngnooflines * TextHeight("A")


it will not work properly.
 
Old May 1st, 2011, 12:15 PM
Registered User
 
Join Date: May 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Pennsylvania Electricity
Default

Wrong Formula. Syntax error.....











.
Pennsylvania Electricity





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic table on specific height of JSP page shoaibkhan2000 Pro JSP 0 August 1st, 2006 06:15 AM
Table column to stretch height on long page nbryson HTML Code Clinic 12 October 19th, 2005 05:12 PM
Background-image not filling page height? PetraMan CSS Cascading Style Sheets 1 April 22nd, 2005 09:17 AM
how to set row height(fixed to 1 pixe) in DataGrid yoganand03 General .NET 1 May 5th, 2004 09:46 AM
Change height of div element if < window height JoelJunstrom Javascript How-To 1 October 10th, 2003 09:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.