Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to create a table to send to a printer

Posted on 2006-06-24
6
Medium Priority
?
161 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 750 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

618 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