Solved

how to create a table to send to a printer

Posted on 2006-06-24
6
154 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
  • 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

805 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