Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-05-2005, 10:42 PM   #1 (permalink)
Chillum Baba
 
a_medico's Avatar
 
Join Date: Nov 2004
Location: Not far from my computer
Posts: 391
Default Help :Printout in Visual basic


my friend is developing a software in VB.

he is interested in a printout which should be customizable with respect to fonts,ssize and colour in print preview.... how to proceed as in VB usually theres only one default size, font we have to select.... is this possible? if yes,, how?



thanks

ps- i m attaching the screenshot of that software and print preview page.

a_medico is online now  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-05-2005, 02:15 PM   #2 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default

There is an object called printer. Go to coding area and type printer. and you will see the available options like copies, font, fontbold, fontitalic, fontsize, fontname, forecolor, etc. Set these to get the required effect.

Or have I misunderstood your question?

You can also check out http://www.visualbasicforum.com.
tuxfan is offline  
Old 11-05-2005, 02:21 PM   #3 (permalink)
Chillum Baba
 
a_medico's Avatar
 
Join Date: Nov 2004
Location: Not far from my computer
Posts: 391
Default

thanx tuxfen..i will tell my friend what all u suggested..i will also tell him about the use of object u mentioned

thanks again
__________________
__________________
a_medico is online now  
Old 12-05-2005, 10:44 AM   #4 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default

You are welcome

Here's my 2 bits. VB is not so naive. There are more than one way of doing the same thing. What you do is have predefined settings with each variable declared as Printer.

For example you can have something like this in a calendar printing software.
Code:
Dim DeskCal as Printer, PocketCal as Printer
Now setup properties of DeskCal with some default best suited for printing desktop calendar and so on for PocketCal. Hope this is useful
__________________
:: Free hosting and free domain names available in special cases. Conditions apply ::
tuxfan is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by abhidev
- by clinton

Advertisement




All times are GMT +5.5. The time now is 06:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2