Solved

how to create a table to send to a printer

Posted on 2006-06-24
6
152 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now