Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2008 > Visual Basic 2008 Professionals
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 27th, 2011, 08:30 AM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2011
Location: Erode in India
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.
Reply With Quote
  #2 (permalink)  
Old May 1st, 2011, 01:15 PM
Registered User
 
Join Date: May 2011
Location: Pennsylvania, United States
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 09:08 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.