'TEXT' mnemonic.

Started by HendersonS, May 26, 2020, 04:01:04 PM

Previous topic - Next topic

HendersonS

Hi all,

Printing with mnemonic 'TEXT', to print text, and using mnemonic 'BB' for bold text, everything in the viewer looks fine, but when exported to PDF format, bold disappears.

anyone know why? code used below.

LET CHAN=UNT; OPEN (CHAN)"*viewer*;SUPPRESSWATERMARKS;ORIENTATION=PORTRAIT"
PRINT (CHAN)'BB','TEXT'(600,190,"Customer:"+CUST_NAME$),'EB'
CLOSE (CHAN)

James Zukowski

Have you tried setting/resetting the 'FONT' mnemonic with ",B"? According to the documentation, 'TEXT' is using the latest 'FONT' and Color attributes. The VIEWER is a program that may be giving you a "free ride" with the bolding of the 'TEXT'. It's reading and deciphering mnemonics to create the desired display. PDF doesn't interpret it quite the same way.
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

HendersonS

#2
thanks for reply,with the font resetting  works fine.

PRINT (CHAN)'FONT'("Courier New",-12,"B"),'TEXT'(600,190,"Customer: "),