As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I'm trying to create the registered trademark symbol (R with circle around it) in a PDF using HEXBYT and it will not work for me. Below is some sample code using the CAR file.
TABLE FILE CAR PRINT CAR.COMP.CAR NOPRINT CAR.CARREC.MODEL NOPRINT COMPUTE REGMARK/A1 = HEXBYT(174, 'A1'); NOPRINT HEADING "Car name ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ TYPE=HEADING,LINE=1,OBJECT=TEXT,SIZE=8,COLOR=RGB(79 85 89),STYLE=NORMAL,FONT='ARIAL',$ TYPE=HEADING,LINE=1,OBJECT=FIELD,ITEM=1,SIZE=8,COLOR=RGB(79 85 89),STYLE=BOLD,FONT='ARIAL',$
ENDSTYLE END
Not sure why it's not posting correctly above, but in the HEADING after "Car name" there is also a less than sign (<) with REGMARK after it and then the ending quote.
Here is a screen shot of what the output looks like.
Screenshot: Car name Þ
Instead of the trademark it is displaying that funny symbol after Car name.
Anyone have any suggestions as to why HEXBYT(174, 'A1') isn't working correctly?
Thanks!!!This message has been edited. Last edited by: BethB,
Thanks for the info...this is the first time I've posted anything.
I ran the code below and found the correct value I was looking for. On a side note, it did not match any of the ASCII charts I had looked at.
Again thanks for pointing me in the right direction.
TABLE FILE CAR PRINT CAR.COMP.CAR NOPRINT CAR.CARREC.MODEL NOPRINT COMPUTE REGMARK/A1 = HEXBYT(165, 'A1'); AS '165' COMPUTE REGMARK/A1 = HEXBYT(166, 'A1'); AS '166' COMPUTE REGMARK/A1 = HEXBYT(167, 'A1'); AS '167' COMPUTE REGMARK/A1 = HEXBYT(168, 'A1'); AS '168' COMPUTE REGMARK/A1 = HEXBYT(169, 'A1'); AS '169' COMPUTE REGMARK/A1 = HEXBYT(170, 'A1'); AS '170' COMPUTE REGMARK/A1 = HEXBYT(171, 'A1'); AS '171' COMPUTE REGMARK/A1 = HEXBYT(172, 'A1'); AS '172' COMPUTE REGMARK/A1 = HEXBYT(173, 'A1'); AS '173' COMPUTE REGMARK/A1 = HEXBYT(174, 'A1'); AS '174' COMPUTE REGMARK/A1 = HEXBYT(175, 'A1'); AS '175' COMPUTE REGMARK/A1 = HEXBYT(176, 'A1'); AS '176' COMPUTE REGMARK/A1 = HEXBYT(177, 'A1'); AS '177' COMPUTE REGMARK/A1 = HEXBYT(178, 'A1'); AS '178' COMPUTE REGMARK/A1 = HEXBYT(179, 'A1'); AS '179' COMPUTE REGMARK/A1 = HEXBYT(180, 'A1'); AS '180'
HEADING "HEXBYT VALUES" ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ TYPE=HEADING,LINE=1,OBJECT=TEXT,SIZE=8,COLOR=RGB(79 85 89),STYLE=NORMAL,FONT='ARIAL',$ TYPE=HEADING,LINE=1,OBJECT=FIELD,ITEM=1,SIZE=8,COLOR=RGB(79 85 89),STYLE=BOLD,FONT='ARIAL',$
Using the MacGuyver file FSEQ, this does the trick:
-* File pdfhex.fex
TABLE FILE FSEQ
PRINT ORDER AS DEC
COMPUTE HEX/A1=HEXBYT(ORDER,'A1');
WHERE ORDER FROM 32 TO 255;
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
GRID=ON, FONT=ARIAL,
$
ENDSTYLE
END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006