Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     mailing lable problem

Read-Only Read-Only Topic
Go
Search
Notify
Tools
mailing lable problem
 Login/Join
 
Member
posted
I'm have a problem generating mailing labels. Page 2 and on seems to be skipping the first label block and then overprinting the first block on the last row. Using WF 5.2.3


 TABLE FILE SQLOUT
BY
TOWN_DESC NOPRINT
BY
FACILITY_NAME NOPRINT
BY
OPER_NUMBER NOPRINT REPAGE

ON OPER_NUMBER PAGE-BREAK
HEADING
""""
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.500000,
BOTTOMMARGIN=0.50000,
ORIENTATION=PORTRAIT,
PAGEMATRIX=(3 10),
ELEMENT=(2.625000 1.000000),
GUTTER=(0.180556 0.000000),
MATRIXORDER=HORIZONTAL,
LABELPROMPT=OFF,
$

This message has been edited. Last edited by: <Maryellen>,


K Mann
WF 7.1.4 Win
 
Posts: 25 | Location: NY | Registered: October 16, 2003Report This Post
Virtuoso
posted Hide Post
Having never printed labels as headings, not sure what would help. However are you just using the heading to print the label data. If so, have you just tried doing the fileds and a define for the dash mark.
SUM
TOWN_DESC IN 1
DASH IN +1
FACILITY_CODE IN +1 OVER
FACILITY_NAME IN 1 OVER
OPERATION_NAME IN 1 DASH IN +1 OPER_NUMBER IN +1
BY,,,,,

Of course any labels I've done we always end up routing to a mainframe printer so I will admit I'm not familiar with PDF output.
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
Works fine in 5.3.2 using your basic code but pointing at a sample database (EMPLOYE2)
-


TABLE FILE EMPLOYE2
LIST
FIRST_NAME
LAST_NAME
ADDRESS_LN1
ADDRESS_LN2
ADDRESS_LN3
MORE
FILE EMPLOYE2
MORE
FILE EMPLOYE2
MORE
FILE EMPLOYE2
END
HOLD AS MYDATA
-*EXIT
TABLE FILE MYDATA
BY LIST NOPRINT
BY FIRST_NAME NOPRINT
BY LAST_NAME NOPRINT
BY ADDRESS_LN1 NOPRINT
BY ADDRESS_LN2 NOPRINT
BY ADDRESS_LN3 NOPRINT REPAGE

ON ADDRESS_LN3 PAGE-BREAK
HEADING
""""ON TABLE SET PAGE-NUM NOPAGE
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='A4',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.500000,
BOTTOMMARGIN=0.50000,
ORIENTATION=PORTRAIT,
PAGEMATRIX=(3 10),
ELEMENT=(2.625000 1.000000),
GUTTER=(0.180556 0.000000),
MATRIXORDER=HORIZONTAL,
LABELPROMPT=OFF,
$
ENDSTYLE
END

This message has been edited. Last edited by: <Maryellen>,



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
Thanks
 
Posts: 25 | Location: NY | Registered: October 16, 2003Report This Post
Member
posted Hide Post
K Mann
Did you get this to work in 5.2.3. We are experiencing the same problem and are using the exact same settings only we are working with 2 column labels.
 
Posts: 26 | Registered: February 25, 2005Report This Post
Platinum Member
posted Hide Post
Here is another example that creates one label per page based on a counter. It also prints a header label with the date and number of labels.

SET PAGE-NUM=NOPAGE
-*
DEFINE FILE EMPLOYE2
T_CNTR/I6 WITH EMP_ID = T_CNTR + 1;
A_CNTR/A6 WITH EMP_ID = EDIT (T_CNTR);
T_LINE1/A30 WITH EMP_ID = '******************************';
T_LINE2/A30 WITH EMP_ID = '* *';
T_LINE3/A30 WITH EMP_ID = '* ' | A_CNTR | ' *';
T_LINE4/A30 WITH EMP_ID = '* *';
T_LINE5/A30 WITH EMP_ID = '******************************';
CNT/I6 WITH EMP_ID = 1;
END
-*
TABLE FILE EMPLOYE2
SUM CNT NOPRINT
SUM T_LINE1 AS ''
OVER T_LINE2 AS ''
OVER T_LINE3 AS ''
OVER T_LINE4 AS ''
OVER T_LINE5 AS ''
BY T_CNTR NOPRINT
WHERE RECORDLIMIT EQ 65
ON T_CNTR PAGE-BREAK
ON TABLE PAGE-BREAK AND SUBHEAD
" "
"FORUM002_LABELS"
"&DATE"
"# OF LABELS: <CNT "
" "
ON TABLE SET ONLINE-FMT PDF
-*
-* use your same settings with size=10
-*

I had to remove the settings to get this reply to post. It also removes spaces in the t_line? fields in the define statements.

Jim
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     mailing lable problem

Copyright © 1996-2020 Information Builders