Robert,

I'm redirecting this reply through the DP mailing list since others may helpful 
info to weigh in with as well.

1) If you're entering data into a multiline text field on a panel, you can bold 
selected words using the F6 key. If you then print that field in a report going 
through DPSpool the words will be bolded as expected. However, I suspect that 
you're actually wanting to know how to apply the bold attributes to certain 
words via a formula, with a report variable. That's a horse of another color. 
There isn't any easy way to do this, that I know of. If you try to use bold 
text inside a formula definition you get things like a "Word Not Recognized" 
error and other problems.

And with multiline fields, you can't even use the ;;V trick of embedding the ¥ 
and £ characters within the text. (;;V only works with regular text fields such 
as A78, not A0A0 fields).

So if there's an easy way to apply bold to a word within a multiline text field 
via a formula, I don't remember it.

2) It's my understanding that a WMF file is a vector-based drawing consisting 
of directional instructions, as opposed to a bitmap drawing consisting of a 
bunch of dots. It's possible that the text within your WMF image is actually 
text - in other words the WMF instructions may call for printing an actual 
character rather than a picture of a character. If that's the case it could be 
that you simply don't have the right font installed on your workstation. Just a 
guess here, since the WMF handling that DPSpool does (as with all of the other 
graphic formats) is actually done by Visual Basic routines that are part of the 
programming language - a black box as it were. I programatically send the 
command to print the graphic and Visual Basic takes over from there. So how it 
takes a specific image file and converts it to printable output is a mystery to 
me too.

Tim Rude
  ----- Original Message ----- 
  From: Robert I. Kendall 
  To: Tim Rude 
  Sent: Tuesday, March 10, 2009 11:58 AM


  Hi Tim,

  Thanks for bringing my attention to the dpspool designer help. I'm 
customizing my pathology laboratory's reports in ways I never thought possible 
with DP. 

  I've got a couple more questions: 

  1. Is there any way to bold selected words within a multiline text field 
(AxA0)?

  2. I am having problems printing a report with an image in .WMF format. The 
image prints perfectly from all workstations but mine. My workstation prints 
the image to a different font. Any suggestions?

  Thanks for a great program and great support,

  Robert Kendall
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to