1. Dennis Little
  2. PowerBuilder
  3. Wednesday, 24 January 2024 19:25 PM UTC

Hello all,

We're using PB 2022 R2 build 2828. We have a datawindow with a couple of barcodes. Code39Two font. The font is assigned to the column on the datawindow. Using the pdfdocument doesn't seem to pick up the barcode font.

Anyone else run into this?

I have this set on the application as well.

 

Thanks,

Dennis

kitty he @Appeon Accepted Answer Pending Moderation
  1. Monday, 29 January 2024 02:27 AM UTC
  2. PowerBuilder
  3. # 1

Hi Dennis,

 

Firstly, please ensure that you have distribution permissions to the font you use. If you are not sure, feel free to share the font with us to double check.

 

Regards,

Kitty

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Saturday, 27 January 2024 02:22 AM UTC
  2. PowerBuilder
  3. # 2

Hi, Dennis - 

I can only make some guesses, since I do not have the font that you are using. I'm a little confused by your labeling of the second image as "Using pdfdocument"... Is this how the PDF created by the DataWindow appears when viewed in a PDF viewer, such as Adobe Acrobat? One guess is the viewer utility you are using cannot handle this font.

The issue may be due to the font or to the utility that is rendering the PDF. Have you tried any alternative Code 3 of 9 barcode fonts?

I threw together a quick test using the "Libre Barcode 39 Text" TrueType font that is distributed by Google: 

    https://fonts.google.com/specimen/Libre+Barcode+39+Text

The barcode was created in a DataWindow using this Libre font, then A PDF file was saved from the DataWindow using PB 2022 R3, then opened in Acrobat:

I also tested with another Code 3 of 9 font (called "Code 3 de 9") that is closer in appearance to the one you are currently using. It was downloaded from the URL below:

    https://grandzebu.net/informatique/codbar-en/code39.htm

Once the PDF file was created, I un-installed this font, then opened the PDF file in Acrobat:

So it does appear that the barcode font is included in the PDF created by PB.

I hope this gives you new avenues to pursue.

Best regards, John

Comment
  1. Dennis Little
  2. Monday, 29 January 2024 19:10 PM UTC
John,



Yes, that was my intent on the labeling, when using the pdfdocument method, then printing, we get the non-barcoded text *12345-01*. We've used this barcode font for years. It's always printed correctly, lds_barcode_report.Print() whether just printing to a paper printer or pdf printer.

Thanks for the info.

Dennis
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.