Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 03 NOV 2011 01:44:01PM Maggie Shinn wrote:

If anyone has figured out how to change text fonts in the middle of a print line, I would appreciate some help. PrintLineFeed(0) is the only option I've found and I cannot get it to work.


At 04 NOV 2011 03:25AM Stefano Cavaglieri wrote:

Maggie-

If you're talking about printing, the following might help (taken from the online help of OI):

/* The following example shows how to use the TEXTRTF message to bold text in the middle of a paragraph. */

declare function Set_Printer

stat=Set_Printer("INIT") ;* Start printing

stat=Set_Printer("TEXTRTF", "This is a {\b simple} RTF test.")

stat=Set_Printer("TERM") ;* End printing

-Stefano


At 07 NOV 2011 02:10AM Eric wrote:

Depends on your document format.

HTML is probably the easiest for short / one page documents.

You can imbed escape sequences for your printer but it can get messy.

You can write postscript documents which are fairly easy if your format is simple enough.

Perhaps design a prototype in Word and publish a link to it here. Then we can see what you are trying to achieve.


At 07 NOV 2011 03:04PM Jared Bratu wrote:

Thanks Stefano, This is the recommended method for changing fonts in the middle of a sentence. The PrintLineFeed functions are part of the Pre-OIPI printing engine. It's recommended that you use OIPI set_printer and get_printer functions.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/3b3533513f9d96308525793d006169eb.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1