I can´t change the orientation of a layout and neither embedded graphics on it
daviddoji
In this new version, when I create a layout (Windows>New Layout>Do it), Igor generates a portrait layout. If I need to change it from portrait to landscape, I go to File>Page setup for this layout.
But Igor says: The page setup failed. Do you want to replace the place setup with a default setup?
Whatever I press (yes or no), Igor gives an error: The operation could not be completed because Windows OS error of an unknown nature (Windows OS error code: 10). In using Windows 7 64 bits Home edition
But the funny point is that if I choose from the command line: Layout/S /P=Landscape, Igor creates a landscape layout.
Another problem is that I can´t embedded graphics in the layout. When I insert a graph in a layout and right-clic over it and try to convert graph to embedded, Igor says: Can´t put controls in a subgraph.
Thanks in advance.
I suspect there is an issue with your printer driver. Try changing the default printer driver in the Windows printer control panel to another printer driver.
If a graph contains controls (buttons, popup menus, etc.) then you can not embed that graph as a subwindow in a page layout.
I see that this was allowed in Igor Pro 5. It was changed in Igor Pro 6.02 but I don't know why.
March 21, 2013 at 09:32 am - Permalink
And how can I embedded graphics then?
March 21, 2013 at 12:09 pm - Permalink
You can embed an existing graph but you must remove the controls from it first.
You can create a new embedded graph in a page layout by clicking the second icon from the top to enter drawing mode and then right-clicking in the body of the layout and choosing New->Graph.
Here are some relevant help topics:
DisplayHelpTopic "Embedding and Subwindows"
March 21, 2013 at 01:00 pm - Permalink
I am having the exact same problem. Are you sure there is not a bug in Igor 6.3.1.2??
May 9, 2013 at 07:06 am - Permalink
It's impossible to be sure about that. What I can says is that I am aware of two reports of it. It could be a bug in Igor or it could be an issue with the printer driver or some printer setup issue. The code related to this area of Igor has not changed for years.
First, tell me what your operating system is and give me details on your default printer and printer driver. To get details on the printer and driver go into the Printers control panel, right-click your default printer and choose Printer Properties, click Print Test Page, and report the Printer Name, Printer Model, Port Name, Driver Name, Driver Type and Driver Version.
Second, please try using a different printer driver and let me know if the issue goes away. If necessary create a new printer that prints to a file and test with that. Post the result of that experiment here.
Updates:
Third: Windows error 10 is ERROR_BAD_ENVIRONMENT. If you do a Google search for "error bad environment printer" you will get some hits. Try uninstalling and reinstalling your printer driver.
Igor Pro 6.31 is the first version of Igor that is "code-signed". This is a security feature that allows Windows to verify that the program you are installing comes from WaveMetrics. It is possible that this causes Windows to apply more strict security measures.
If you uninstall Igor Pro 6.31 and install 6.30 and the problem goes away, and then you uninstall 6.30 and install 6.31 and the problem comes back, then I would guess that it may be due to code signing.
In any event I don't know the cause or how to fix it. Doing the steps listed above will provide more information and reinstalling the printer driver may fix the problem.
May 9, 2013 at 08:42 am - Permalink
thanks.
May 10, 2013 at 01:18 pm - Permalink
Note that, if you are using IGOR32 (normal 32-bit version of Igor), you must install the 32-bit printer driver even when running on a 64-bit OS. If you are running IGOR64 (64-bit beta version), you must install the 64-bit printer driver. If you run both IGOR32 and IGOR64 then you must install both the 32-bit and 64-bit printer drivers.
May 10, 2013 at 03:14 pm - Permalink