PxPlus User Forum
Main Board => Discussions => Language => Topic started by: HendersonS on May 26, 2020, 04:01:04 PM
-
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)
-
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.
-
thanks for reply,with the font resetting works fine.
PRINT (CHAN)'FONT'("Courier New",-12,"B"),'TEXT'(600,190,"Customer: "),