on 2022 Oct 04 4:38 PM
I have developed a number of reports and displaying using aspx web pages but the aspx viewer doesn't show installed fonts on client device. such as code39barcodes when using windows IIS
Also how to generate a barcode in cr2020 to visible to a new client in web viewer using IIS
if i export the report content to a PDF it shows the barcode fonts
any help or advice please
Request clarification before answering.
Thanks for checking, so it's not an OS issue...
By Client Device do you mean a Phone or tablet?
As noted we don't support those devices using .NET because we require the full version of the Framework to be installed.
We don't support MS Core Framework, which those devices do support.
CR is built using C++ and lot's of COM wrappers around the core engine thus the reason why we need the full version of the Framework to be available.
As for the Web form Viewer it too relies on COM resources and likely to display the font locally, that's why PDF and local PC works, it embeds the barcode in the PDF file.
The viewer needs the font installed.
I have not tested viewing reports on a phone or tablet so not sure what is required... I would assume it needs the font, but I don't think it has the ability to install fonts.
This would be an Enhancement request... I'll talk to the Mobile team and see what they have to say...
For now your only option is to export to PDF and send that to them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, Currently we don't support Windows 2022 server:
SAP Crystal Reports, Developer Version for Microsoft Visual Studio – Supported Platforms (updated)
Possibly SP 33 will, it's due out in a month or so... Checking with R&D to see if it's going to be supported in SP 33.
If this is an issue they'll look into why...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CR for VS doesn't support hand held devices, it requires the framework to be installed as well as all dependencies including the fonts and UFL's.
Mobile devices are not supported.
I clicked your link, not sure what I'm looking at though?
If it's a WEB server it's not showing the bar code because IIS can't find or doesn't have permissions to access the Font or UFL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don,
Thanks for the comments, see my replies in italics, appreciated.
Mobile devices are not supported. - the webpages all work on the handheld devices using windows CE / android / IOS just don't show the barcode fonts.
I clicked your link, not sure what I'm looking at though? this is supposed to show you a barcode of the number displayed but it only shows *1234567890*
If it's a WEB server it's not showing the bar code because IIS can't find or doesn't have permissions to access the Font or UFL. - this is a windows server 2022 IIS and the font is installed as it shows correctly on the server just not on a browser on any client
given the browser on the server show it correct and every client can export it correctly that would assume the font is installed and has permissions? how else can i set permissions for the font?
all 3 browsers can export to a PDF and it shows the barcode perfectly but that's not what i want i need it to show in the browser
see image below
many thanks
Paul
I fixed the link....
Fonts and barcode UFL need to be installed on the WEB Server where CR runtime is installed. They are not included with the CR runtime install. Or install Crystal Reports Designer will also work.
Exporting on the WEB server will embed the font, exporting on work station won't unless the font is install locally.
All to do with Licensing, CR won't embed Licensed fonts when exporting to PDF.
Go to the link and set up a license for installing the font and users work stations.
Other option is to use any free Code39 font, you don't need to use a UFL, simply replace the font with the free one, it should embed in the PDF. If they still don't work instruct your users to download the font.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the comments and fixed link
no matter what font we use (chargable or free) the crystal report will not display the font in the browser but will export to pdf
we need the browser/crystal viewer to show the barcode - surely this is not just me
did you try the link i put added - on the WebServer is hows the font but any clients do not see it but if exported to PDF it shows the font. very weird! https://vreports.co.uk/CR1/
I can't instruct any users to download as some of the users will be using handheld mobile devices that can't install windows fonts. but they can see the pdf with the barcode showing.
thanks again everyone
Azalea fonts have to be installed on the web server.
Go to https://azaleabarcodes.com/ and download the UFL and fonts, then it all should work.
Must be installed under the same Identity IIS is running under.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
that link didn't work
IIS (world wide web publishing service) is running as Local System
I am logged on as local administrator
fonts are installed and clients still don't see the barcodes
here is a test report is shows a barcode on the server but not on a client
Fonts are installed as ADMIN and for all users
the fonts display on the server or any user that has the fonts installed - but i can't install fonts on clients who access from the internet so how would they see the fonts? i know the fonts work as they show if i use the same page and export to PDF on a client that is not seeing the fonts.
Not sure how to check if the AppPool is running x86 or x64 mode
i do have Enable 32-bit applications = False
not really touched or bothered changing any AppPools before
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fonts have to be installed under and admin account for all users access to them.
Do you have your AppPool running in x86 or x64 mode?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.