T O P I C R E V I E W |
dansp |
Posted - 01/28/2014 : 06:38:02 AM Origin Ver. and Service Release (Select Help-->About Origin): Origin 9.1.0 (64-bit) SR1 Operating System: Windows 7 Professional, Service Pack 1
I have a problem with the export function. I use the sample Project "2D and Contour Graphs" -> "Multi-line-plot with Special Position" (located on the very bottom in the middle), but the same problem exists with all other graphs I tried. After standard PDF or EMF export, the font in the axis labels does not look the same, especially the spacing between letters is very different. See a printscreen of the PDF:
When I export directly to a pixelbased format, such as jpg, the result is excellent:
Someone had the same Problem with Origin 9.0, but it should have been solved by now:
http://www.originlab.com/forum/topic.asp?TOPIC_ID=18319
Does anyone have an idea where this problem comes from and how I could solve it?
Thank you
PS: Download the exported PDF file here:
http://www.originlab.com/ftp/forum_and_kbase/Images/Multi-line-plot_with_Special_Position_Annotation_Line.pdf |
10 L A T E S T R E P L I E S (Newest First) |
Chris D |
Posted - 03/04/2016 : 1:55:10 PM Hi Max,
I recently helped another customer with this issue. Unfortunately setting @TO=1 is the only way to overcome the issue. You can also try setting @TO=2 to see if that may work.
As for the jaggedness you may seen in the fonts when zoomed, that will be fixed in Origin 2017 (ORG-9875 - that's our internal issue tracker ID in case other Origin TS folks read this).
I am sorry for the inconvenience.
Thanks, Chris Drozdowski Originlab Technical Support
|
Max_S |
Posted - 03/04/2016 : 11:42:48 AM Any Solutions for this? I have the exact same Problem (9.3) @TO = 1 works but does not look very good! |
snowli |
Posted - 02/04/2014 : 09:23:16 AM Thank you Daniel. I am glad that we can help.
I will let our developer know the answers. By "active printer", we mean the "default printer". You answered it already from your next answer.
I searched in our database that "@to=1 forces Origin text to be drawn using polygons instead of standard text drawing GDI calls."
Any questions, don't hesitate to contact us.
Thanks, Snow Li OriginLab Corp. |
dansp |
Posted - 02/04/2014 : 08:07:55 AM Hi Snow
You're a genius, thank you so much! I permanently assigned the value 1 to the variable TO and the export of graphs to MS Word now works perfectly. I'm curious, what does the variable TO mean?
To your questions:
1. The value of SZ is 1 -> Bug happens 2. Changes value of SZ to 0 -> Bug still happens 3. Problem does not occur in File: Print Preview 4. I don't know what 'active printer' is. How do I find out if it's set or not? 5. My default printer is a network printer HP-lj2015dn. Under properties I find 'HP Universal Printing PCL 6 (v5.3)'. After changing the default printer to "docuPrinter" the bug still happened.
I hope this helped, let me know if I can do anything else.
Thanks again very much!
Best, Daniel
|
snowli |
Posted - 02/03/2014 : 11:17:16 AM Hi Daniel,
Our developer explained why Ctrl+V doesn't work. It's because when using Ctrl+V in Word, it launches another hidden Origin session, which creates the picture. Since setting @to=1 in Script window only affect current Origin session, in the hidden Origin session, @to is still 0 so Ctrl+V fails. If you have set @to=1 in Tools: System Variables. Ctrl+V will work as well. Could you try if it works for you?
BTW, since we couldn't reproduce the problem inhouse, could you help us try several other things to help us debug the problem?
Please set @to back to 0 in Tools: System Variables dialog so the bug you saw reappears.
1. Then in Script Window, run @sz= //<ENTER> What is the return value?
2.If @sz is 0, can you set it to 1 and see if the bug still happens? If @sz is 1, can you set it to 0 and see if the bug still happens?
3. Still with @to=0, could you check if File: Print Preview shows the problem as well or not?
4. Is active printer set on your PC? If so, what is it? We would like to try the exact printer driver version to see if we could reproduce the problem.
5. Still with @to=0, If your active printer isn't set before, could you try to set a default printer driver and see if the bug still happens?
Thank you very much for your testing in advance!
After the testing, you can set @to to 1 in Tools: System Variables to avoid the problem for now.
Sincerely, Snow Li OriginLab Corp. |
snowli |
Posted - 02/03/2014 : 09:04:22 AM Hi Daniel,
Great to hear we made some progress.
1. To change a system setting permanently, you can choose Tools: System Vairables... to open the "Set System Variables" dialog.
Enter TO as value. Enter 1 as Value.
You can right click in white area to set more system variables if needed in the future.
2. When copying a page, we are using EMF as well. So do you mean when @to=0, no problem Ctrl+V to paste the page in Word. But when setting @to=1, there is problem Ctrl+V to paste the page in Word?
Let me know the answer. I will check with our developer.
Sincerely,
Snow OriginLab Corp. |
dansp |
Posted - 02/03/2014 : 03:21:47 AM Hi Snow
Thank you very much for your reply, there is some progress!
Yes, the problem existed also in the EMF-export and when I copied the graph to MS Word using "Choose Paste Special: Enhanced Metafile". After running your magical command the EMF-export and the PDF-export work fine! Also when I insert the graph into MS Word using "Choose Paste Special: Enhanced Metafile" the graph looks perfect.
However, when I just use CTRL+V or "Choose Paste Special: Origin Graph Object" the fonts in the graph still look bad. This is an important feature for me, because I want to keep the possibility to adjust the graph without having to import it to MS Word again. When inserting the graph as enhanced metafile this doesn't seem to be possible. Do you have an idea how to improve the result when inserting the graph as Origin Graph Object?
Also, after restarting Origin, I need to run the command again to get good results. Is there a way for a permanent solution?
Thank you again for your help
Daniel |
snowli |
Posted - 01/31/2014 : 11:42:36 AM Hi Daniel,
Could you first try export to EMF to make sure the problem also exists in EMF? Then could you choose Edit: Copy Page and then go to MS Word. Choose Paste Special: Enhanced Metafile to paste it into Word to see if the problem?
If the problem exists in exported EMF files, could you choose Window: Script Window menu in Origin and run @to=1 //<ENTER>
Open the opj with the graph and try export EMF and PDF again to see if the problem still exists? Also try if Copy page and paste special: Enhanced Metafile works or not?
Thanks, Snow OriginLab Corp. |
dansp |
Posted - 01/31/2014 : 10:46:07 AM Hi Hideo
Thanks, but unfortunately it still doesn't work.
- I first successfully updated to Origin 9.1 SR2 (64bit) -> still bad font quality in the exported pdf - When running "Add or Remove Files" there was an error message "Please Close Origin before you run this program" although I had closed Origin before. - I restarted the Computer, then I could add the 32bit-version of Origin. However there were problems when I run it: the export Dialog didn't even open (without error message)! Under "About origin" there was still Origin 9.1 SR1. - So I restarted the Computer, removed Origin from my System. Installed it again, this time with both 32-bit and 64-bit Version. Then both versions worked fine, exept: -> still bad font quality in the exported pdf (in both Versions) - I ran the update again, now both Versions were updated to Origin 9.1 SR2 -> still bad font quality in the exported pdf (in both Versions)
I'm not using remote desktop.
I'm getting crazy because of this problem. Do you have another idea?
Thanks
Daniel
|
Hideo Fujii |
Posted - 01/29/2014 : 09:33:23 AM Hi dansp,
We so far couldn't reproduce the problem as exported graph looks okay (using Origin 9.1 SR1 with 64-bit machine). Could you please try the following work-arounds?
1) Please upgrade to Origin 9.1 SR2 from the current SR1? http://www.originlab.com/index.aspx?go=Support&PID=2116 2) Please try to export the graph with 32-bit exe of Origin program. (If you haven't install 32-bit exe, you can go to the "Start" menu of Windows >> All Programs >> OriginLab >> Origin9.1 >> Add or Remove Files; then select "Modify" to get the 32-bit program additionally.
3) If you are using Origin via Remote Desktop, please try to export on a local computer.
I hope either work-around solves the problem.
--Hideo Fujii OriginLab |
|
|