?
Solved

Can't print RichText  just text.

Posted on 2003-03-14
5
Medium Priority
?
160 Views
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.
0
Comment
Question by:rbmatthews
[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
5 Comments
 
LVL 16

Expert Comment

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

Accepted Solution

by:
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:
http://www.freevbcode.com/ShowCode.asp?ID=195&NoBox=True

2) try this microsoft sample:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;146022
0
 

Expert Comment

by:CleanupPing
ID: 9056314
rbmatthews:
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 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 9699706
Moderator, my recommended disposition is:

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

DanRollins -- EE database cleanup volunteer
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 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