Can't print RichText  just text.

Posted on 2003-03-14
Medium Priority
Last Modified: 2010-04-07
I can't print a rich text box from a windows NT/2000 workstation to a network printer. It will print to a local printer. It does print to the network from a win98 box. It will print plain text from the NT/2000 to the network printer. This is the code that dosen't work in the NT/2000 box                   ( txtCopy.SelPrint Printer.hDC )txtCopy being a RichText box.

Thanks for your help.
Question by:rbmatthews
LVL 16

Expert Comment

ID: 8137494
What is your default printer?, Sure it is not that network printer.
LVL 10

Accepted Solution

aeklund earned 2000 total points
ID: 8137513
You can try a few things....

1) try using api calls to print the information in the richtextbox:

2) try this microsoft sample:

Expert Comment

ID: 9056314
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
LVL 49

Expert Comment

ID: 9699706
Moderator, my recommended disposition is:

    Accept aeklund's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

616 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