Error of "invalid flavor".

Hi,
I am trying to print a SimpleDoc through the DocPrintJob. I am getting the error as "sun.print.PrintJobFlavorException: invalid flavor"
Where am I going wrong?
The code is as follows.
import java.awt.*;
import java.awt.print.*;
import javax.swing.JPanel;
import javax.swing.JTable;
import javax.print.*;
import javax.print.event.*;
import javax.print.attribute.*;
import javax.print.attribute.standard.*;
class DocPrint
     public static void main(String[] args)
          String testString = new String("Hi");
          SimpleDoc sd = new SimpleDoc(testString.getBytes(), new DocFlavor.BYTE_ARRAY("text/plain"), null);
          PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
          aset.add(new MediaPrintableArea(0f, 0f, 8f, 11f, MediaPrintableArea.INCH));
          PrintService pservice = PrintServiceLookup.lookupDefaultPrintService();
          System.out.println(pservice.getName());
          DocPrintJob pj = pservice.createPrintJob();
          pj.addPrintJobListener(
               new PrintJobAdapter()
                    public void printJobRequiresAttention(PrintJobEvent pje)
                         System.out.println(pje.getPrintEventType());
          System.out.println("After creating the Doc Print Job " + pj.getPrintService().getName());
          try
               pj.print(sd, aset);
          catch(Exception e)
               System.out.println(e);
}

The same error is thrown for any flavor too like DocFlavor.STRING.
Why is it so?
Thanks in advance.

Similar Messages

  • "invalid flavor error" Printing html docs

    DocFlavor flavor = DocFlavor.URL.TEXT_HTML_US_ASCII;
    I need to print a URL with an applet in Internet Explorer but keep getting the "invalid flavor" error.
    please post your answer in the following topic:
    http://forum.java.sun.com/thread.jsp?thread=350123&forum=57&message=2630553
    Thanks

    i tried to print all the flavors that my printer supports but i didn't understand the output.
    This is part of my code:
          DocFlavor[] flavors = service.getSupportedDocFlavors();
          for (int i = 0; i < flavors.length; i++) {
             cade1 += "\n" + flavors.toString();
          System.out.println(cade1);
          System.out.println("\n" + service.getName());This is the output of the app:
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    [Ljavax.print.DocFlavor;@f62373
    \\data1\canonAny help?
    This is frustrating me quite a bit... I've been trying to print for months so far.
    Thanks,
    Silvio Sisto

  • [PrintService] Printer found but nothing is printed / Invalid Flavor

    Hi,
    I'm trying to print a plain old UTF-8 String on a printer... Well this appears to me to be something simple, but i can't make it work.
    The PrintJob is sent to the printer, i'm told that data transfer to the printer is done... But nothing is printed out from the printer!!
    FYI, im working on a Mac... but with other software on my machine i manage to print anything with the printer found by my Java code.
    Here is my code:
    public void print() {
            LOG.info(incidentFormString.toString());
            DocFlavor docFlavor = DocFlavor.STRING.TEXT_PLAIN;
            PrintRequestAttributeSet printAttributes = new HashPrintRequestAttributeSet();
            printAttributes.add(MediaSizeName.ISO_A4);
            DocAttributeSet attributes = new HashDocAttributeSet();
            attributes.add(MediaSizeName.ISO_A4);
            // get the default printer
            PrintService printService = PrintServiceLookup.lookupDefaultPrintService();
            LOG.info("Printer found: " + printService.getName());
            DocPrintJob job = printService.createPrintJob();
            Doc doc = new SimpleDoc(incidentFormString.toString(),
                    docFlavor,
                    attributes);
            job.addPrintJobListener(new PrintJobListener() {
                public void printDataTransferCompleted(PrintJobEvent printJobEvent) {
                    LOG.info("printDataTransferCompleted");
                public void printJobCompleted(PrintJobEvent printJobEvent) {
                    LOG.info("printJobCompleted");
                public void printJobFailed(PrintJobEvent printJobEvent) {
                    LOG.info("printJobFailed");
                public void printJobCanceled(PrintJobEvent printJobEvent) {
                    LOG.info("printJobCanceled");
                public void printJobNoMoreEvents(PrintJobEvent printJobEvent) {
                    LOG.info("printJobNoMoreEvents");
                public void printJobRequiresAttention(PrintJobEvent printJobEvent) {
                    LOG.info("printJobRequiresAttention");
            try {
                job.print(doc, printAttributes);
            } catch (PrintException e) {
                LOG.error(e.getMessage());
        }incidentFormString is the string i'm trying to print. I chechked its content, it is a proper String, so there re no problems regarding to this.
    Here is what i get in my console on Mac
    [AWT-EventQueue-0] INFO com.thalys.opalys.client.utils.IncidentFormPrinter - Printer found: 6-OPERA
    [AWT-EventQueue-0] INFO com.thalys.opalys.client.utils.IncidentFormPrinter - printDataTransferCompleted
    [AWT-EventQueue-0] INFO com.thalys.opalys.client.utils.IncidentFormPrinter - printDataTransferCompleted
    [AWT-EventQueue-0] INFO com.thalys.opalys.client.utils.IncidentFormPrinter - printJobNoMoreEvents
    [AWT-EventQueue-0] INFO com.thalys.opalys.client.utils.IncidentFormPrinter - printJobNoMoreEventsWhen i try on a PC, i get:
    [AWT-EventQueue-0] INFO com.thalys.opalys.client.utils.IncidentFormTextRenderer - Printer found: \\SRV-PRINT\6-OPERA
    [AWT-EventQueue-0] INFO com.thalys.opalys.client.utils.IncidentFormTextRenderer - printJobFailed
    [AWT-EventQueue-0] ERROR com.thalys.opalys.client.utils.IncidentFormTextRenderer - invalid flavorThanks a million for your help

    Hey. Thanks for the quick answer
    Sorry i forgot to mention those details.
    My log were not verbose enough, but i simulated it on my Mac (i'm developing on my Mac and production is on a PC... the reason is that my company has not been able to give me a powerful enough PC to develop, so instead im using my Mac).
    On my Mac it gives:
    invalid flavor
    at sun.print.Win32PrintJob.print(Win32PrintJob.java:290)
    at Printing.main(Printing.java:40)
    I also thought it was a problem of data that my printer can or cannot accept.
    I used this code:
            DocFlavor docFlavor = DocFlavor.STRING.TEXT_PLAIN;
            LOG.info("DocFlavor Mime-Type: " + docFlavor.toString());
            PrintRequestAttributeSet printAttributes = new HashPrintRequestAttributeSet();
            printAttributes.add(MediaSizeName.ISO_A4);
            DocAttributeSet attributes = new HashDocAttributeSet();
            attributes.add(MediaSizeName.ISO_A4);
            // get the default printer
            PrintService printService = PrintServiceLookup.lookupDefaultPrintService();
            LOG.info("Printer found: " + printService.getName());
            DocFlavor[] flavors = printService.getSupportedDocFlavors();
            for (DocFlavor flavor : flavors) {
                LOG.info(flavor.toString());
            }And got this log:
    As you can see, the doc flavor i choosed is available on the printer (i just did the test on my Mac, but my PC locates the same default printer as you can see on the previous posts)
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - DocFlavor Mime-Type: text/plain; charset="utf-16"; class=" java.lang.String"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - Printer found: 6-OPERA
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - application/octet-stream; class="[B"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - application/octet-stream; class="java.io.InputStream"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - text/plain; charset="utf-16"; class="[C"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - text/plain; charset="utf-16"; class="java.lang.String"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - text/plain; charset="utf-16"; class="java.io.Reader"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - text/rtf; class="[B"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - text/rtf; class="java.io.InputStream"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - text/rtf; class="java.net.URL"
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - printDataTransferCompleted
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - printDataTransferCompleted
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - printJobNoMoreEvents
    [AWT-EventQueue-0] INFO IncidentFormTextRenderer - printJobNoMoreEventsEdited by: nicdo77 on Dec 5, 2007 11:39 AM
    Edited by: nicdo77 on Dec 5, 2007 11:40 AM

  • Error : CGImageCreate: invalid image colorspace: NULL.

    Hi,
    I am unable to launch Intellij IDEA from command line using ./idea.sh on my Mac (OS 10.7.4). The intellij IDEA flash screen comes up after which I am seeing the following error and the application hangs -- the IDEA does not open. I have been trying to get over this for a long time but no help. Any help is appreciated.
    bash-3.2$ ./idea.sh
    Dec  7 17:37:28 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:28 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:28 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:28 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:31 rahusrivastava.ariba.com java[1789] <Error>: CGContextGetCTM: invalid context 0x0
    Dec  7 17:37:31 rahusrivastava.ariba.com java[1789] <Error>: CGContextSetBaseCTM: invalid context 0x0
    Dec  7 17:37:31 rahusrivastava.ariba.com java[1789] <Error>: CGContextGetCTM: invalid context 0x0
    Dec  7 17:37:31 rahusrivastava.ariba.com java[1789] <Error>: CGContextSetBaseCTM: invalid context 0x0
    Dec  7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    2012-12-07 17:37:34.623 java[1789:c07] CWindow's _nativeShow encountered error: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
    Dec  7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    Dec  7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
    bash-3.2$
    Thanks,
    Rahul.

    My input certainly wasn't intended to ba sarcastic, so please forgive me if it seemed so.
    Seroiusly, always do a search before updating, http://discussions.apple.com/search.jspa?objID=f1201&search=Go&q=update+problem, NI is flaky at best IMHO, did you heck with them yet to see if a patch is available?
    Always wait a few weeks before updating, a reinstall is a headache, goodluck!

  • Database error text: invalid number

    Hi Gurus,
    I am calling a procedure proxy from ECC and it is giving me a short dump:
    Error 339 has occurred while executing database procedure
      ""_SYS_BIC"."Krishna_Demo_Proj.Model/KC_GET_MARA"" on the
    current database connection "R/3".
    Database error text: invalid number: ''
    Triggering statement: "dsql_open_proc"
    I have created a table with only one field.
    Mapped the Data types after creating the Procedure Proxy
    Which data type I need to use? I tried with lots of combinations but, still the same error.
    Regards,
    Krishna Chauhan

    Hi Srinu,
    I have used NVARCHAR 18 and corresponding to that CHAR18 is used.
    Please see the attached screen shots.
    Regards,
    Krishna Chauhan

  • I am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me

    Dear ALL,
    i am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me solutions.
    var myBookFileName ,myBookFileName_temp;
                    if ( myFolder != null )
                            var myFiles = [];
                            var myAllFilesList = myFolder.getFiles("*.indd");    
                            for (var f = 0; f < myAllFilesList.length; f++)
                                        var myFile = myAllFilesList[f]; 
                                        myFiles.push(myFile);
                            if ( myFiles.length > 0 )
                                        myBookFileName = myFolder + "/"+ myFolder.name + ".indb";
                                        myBookFileName_temp=myFolder.name ;
                                        myBookFile = new File( myBookFileName );
                                        myBook = app.books.add( myBookFile );  
                                       myBook.automaticPagination = false;
                                        for ( i=0; i < myFiles.length; i++ )
                                                   myBook.bookContents.add( myFiles[i] );             
                                        var pdfFile =File(File(myFolder).fsName + "\\"+myBookFileName_temp+"_WEB.pdf");
                                        var bookComps = myBook.bookContents;
                                        if (bookComps.length === 1)
                                                       bookComps = [bookComps];
                                         var myPDFExportPreset = app.pdfExportPresets.item("AER6");
                                        app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFEx portPreset,bookComps);
                                      //myBook.exportFile (ExportFormat.pdfType, pdfFile, false);
                                      //myBook.exportFile(pdfFile, false, pdfPref, bookComps);
                                        myBook.close(SaveOptions.yes);      

    Change the below line:
    app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset,bookComps);
    to
    app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset);
    Vandy

  • MSI installer closes with error 1327, Invalid drive on Win 7 Ultimate when My Documents is moved to a network drive

    I have several computers with Windows 7 Ultimate installed here at the Pioneer Library System. We have ~20 workstations running XP Pro on a Active Directory domain and are planning on rolling out Windows 7 this fall. I am running Windows 7 to test our programs
    (have since RC1) but I am running into an issue when installing software.
    The problem I am running into is that when I try to install any program that uses the MSI installer on Windows 7 , it fails with a 1327 error at the point where it is preparing to install and says "Invalid Drive H:\".
    All the users in our domain have the "Home Folder" on their active directory profile set to
    H:\ (which is mapped to \\PrimaryDC\user$ in the same place). We have also moved the
    C:\Users\user\Documents folder to H:\ so as to keep all documents on the server where they get backed up regularly.
    If I move "Documents" back to C:\Users\user\Documents the MSI installer works fine. When I look into the registry as suggested in
    this thread I found that in "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders " and in "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
    Folders " the key "Personal" points to "H:\".
    But, H:\ is a valid connected network drive. Installing from the same account on an XP computer with
    C:\Documents and Settings\user\My Documents moved to the H:\ drive works fine.
    I have tried setting up another 7 machine and get exactly the same results on it.
    Is there a workaround for this besides creating a admin account that does not have Documents mapped to the network drive
    H:\ to use for installing programs?
    Thanks
    Aaron Z
    PLS

    I do not have the option with some of these files to pass parameters to the MSI installer. For example, if I download the Acrobat Reader installer from http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.3/enu/AdbeRdr930_en_US.exe and run AdbeRdr930_en_US.exe
    it extracts the MSI file to C:\Users\USER\AppData\Local\Adobe\Reader 9.3\Setup Files and then runs it.
    To reproduce this an a Windows 7 computer (does not have to be on a domain):
    Prep Work:
    Create a user (test1)
    Create a folder on the root of C (C:\Test)
    Set permissions on C:\Test to allow the test1 user to have full access to it
    Share the C:\Test folder as test1 (again, set the permissions to allow the test1 user full access)
    Set the "Home Folder" for the test1 user connect to Z: and point that to \\127.0.0.1\test1
    Login as test1
    Check that you have Z:\ mapped and that it works
    Check that it works:
    Install Acrobat Reader 9.3 from the link above
    Note that it works
    Uninstall Acrobat Reader 9.3 using "Programs and Features"
    Break it:
    Login as test1
    Check that you have Z:\ mapped and that it works
    Go to C:\Users\test1
    Right  click on the Documents folder and click on properties
    Click on the Location tab
    Click on "Browse" and select the Z drive
    Allow Windows to move the files to the new location
    Check that it is broken:
    Check that you have access to the new Documents folder at Z:\
    Install Acrobat Reader 9.3 from the link above
    Note that it extracts itself to C:\Users\test1\AppData\Local\Adobe\Reader 9.3\Setup Files
    and runs the MSI installer from there
    Note that after the MSI installer is started it pops up an error saying Error: 1327, Invalid drive Z:\.
    I also see this with various other install programs (VMWare vSphere Client, VMWare Player and Kaspersky Antivirus for example)
    Is there any reason why this should not work? Is there something that I should be doing differently?
    Thanks
    Aaron Z

  • When installing iTunes 10 I get an error message "Invalid Drive: F:|". ANy advice?

    All I want to do is upgrade from 9 to 10 so that I can run my ipad.
    When installing iTunes 10 I get an error message "Invalid Drive: F:|". ANy advice?

    Bissley,
    I have received this error in the past and it is usually caused by Windows automatically changing your external drive letters when you install. There are two ways around it; first, follow the directions provided by b noir. Second, within iTunes go to Edit > Preferences > Advanced
    Under the advanced options you'll see a recessed section called "iTunes Media folder location". Although you may have set this in the past it, if Windows changed your drive letters it will no longer be valid. Default is usually "C:\blah\blah\mymusic"
    Changing it just a matter of clicking "change" and finding your music folder again or change your drive letter back (if it changed at all).
    If Windows is changing your drive letters, it is best to set them yourself so that everytime you plug in the devices they use the letter you assigned. Here is a link for that process:
    http://windows.microsoft.com/en-US/windows-vista/Change-add-or-remove-a-drive-le tter
    Hope it helps.

  • Network drives and System Update updating itself (Error 1327.Invalid Drive)

    I have a Windows network share permanently mapped as a network drive on my system. This prevents Lenovo System Update 5 from updating itself.
    Here is what happens:
    Launch Lenovo System Update and click Next to look for updates.
    When 'Searching for agent updates' it will tell me: 'System Update is updating itself. Your copy of System Update needs to be updated. Click OK to begin updating System Update.'
    Click OK, Lenovo System Update will download the update and appear to install it.
    At the end it will tell me: 'System Update was installed successfully'
    Click Close, just to be sure I wait for a while so System Update can finish whatever it is doing in the background (if anything at all).
    When nothing appears to happen I launch Lenovo System Update manually and it will tell me it needs to update itself again, and go to the same process as above. The update did not install successfully at all. System update keeps updating itself in a loop.
    Next thing I tried is manually downloading the latest System Update version from http://support.lenovo.com/en_US/detail.page?LegacyDocID=TVSU-UPDATE
    I downloaded systemupdate503-09-17-2013.exe for my Windows 7 machine.
    The installer detects to old version of System Update and offers to uninstall that. I click Yes.
    A moment later the real error appears: 'Error 1327.Invalid Drive: S:\'
    The only thing I can do now is press OK to close the installer.
    The S:\ drive is my network drive which is permanently mapped to a share on my NAS.
    It is not an invalid drive, S:\ opens fine in Windows Explorer.
    I don't know why the System Update installer wants to access my S: drive in the first place. All my applications are installed on C:. While I did move some special folders like My Pictures and My Videos to S:, the relevant folders My Documents and Desktop are still on C:.
    I have found a workaround to the problem above:
    Close Lenovo System Update completely when it says it needs to update itself.
    Run Command Prompt as Administrator (find it in the start menu, righ-click it and 'Run as administrator').
    Type 'subst s: c:\' without the quotes. Replace s: with the drive letter of your network drive, and c: should be an existing regular drive.
    Now run Lenovo System Update again and let it update itself.
    You'll notice System Update now restarts itself after updating and there are no problems.
    Once you are done with System Update, type 'subst s: /D' to delete the substituted virtual drive. Don't worry, this will not delete your actual network drive.
    The workaround does the job, but it would be nice to see an actual fix from Lenovo. I have a ThinkPad X230 running 64bit Windows 7 Professional if this is relevant.

    Please try either of the workaround.
    1. Create a new Admin user, log on in that and then you can install Adobe Reader,
    or
    2. easier solution is just create a dummy folder on your machine anywhere, lets says Folder name "Dummy"  in c:\
    not go to command prompt
    and type subst I: c:\dummy
    and you are all set to go.
    once you are done, you can remove that virtual drive mapping by
    subst I:\  /d
    please let me know if works.

  • I can't install Adobe Reader in my computer because an error: 1327 invalid drive G

    I can't install Adobe rEader in my computer because of an error of installation: 1327 invalid drive G:\ (but that drive is plugged on!), an don't know how to make it install in C:\

    Hello,
    Welcome to Adobe Forums
    This document will help you in Installing Adobe Reader :
    http://helpx.adobe.com/creative-suite/kb/install-error-1327-invalid-drive.html
    Thanks,
    Vikram

  • My external hard drive will not open and only shows up in Disk Utilities. When I try yo repair it, it give me and error of invalid sibling link. How do I fix my external hard drive?

    My external hard drive will not open and only shows up in Disk Utilities. When I try yo repair it, it give me and error of invalid sibling link. How do I fix my external hard drive?

    Invalid sibling link may not be fixable by Disk Utility. (Disk Utility is very conservative, and will not attempt repairs that might cause you to lose data.)
    It is an indication of serious Directory damage.
    that leaves
    a) third-party Utilities that will take those risks, or
    b) re-initializing the drive (which deletes all your data) and restoring from another backup source.
    c) "Copying off whatever files you can salvage" has gone by, and you cannot copy anything off a drive that will not mount. You may be able to use "rescue" programs such as prosoft engineering Data Rescue to copy files to another drive, but that sounds a lot better than its reality. You may get many files, but not get ANY filenames.

  • What is a error 2041; invalid sample description mean in quicktime when im trying to open a coverted mp4 file?

    Im trying to import mp4's into itunes ver 11. The ones I have downloaded have gone in fine with a bit of tinkering but when i converted avi files to mp4 and try to open them in quicktime to check them i get an error saying ( error 2041: invalid sample description was found in the movie). These files wont show up in itunes, the progress bar starts loading them but then nothing appears anywhere even home video folder, Nothing. The mp4 files work in VLC player but not quicktime.
    I used dvd fab to covert them. Any help would be greatly appreciated.
    Thank

    I had the same problem few days ago.
    It appears that MP4 format is a lot restricted, and Quicktime/iTunes does not communicate a lot about that. Tipically, Quicktime does not think that MPeg 4 + MP3 is an acceptable MP4 compination.
    To make them a lot more permissive, just try to rename the file extension to .m4v, it'll do the job in many cases, and worked for me on a lot of files.
    Best regards

  • Form Error Message: Invalid relation attribute on pageSet xfa

    Hi,
    I've developed a form that many folks are using without any issues. However, I do have a small number of users that get the following error message when opening the form.
    Error Message:  Invalid relation attribute on pageSet xfa[0].template[0].form1[0].#pageSet[0]
    This error only appears to come up if they are using Adobe Acrobat Pro Version 8. No issues on versions 9 or 10 (X). The form is suppose to be compatible back to version 7.
    My main form is called (form1). Then there are 4 major sub forms under (form1), The top drop down (on the masterpage) hides or displays one of the major sub forms based on user selection.
    I have a hunch that something with the generated code not jiving well with Acrobat 8.
    Here's a snippet of the code if you'd like to look through it.
    form1.#pageSet[0].MasterPage1.FormActionDropDown::change - (JavaScript, client)
    //+ GENERATED - DO NOT EDIT (ID:D2FF16C4-6D1F-45D4-ACB7-0DB7CE14229F CRC:3650232787)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","visible")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","ADD NON-PA User")
    //+ ActionName: DropDown.change.NonPA
    if ($.boundItem(xfa.event.newText) == "ADD NON-PA User") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "visible";
      this.resolveNode("ChangePAForm").presence = "hidden";
    //+ GENERATED - DO NOT EDIT (ID:662A28BD-A30A-4E6D-92CD-6FF22B0EFB5D CRC:2945493746)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","visible")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","DELETE EXISTING PA")
    //+ ActionName: DropDown.change.DeletePA
    if ($.boundItem(xfa.event.newText) == "DELETE EXISTING PA") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "visible";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "hidden";
    //+ GENERATED - DO NOT EDIT (ID:66B7091F-75C5-4A73-8ACA-885AE42D0308 CRC:2169512649)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","visible")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","CHANGE / MODIFY EXISTING PA")
    //+ ActionName: DropDown.change.ChangePa
    if ($.boundItem(xfa.event.newText) == "CHANGE / MODIFY EXISTING PA") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "visible";
    //+ GENERATED - DO NOT EDIT (ID:C87B58DB-765D-426C-81BB-5A7ECFF42B63 CRC:2949030955)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","visible")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","CREATE NEW PA")
    //+ ActionName: DropDown.change.NewPA
    if ($.boundItem(xfa.event.newText) == "CREATE NEW PA") {
      this.resolveNode("PAForm").presence = "visible";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "hidden";

    You should post this question in the LiveCycle Designer forum here. This forum is for forms created in Acrobat (Acroforms).

  • Error Message: Invalid relation attribute on pageSet xfa

    Hi,
    Searching through the forums and on the net, I cannot seem to locate an answer to this problem so I'm trying here...
    I've developed a form that many folks are using without any issues. However, I do have a small number of users that get the following error message when opening the form.
    Error Message:  Invalid relation attribute on pageSet xfa[0].template[0].form1[0].#pageSet[0]
    This error only appears to come up if they are using Adobe Acrobat Pro Version 8. No issues on versions 9 or 10 (X). The form is suppose to be compatible back to version 7.
    My main form is called (form1). Then there are 4 major sub forms under (form1), The top drop down (on the MasterPage1) hides or displays one of the major sub forms based on user selection.
    I have a hunch that something with the generated code not jiving well with Acrobat 8.
    Here's a snippet of the code if you'd like to look through it.
    form1.#pageSet[0].MasterPage1.FormActionDropDown::change - (JavaScript, client)
    //+ GENERATED - DO NOT EDIT (ID:D2FF16C4-6D1F-45D4-ACB7-0DB7CE14229F CRC:3650232787)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","visible")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","ADD NON-PA User")
    //+ ActionName: DropDown.change.NonPA
    if ($.boundItem(xfa.event.newText) == "ADD NON-PA User") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "visible";
      this.resolveNode("ChangePAForm").presence = "hidden";
    //+ GENERATED - DO NOT EDIT (ID:662A28BD-A30A-4E6D-92CD-6FF22B0EFB5D CRC:2945493746)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","visible")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","DELETE EXISTING PA")
    //+ ActionName: DropDown.change.DeletePA
    if ($.boundItem(xfa.event.newText) == "DELETE EXISTING PA") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "visible";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "hidden";
    //+ GENERATED - DO NOT EDIT (ID:66B7091F-75C5-4A73-8ACA-885AE42D0308 CRC:2169512649)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","visible")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","CHANGE / MODIFY EXISTING PA")
    //+ ActionName: DropDown.change.ChangePa
    if ($.boundItem(xfa.event.newText) == "CHANGE / MODIFY EXISTING PA") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "visible";
    //+ GENERATED - DO NOT EDIT (ID:C87B58DB-765D-426C-81BB-5A7ECFF42B63 CRC:2949030955)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","visible")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","CREATE NEW PA")
    //+ ActionName: DropDown.change.NewPA
    if ($.boundItem(xfa.event.newText) == "CREATE NEW PA") {
      this.resolveNode("PAForm").presence = "visible";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "hidden";

    You should post this question in the LiveCycle Designer forum here. This forum is for forms created in Acrobat (Acroforms).

  • Error 1327 invalid drive:E:\ appears when I try to install adobe reader, can anyone help?

    Error 1327 invalid Drive: E:\ appears when I try to install adobe reader, can anyone help?

    Hi Coralienz,
    Can you please check the value of the registry entries at the following location: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    In case the values for any of the entries (i.e. Common AppData, Common Desktop, Common Documents etc.) is referencing to E:\, change the value back to look something like below and you should be good to go.

Maybe you are looking for

  • Double click to open CSV and TSV in Excel 2013

    We have someone (John Doe) that would like to open TSV (tab delimited text file) files automatically in Excel without using the import wizard. Our goal: Basically the file is provided by a website (an export of data) and it downloads to the temp file

  • Quicktime only play one file at a time

    I would like to use QuickTime player to play mp3s. when I play a file and then open another it opens another instance of Quicktime and both files play at the same time. Is there a terminal command to only have one instance of quicktime at a time?

  • Dynamic presentation software

    I am looking for software that will run on OSX for my MBP that is similar to MediaShout. As far as I can tell, Keynote is just a high end version of PowerPoint. MediaShout has the ability to run text over video, make changes to slides on the fly with

  • Upgrade Oracle patch from 10.2.0.2 to 10.2.0.4 but 3 Instance on 1 server .

    Dear all , AIX , Oracle , ECC6.0 and SAP Netweaver 7.0 . we have 3  instances are Installed on same server . SAP DEV , SAP QA , BIW-DEV . Seperate Oracle home and SID . I required to apply Oracle patch to all 3 Instance . I have already Upgraded Orac

  • Lens profile for Canon PowerShot S120?

    Is there a lens profile for the Canon PowerShot S120?