I've searched in vain, off and on for several months, and still haven't found anyone else with this issue. Resolutions to similar issues aren't working for me or simply don't apply.
I have a web application written in Visual Studio.Net 2012 (C#/ASP.Net). The application pulls a small set of data from an Oracle table, and then uses Crystal Reports to throw that data onto a report page that is displayed by Adobe Acrobat within the browser. The Users then print out the individual Adobe Acrobat page as a 'coupon', and physically scans it into our document scanning system. This document scanning system DEMANDS a particular font, and here's the issue...Currently, the app is running in our production environment, and our User Acceptance Testing (UATest) environment. The Adobe Acrobat page is displaying a different font set for each web environment. On UATest, everything is displaying as it should. The font is OCR A Extended. It's a monospaced font that resembles the old Courier style. On our production system, it's displaying what looks like Arial? Microsoft Sans Serif? I have no idea, but whatever it is, our scanning system doesn't like it and won't accept it.
The situation is what it is. I can't alter the river flow at this point. That means I'm stuck with the current methodology. Automating the process so that the data goes from website into the data tables on the scanner would be ideal, but that's not possible.
The two web servers are both Windows Server 2012/R2.
The IIS setup is identical for both applications on both web servers.
I've synchronized all of the fonts and font settings on both web servers. They are exactly the same number and files for fonts on both machines.
The application is internal to our department, and access to it is controlled through Active Directory. Not sure if that matters for this, but better to have too much info than not enough.
The applications are identical, meaning that I've copied the entire application folder from the UATest machine where it displays the proper font, onto the Production machine where it doesn't.
The font is set correctly and shows correctly in the Crystal Report creator on the development machine (my local machine used to code, compile, and deploy the app).
The results are the same regardless of the browser used.
I've gone into the Crystal Report, Right Clicked -> Design -> Default Settings -> Fonts Tab. And then set the default fonts to OCR A Extended for each possible object.
At this point, I've got my Users running the app from the UATest server. Not the most ideal solution, but it will have to hold until I find the fix for this.
Problem resolved. The fonts didn't/wont take effect on the web server until a restart is performed. Did one last night and the new Font is showing up like it should.
Related
We are currently working with an IBM workflow application called FormWave and
running an electronic approval system.
Currently we are working at home and using VPN((wifi at home).
We are struggling with the investigation because there is a problem that the file is damaged when uploaded via VPN.
Corruption means that when viewed with a binary editor, some data becomes zero bytes.
-Environment and Conditions
・App: IBM FormWave for WebSphere 6.1.2.3
・Middle: IBM WebSphere Application Server 7.0.0.13
・DB: IBM DB2 9.7.3
・OS: IBM AIX 6.1 TL7 SP6
・VPN: 2 channels(VPN1, VPN2) via wifi at home
*Not occur
・Internal network(company)
・Tethering(via VPN) from iPhone which is provided by company
-Steps
① Convert to PDF file written in Japanese on PC
② Save the PDF file as an attached file to the electronic approval that is connected by vpn
③ Download the file saved in electronic approval on your PC
-Problems
When opening the file attached to the electronic approval via VPN(wifi), the following events occur.
・Color unevenness of image data (ex. the background becomes greenish)
・Characters are faint
・Font cannot be read and characters are not displayed.
・Error displayed when opening a file
・occurs only at PDF files and other files like Excel, word are displayed correctly.
We thinks this might be a rare phenomenon in which the TCP layer affects upper layers with the result of error.
We found large sized files may occur events more frequently than small sized files.
What could be the cause?
Any help would be appreciated.
-The image is binary data comparison.
left is original and right is uploaded file.
blue parts are turned to red parts(00 byte)
We are in the process of migrating from an older server to a newer server. We have a VERY large project (primarily web forms) that will be making the move, and would like to be able to check each page in the project for runtime errors without having to actually navigate to each and every page and doing a visual inspection.
To clarify, we want to identify if there are pages after the migration that are going to display that horrible yellow screen, for reasons such as out of memory, reference not found, or any of the other many issues that could come with a migration.
Has anyone done this before? Is there some sort of open source solution for this?
I am running a Citrix-driven environment, and I have a vital piece of software that creates a PDF repository of all reports as they run. The problem I have is that the users' printers must populate into the environment (Not just the default printers- ALL of them), and a number of the computers have Acrobat 9 or X on them. The software that creates the reports REQUIRES that the Rely On System Fonts is turned off, but some users have it turned on when it comes to the PDF printer on their computers. Sometimes, when user x goes to create a report, it will grab the printer from user y's session that may not have the option properly unset- Then user x's irreplaceable report is lost. The application is a Dexterity application, and I don't have access to the source. Is there a way, in Citrix or in AD, to script this one option to be unset properly? Any idea if there is a registry key or some kind of hook I can activate with a powershell script to fix this headache? I appreciate any help.
I have been researching for weeks to figure this out for myself, and I was looking for one more answer and found your question. To fix your problem I was able to find that the registry key found here:
[HKEY_CURRENT_USER\Printers\DevModePerUser]
Contains all of the current printer properties. If you export it, you can run a script to add the reg key during login. Just make sure that you restart the spooler after words, just to make sure that the changes apply. Also the settings will only apply to the printer with the same name, so you have to have a different reg key for each different printer name, if you have several. I just esported the key after I had changed the printer settings to how I liked them, and then edit the .reg file to remove any data about other installed printers to make sure that the .reg file wouldn't affect any other printers.
Apparently, this problem is a common problem. Microsoft has acknowledged that the PDF creation issue I am trying to avoid is an issue in GP, starting in (Think it was version) 7. The Microsoft-recommended workaround is to open the PDF Printer properties and uncheck the Use System Fonts box. Adobe does not support this configuration, so they will not provide a clear way to implement it at a network level with clients in many locations and 4 different major versions of Acrobat. The closest I came was a post that identified an incredibly long string I have to hexedit that seems to change in specific minor versions of Acrobat. Way to go M$ and Adobe. So, in other words, no support on major product lines from two major companies. I have nowhere else to go at this point. If anyone else has a solution to this problem, I'd love to hear it. Thanks!
Sorry for the insanely long title, I find this one hard to sum up. I'm being asked to maintain several internal-only web apps for my company. For testing, after making my changes, I've created some staging sites which make use of separate databases. As such, if my users were to mistakenly use this site as if it were the production site, they may enter important data and wonder where it "disappeared" to thinking it was the production server.
I'd like to create a big banner of some sort across the top of the staging site (which ONLY appears on the staging site) to remind my users that they are on the test site. I'd like recommendations on the best way to do this, with the following considerations:
IDE: Visual Studio 2008
Server: Windows 2003 with IIS 6
Language: VB.NET 2.0
Thanks ;)
I would create a web.config app setting that contains a specific value in staging. Then in your master page(s) code behind(s) - assuming you're using them - write some code in that inserts an appropriately styled HtmlGenericControl (as a div) into a PlaceHolder control in the master page markup. All this occurs based on whether the app setting has the value indicating the staging environment.
If it were me, I'd make the staging site have a different color background.
White background -- public and live.
Pink background -- staging, liable to be reformatted any second.
We have a process at our company that processes TIFF images. I have a project where I want to be able to capture emails that people have received and let them pass it on to our imaging process. Right now forwarding an email isn't really an option but our initial thought was that we could create an Outlook addin that would create and send an image of the email to our internal webservice and it would just work.
I'm developing on Windows 7 with VS2010 and Outlook 2007.
I have the basic addin framework setup - that seems to work OK. The addin is there, popping a regular Windows form where I can do my stuff. But now I'm running into problems. First I was going leverage the built-in Microsoft Office Document Image Writer which can write to TIFFs. However, this doesn't appear to be installed as part of Office 2007 on Windows 7. Then I found some references that it didn't work on Win7 64bit in the first place, and that Microsoft was phasing it out in favor of their XPS printer anyway.
Then I moved on to thinking I could maybe use PDFCreator. This sort of works, except it looks like I have to actually have PDFCreator installed on the client machine, too. I was really hoping I could just bundle the dll and PDFCreator could natively "print", but it seems rely on you setting the active printer to "PDFCreator" and still printing to that. I was already maybe going to run into problems pushing a custom addin out to users in the first place; I don't know if I could get a new printer rolled out as a requirement, too.
On top of that, you apparently can't set the active/default printer in Outlook once it's running. So my plan to run the addin, change the default printer to PDFCreator, print it, then change it back isn't going to work after all anyway.
We really wanted to be able to capture emails as if the user had printed them out and scanned them, which is what they have to do now. I would really not like to rely on copying/pasting into another application if I can help with it.
Sooooooo, what other options might I have? Is there any close to native functionality in Windows or Office that would let me print to something and eventually get a TIFF? Does it look like I'm going to have to try and string together a bunch of 3rd party tools or something? It looks like the only way to "print" an email is to do the MailItem.PrintOut() command, which is just going to go to whatever the current default printer is. Are there any other TIFF-printing things available that wouldn't involve installing a new virtual printer on the end user's machine? Any other ideas? Thanks for any help!
Although you ruled it out at the start of the question...
Assuming you need those tiffs at a central location and not at the employee desktop.... I'd still advise you to have your addin forward the respective mail to a central location (as an attachment to a automated mail, or perhaps just write it to a queue folder on some network location), then have a central process pick it up and print it out to tiff files.
Unless you have exact control over the client machines at your company (which from the sound of it, you don't), you really want to move some fickle as 'switching printers in Outlook' away from the clients.
That doesn't mean this approach doesn't require hacks as well, because that central process will be running outlook to do the work.
I assume it is important that your tiffs look like they were actually printed from Outlook, if not please add that as extra information to your question, as it opens new routes. Like capturing the email-screen rendering and putting that inside a tiff file, which can all be done on any desktop machine.