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     Printing barcodes on a label

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Printing barcodes on a label
 Login/Join
 
Platinum Member
posted
Hi All,

Does anyone have an example of printing continuous form labels with a barcode being printed on the labels.

Thanks
Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Virtuoso
posted Hide Post
Jim,

I don't know if you got the email I sent on this or not, but basically you would create labels (for which there are many examples on the forum) but instead of printing your field(s) in a "letter" font, use a barcode font such as CODE39, following instructions in the manual Creating Reports with WebFOCUS Language for adding the non-standard font to your WF installation. These are not images, per se, just a different font like Hebrew or Korean.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
Hi Darin,

Thanks for the e-mail.

I copied the two files code39a.afm and code39a.pfb onto our reporting server in folder ibi\srv52\home\etc

Then I updated pdf.fmp with the following:

font=BARCODE1, style=normal, metricsfile=CODE39A AFM *, fontfile=CODE39A PFB *, $

Then I ran the following fex:

TABLE FILE CAR
PRINT
SALES
BY COUNTRY
BY CAR
BY MODEL
BY BODYTYPE
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='LETTER',
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
COLUMN=SALES,
FONT='BARCODE1',
$
TYPE=TITLE,
STYLE=BOLD,
$
ENDSTYLE
END

and the result is:

The SALES column prints out as a blank???

What else do I need to do?

Thanks
Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Virtuoso
posted Hide Post
I ran your code as-is on my server and it works. The only thing I can think of is that for whatever reason in emailing/copying files, the font files have become corrupted. Try using the ttf2pt1 utility to create your own AFM and PFB files (i think i had instructions in the powerpoint - but it is also in the readme of the utility zipfile.) an use the resulting files. If you're using ftp, the PFB file must be transferred in binary mode. Good luck


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Virtuoso
posted Hide Post
Just now noticed that you are on 5.2.x. Can't remember for sure if this went back as far as 4.3.6 or if the feature was made available in 5.3.x. They actually included this feature at our request and I think we were on 436 at the time.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report 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     Printing barcodes on a label

Copyright © 1996-2020 Information Builders