Solved

how to create a table to send to a printer

Posted on 2006-06-24
6
157 Views
Last Modified: 2010-04-30
Hi Experts.

I've produced a form that I would like to print the fileds onto a table including borders and let the user select which printer they would like to send it to using the standard windows printer properties.

Your help will be much appreciated. If you need any more information please ask.

Many Thanks
Lee
0
Comment
Question by:ljhodgett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 13

Expert Comment

by:Mark_FreeSoftware
ID: 16975456

do you develop in excel or in vb?
0
 
LVL 35

Accepted Solution

by:
[ fanpages ] earned 250 total points
ID: 16978005
Here's two examples in VB.NET:
[ http://www.vbdotnetheaven.com/Code/Jun2003/2093.asp ]
[ http://www.vb-helper.com/howto_net_list_printers.html ]

Sample code for VB:
[ http://www.freevbcode.com/ShowCode.asp?ID=3646#selectprinter ]


Also FYI:
"How To Set Which Printer Is the System Default Printer"
[ http://support.microsoft.com/kb/q266767/ ]

BFN,

fp.
0
 

Author Comment

by:ljhodgett
ID: 16978052
Hi.

I'm using vb6 to develop the program

Cheers

Lee
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 16978213
Then please look at the "Sample code for VB" link above.
0
 
LVL 13

Expert Comment

by:Mark_FreeSoftware
ID: 16978381

also take a look at this site, it has some useful links

http://www.thescripts.com/forum/thread14898.html
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 16982622
Thanks for closing the question.

Presumably one/more of the links proved useful.

BFN,

fp.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question