Assigning ICC profile to an AI or EPS document (that has no profile)

Hi
I´m using Illustrator CS6.
I have some AI and EPS files without embed ICC profiles.
I´m trying to write a JavaScript that opens each document, assign the working ICC profile then save and close.
Have already done everything about opening and closing. It´s perfect.
The problem is the embeding ICC profile. Reading Illustrator JavaScript reference I did not find any method I could use to assign an ICC profile to the activeDocument.
Can you confirm it´s really not possible? (to assign an ICC profile to the opened topmost document)
Thank you a lot
Gustavo.

Hi Muppet
Yes the polices work for files that originally has an embed profile. But considering EPS without a profile, it opens in Illustrator as "untagged RGB" or "untagged CMYK"...so the ended AI file wont have a profile!
Will make some other tests here. Altought a little crazy, I found a solution working this way:
1. After opening the EPS, I made a function to unlock all layers and sublayers.
2. Another function to unlock all pageItems then select it (so All pageItems are selected).
3. Used app.copy();
4. Added a new blank document that already comes with the working profile.
5. Used app.paste(); to paste in the new document.
6. Used the method to fit the artboard to the selection
7. Saved as AI file
8. Remove the EPS file using File.remove();
It worked and got what I was expected to have as result. However some EPS had a lot of element..then it tooks a long time to select everything and copy A little crazy but solved my problem hahaha
Best Regards
Gustavo.

Similar Messages

  • PhotoShop Elements 7 Assigning ICC Profiles

    I am new to Elements 7 and am having trouble figuring out how to assign ICC profiles. Can someone provide an appropriate workflow to follow.

    Photoshop Elements http://www.adobeforums.com/webx/.eeb4f8b/

  • User SAPUSER has no profile definition

    Hi
    i am unable to run RF transaction(LM00, LM01, LM71, LM*) in SAP. I am getting
    following error
    "User xxxxxx has no profile definition"
    Message no. LF192.
    Any help would be appreciated.
    Regards
    Raju

    Hi,
    If these transactions are working for other users, RF Queue Management should be missing for your user id in the configuration.
    Maintaining your user id in the RF Queue Management should resolve the issue.
    SPRO -> IMG -> Logistics Execution -> Mobile Data Entry -> RF Queue Management -> Assign Processor to Queues
    Hope this helps!!!
    Thanks,
    Hemanth Nandigam

  • In mobile data entry geeting erro user has no profile definition

    Hello Gurus ,
    I am trying to logon to handheld to the systme .. i am getting this error " user has no profile definition ..m
    What could be reason for this error ??

    In the configuration Maintain an entry with your user id in the following table
    SPRO--> Logistics Execution -->mobile data entry --> RF Queue Management --> Assign Processor to Queues.
    If an line item already exists, copy that and change the username, if its blank (which will be in a fresh client) input all the parameters.
    If everything is configured properly for ur user id, when you type LM00 it should show you the screen on the RF gun, or else you will get the same error.
    try this, it should work

  • Error message: User has no profile definition

    Hello,
    When I try to run a custom transaction (related to SU assignment- program SAPLSHL2), I get an error message
    " User has no profile definition"
    Could you please explain what it means and how it could be corrected?
    The SU53 analysis shows authorization checks to be successful.
    Thanks in advance!

    you are getting error bcoz of the program below,
    Form  USER_OWN_DATA
    read data of active user into header line of lrf_wkqu
    FORM USER_OWN_DATA CHANGING LRF_WKQU LIKE LRF_WKQU.
      CALL FUNCTION 'L_USER_DATA_GET'
           EXPORTING
                I_UNAME        = SY-UNAME
           TABLES
                T_XUSER        = XUSER
           EXCEPTIONS
                NO_ENTRY_FOUND = 01.
      IF SY-SUBRC = 0.
        READ TABLE XUSER WITH KEY STATU = VER_ON.
        IF SY-SUBRC = 0.
          MOVE-CORRESPONDING XUSER TO LRF_WKQU.
        ELSE.
          MESSAGE E191 WITH SY-UNAME.
        ENDIF.
      ELSE.
        MESSAGE E192 WITH SY-UNAME.
      ENDIF.
    ENDFORM.                               " USER_OWN_DATA

  • The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

  • How do I renew a provisioning profile that has expired on my phone? I use an app for the company I work for and I cannot open it because it says the provisioning profile has expired.

    How do I renew a provisioning profile that has expired on my phone? I use an app for the company I work for and I cannot open it because it says the provisioning profile has expired.

    i'm not quiet sure atm but should normally work like this:
    connect to itunes store -> log out with ur account (upper right corner where ur apple id is displayed) -> sign in with ur wifes apple id -> activate computer (store->activate this computer)
    normally it should work this way but ur wife wont be able to use apps or music within itunes library purchased with the other apple id

  • The report has user profile dependencies when enabling caching.

    Hi,
    Using SQL Server Reporting Services 2008 R2.
    I am getting the error in the subject trying to cache a report, I see that this is described here
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/e2ce8dd0-17db-47de-b13e-3574cc9d536f
    But, how does this solve my problem?  I still want to use the user as a parameter filter so surely returning a default user as part of the error handling will just give every user the data for that hardcoded user when the report is run?
    Sorry for my confusion
    Many thanks

    Hi ReportCreator,
    When we use the User!UserID to filter the data at runtime, the system tries to evaluate the User during Cache Load. At cache time report processing does not have access to the user profile information. Any expression like User!... will cause “has user profile
    dependencies” error.
    Just as Jerry said, we can write custom code to call the User!UserID in your report to get rid of the UserID during the Caching Operation. Please note that we should use a valid filter instead of "System" like shown in the code to the filter the user.
    If there are any other questions, please feel free to ask.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error Message: User has no profile in this organization

    Error Message: "User has no profile in this organization."  
    Chrome browser.  Am downloading Mozilla in the meantime and will report after.
    Attempting to log into various TV subscription cable channels with a valid ID and password which ordinarily allows me to enter the on lne version of the cable channel, such as HBO and TNT and USA.     Works fine on Showtime.     Something is local to these channels, I suppose yet suggesting that something in the computer is blocking also.   Everything worked fine with my HP notebook, all subscription/ login required channels were accessble but this new computer actually refurbished but like new) an HP Elite sff 8000 seems to be blocking me from logging in.   Could it be the cable channels?   Also got a message that indicated something about "User repository".   Please sugget a detailed fix if there is one from this information. 
    HP Elite 8000 SFF, (Desktop) WIN 8.1 Professional, Intel Core 2 Quad 2.83GHz processor. Internal 750GB HDD. 8GB RAM memory. 3 external HDDs : 1TB primary external, 1.5TB backup external, special backup 250GB external (all externals for files, music, video). Please note: 750GB HDD for WIN OS and programs only. Backed up to an 80GB external Image Maker via WIN 7 system image maker. 1 DVDRW drive. 10 USB ports. Plus there are four extra USB via PCI card. 14 USB ports in all. 240 W power supply. Printers: LJ 1020, HP AIO 6480. 3 Monitors, 20" Acer; 22" Acer; 37" LG TV.
    ALSO:
    HP ENVY: 15 ENVY 15634 Laptop 8GB Memory 750GB Hard Drive Natural Silver
    And:
    HP DV6928us, (Notebook)
    AND:
    external 1.0TB HDD, 250GB external HDD, 1.5 TB external HDD,
    AND:
    HP LJ 1020,
    and:
    HP J 6480 AIO,
    Windows 7 Home Premium on Desktop, WIN8 on ENVY

    Did you have any luck with FireFox?
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • How do I create a new document that is 8" X 8" and with Print as the document profile?

    Page 47 in Chris Botello's Adobe Illustrator CS6 of Cengage's Illustrated Series asks this for the Independent Challenge for Unit B.  "Create a new document that is 8" X 8" and with Print as the document profile." As long as its CMYK it's "Print". Right?  If I go and change the size the profile goes custom. I'm a Graphic Design Student at a local university. If there are others who have used this book, Please giver me a holler. I wonder what they want there? You think they want to change the "Print" profile? That hasn't been covered. I'm on CC not CS6 but haven't found differences in that area. Probably just not written very clearly.
    Thanks,
    Gary

    Thanks Monika,
    I hate it when I fixate on what should be easy. It's probably just a poorly worded task. I don't think it will blow my GPA.
    Gary

  • Profile Manager deleted all of my files - not just the profile. Any tips on what happened and how to resolve?

    I created a profile with Profile Manager. It dumped a lot of files into the directory that I selected. At that point I wanted to delete the profile and the associated files. When I selected the Delete Profile and Delete Files option it delete all files and folders in the directory - not just the profile files. It offered no warning that it was going to delete more than the profile files. Why did it do this and is there a way to recover the missing files? OS = Windows 7.

    You should never select a folder to be used as profile folder that already has files in it.<br />
    You should always choose a new and empty folder because you can use the Profile Manager to take up an existing profile by choosing the location.<br />
    Removing the profile and opting to delete the files will remove all the files in that folder and remove the folder as well, so be cautious with doing that.

  • After Preflighting a PDF, using Convert to CMYK, Flatten Transparency and Prepress Profile Convert to CMYK only the resultant PDF has a grubby halo along the edge of some white type sitting on an image. The type is part of the image.

    I am using a 27" iMac 3.2 GHz Intel Core 5, 8 GB Memory, running Yosemite 10.10.1. 
    The version of Acrobat that I am using is: Acrobat XI Version 11.0.10
    After Preflighting a PDF, using Convert to CMYK, Flatten Transparency (high resolution) and Prepress Profile "Convert to CMYK only" the resultant PDF has a grubby halo along the edge of some white type sitting on an image. The type is part of the image which is 300 dpi.
    It is like the image isn't really 300 dpi but has been artificially boosted to that to avoid being tagged by Preflighting, but when Preflighting the file it knows the original resolution.
    I have screen grabs which illustrate the problem perfectly but do not know how to post them, if indeed they can be.
    Any help or comments gratefully received.

    Without the files and possibly screen prints, it is virtually impossible to assist you.
              - Dov

  • I have been taken over by a local network that has disabled my systems profiler and plug-ins.  how do I break free?

    I have been taken over by a local Network that has disabled my systems profiler and plug-ins.  How do I break free?

    If you are absolutely sure that this is the problem then you should turn the airport off.

  • Is there any function module that brings out profile planner

    Hello experts,
    Is there any function module that brings out profile planner (I want to set planner profile as u201CSAP800u201D. I am using 7KE1 transaction.
    Example: I know, the FM - K_KOKRS_SET_BATCHINPUT will set the controlling area to 'CTIC' for the entire batch input process.
    Thanks in advance.

    look at these fms..
    CACS_PROFILE_PARTNER_READ
    CACS_PROFILE_SHOW

  • User has no profile in this organization. Contact your system administrator

    Hi,
    I have been attempting to install and have AM 7.2 working properly with the J2EE Policy Agent for V9 of Sun's App Server. I have followed mostly the default values during setup. I believe I have the installed properly. In order to verify that everything is working properly, I have also installed the sample app that comes with the J2EE Agent.
    I made a few changes to the README that came witht the sample app by changing the default org setup in the exaple to dc=sample,dc=com. I setup up the policies, users, groups and roles as specified in the read me. However, when requested to authenticate, the access manager responds with "User has no profile in this organization..."
    It is quite mystifying as to what this error actually means unless there are organizations within the default realm other than the one it actually came with. Which is what I am using.
    Any help would be deeply appreciated and thank you in advance.
    cheers
    su./hail

    Hi,
    I had done as you suggested. But there is a problem. Once this is done, the amadmin subject can no longer log into the application amserver. However, the agent sample works. How I got around the the problem is to create another Realm (with sample as the parent realm). In this second realm I set the User Profile to ignore. Once done, I went about creating the subjects in the second realm. What was was kind of strange is that the URL policies had to be defined in the Parent realm.
    Once so done, amadmin could log in and the application iteself worked as advertised.
    Thank you for your input.
    su./hail

Maybe you are looking for