AllExperts > Experts 
Search      

Visual Basic

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Visual Basic Answers
Question Library

Ask a question about Visual Basic
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Ravindra
Expertise
visual basic application programming from design to access information, sql, engineering and commercial applications. access databases, excel. Optional: 1)a large number of people want me to do work which takes some time and effort. Pl.note that i would like to be paid for such work. 2) if you want me to spend quality time and do special work, i expect to be paid a reasonable price for my time. 3) if you are pleased with my reply you could consider a donation of 1$. 4) you can visit my website http://ravindra.coolpage.biz (under constrn)

Experience

Past/Present clients
project work for a Norway company, and a Canadian company completed. Freelance Project work and Teaching
teaching vb

 
   

You are here:  Experts > Computing/Technology > Basic > Visual Basic > VB6 Printform

Topic: Visual Basic



Expert: Ravindra
Date: 7/16/2008
Subject: VB6 Printform

Question
QUESTION: Question
V.B. 6
level Inter
Michael Rae Saga

simple question... How can i manipulate the width and height of a label or text using Printer commands.



Answer
you cant change the lable using printer commands. the printer.print  etc are used to print after the display is final.

but you can change the fontsize, label height,width just before printing

i wonder why would you want to do this. are you using printform?  
------follow up------
thanks for the immediate reply. i really appreciate it.
by the way, YES i'm using printform. but the problem: printform is dependent of Monitor Resolution. i'm using 1024x768 resolution and i can't get a whole page printing.

senario: i'm creating a simple program that can manipulate(drag, insert controls) on runtime and can print. i'm having problems on printing coz i cant occupy the whole page of a short bond paper when i'm using 1024x768 reso. help me

ANSWER: better  switch  over to printer.print commands. it does everything and you can position the data on the paper.
the printform is better avoided if size and resolution come in the way.

---------- FOLLOW-UP ----------

QUESTION: ---follow up---
I tried the printer commands and it works great.. but the slight problem is that... on my design form i have a label with properties "WORD WRAP" and i want the output same as my design. you said that "i can change the fontsize, label height,width just before printing" using printer commands. i want to know the manipulation of height and width of a label on printer commands.

Answer
in print  command the label does not  exist. you can change the fontsize just  before and after this particular data. in print,  you cannot print a label and its contents. the other option is exprot to word and you can make a template there with a label that would  do exactly what you want.

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.