CS3:Problem in generating .ps file for an indesign document.

Hello,
I have ported a plug-in built for InDesign server CS2 to CS3.
Generating ".ps" file is one of the functionality of my plug-in.
But for the given document InDesign CS3 server Debug generated the following asserts in the server log.
[21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 2 (Class kRIDXBoss).
[21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 216 (Class kAssignmentBoss).
[21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 5 (Class kContentMgrBoss).
[21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 187 (Class kAssignmentBoss).
[21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 218 (Class kAssignedStoryBoss).
[21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 1 (Class kDocBoss).
I have debugged the code and found that the following API is causing these asserts.
IPrintSetupProvider::StartPrintPub( bool16 & bReturn,
IDocument * iDoc,
UIDRef & styleUIDRef,
IPrintCmdData::PrintUIOptions & printPubUIOpt,
IInkList * iInkList,
ITrapStyleListMgr * iTrapListMgr
when i shutdown the InDesign server got crashed.
Can any one of you describe in detail the functionality of this API.
I will be thankful if any one you can give some idea on how to resolve this issue.
Thanks,
sambolus.

Lee,
Sorry I think I didn't use the right terminology, somehow I want to include/link the file (not with menu item 'place') programmatically in my current open Indesign document, then I expect to see the filename in Link palette. I can do this with linking to a page item in doc but I don't want to assign it to a particular page item, rather I want to assign it to doc. Is any approach to do it?
Thanks again,
Mor

Similar Messages

  • Premiere CS3 Freezes when 'Generating Peak File' for Video Clips

    Well the title explains it all really.
    I'm importing a large 7.5 gb video file (.avi) and in the bottom corner it says 'Generating Peak File for xxxx'.
    Which is fine until the bar is right at the end, and Premiere freezes on me and I have to end the process..
    Thanks for your time!
    George

    Temporary storage.
    You will also find links to many
    free tutorials in the PremiereProPedia that will quickly show you how things are done in Premiere Pro.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Problem while generating Update progam for a Change Document Object

    Hi,
    I'm trying to deal with Change Document concept in a R/3 4.6C environment and to establish new Change Document object for my (Z)-table. I haven't using any namespace and created object with name ZTEST. Following the online documentation I came to the point, where I have to generate include program. I made all the nessesary inputs (using Z prefix) but faced
    "Function module name is reserved for SAP"
    Creating everything similarily using some of our registered namespaces (/somenamespace/) I succeed to generate the Update program and to integrate it in my Z-programs as well.
    My question is: is it possible to use Change Document Object-names without predefined namespace - being a regular customer developer, but not an SAP developer - means, if I am allowed to manage programs in the customer namespace (Z,Y, X) only. If yes, how to do this?
    Further (I decided not to open a new thread) - generated Update program uses
    CALL FUNCTION 'xxxxx' IN UPDATE TASK
    for creation of Change Numbers for generated Change Document Object. This CALL doesn't work when I implemented it in my Z-program, but when changed  (IN UPDATE TASK was commented) - everything goes well and the system creates records in CDHDR/CDPOS tables for my object class and table.
    Why is that? According to the documentation I shoud only fill appropriate variables for the Change Document Object (class, tr.code, etc.) and call generated FM, nothing is pointed out about any possible problems? Am I doing something wrong?
    Well, to be precise, I think I have to give a sample:
    1. I have a sample Z-table with few fields (their data elements are marked as Change-Document relevant).
    2. Using own z-progam I created a new record for this z-table. Also fill all the nessesary variables included in the interface of generated FM for Change Document Object (for example - FM-mane CD_CALL_my_object).
    3. I call the CDO FM.
    4. Check what is happening (directly in both tables CDHDR/CDPOS or using FM CHANGEDOCUMENT_READ).
    Further, I perfom the steps from 1 to 4 updating the created in previous loop record in my Z-table.
    In both cases if the FM 'CD_CALL_my_object' is called IN UPDATE TASK nothing happens, but in case of direct call (without addition IN UPDATE TASK) the system behaves as expected. Well, obliously I can change the generated code for our production needs, but it doesn't seems to be the correct decision - in case of next possible modification of the Change Document Object definition, respectively in need of re-generation of the code.
    Any hints are wellcome.
    Thanks in advance.
    Ivaylo Mutafchiev
    Edited by: Ivaylo Mutafchiev on Jan 24, 2008 10:24 AM

    "IN UPDATE TASK" resolved by myself. The one should explicitly call 'COMMIT WORK' from Z-program after CALL FUNCTION '...' IN UPDATE TASK in order to get changes in the CDHDR/CDPOS commited. The key in this issue for me was to check the documentation of CALL FUNCTION :-).
    Regards,
    Ivo

  • CS3:How to link a file to a InDesign document?

    Hello all,<br /><br />I looked at in the LinkWatcher sample code to get an idea how to link a file to a document, I came up with the code below, the last line of code needs pageitemUID instead of pageUID which I  used it here:<br /><br />IDFile outFile = Utils<ImyUtils>()->getMyFile(); // it reads the file <br />InterfacePtr<IDataLinkHelper> dataLinkHelper(::CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)); <br />InterfacePtr<IDataLink>      dataLinkNew(dataLinkHelper->CreateDataLink(outFile)); <br /><br />IDocument* theFrontDoc = Utils<ILayoutUIUtils>()->GetFrontDocument();<br />IDataBase* database = ::GetDataBase(theFrontDoc); <br /><br />InterfacePtr<IDocument> piDoc(theFrontDoc, UseDefaultIID()); <br /><br />InterfacePtr<IPageList> pageList(piDoc, UseDefaultIID()); <br />     <br />UID pageUID(kInvalidUID);<br /><br />if (pageList->GetPageCount() >  0)<br /> {<br />     pageUID = pageList->GetNthPageUID(0);<br />}<br />// I try to link the file to the front document, although it say pageitemUID, as a second //parameter, but I don't want to link the file to a particular page item. is this a right thing to do?<br /><br />int32 result = dataLinkHelper->AddDataLink(database,pageUID, dataLinkNew); <br /><br />as I execute the code it doesn't add the file in  Link palette in CS3, but when I pass a UID of one page item such as text frame, it will add the name of file to link palette with a "1" comes to  end of row that shows how many times this file was included in the frame. but in case I have not a page item can I use the pageUID instead ?<br /><br />Thanks In Advance,<br />Mor

    Lee,
    Sorry I think I didn't use the right terminology, somehow I want to include/link the file (not with menu item 'place') programmatically in my current open Indesign document, then I expect to see the filename in Link palette. I can do this with linking to a page item in doc but I don't want to assign it to a particular page item, rather I want to assign it to doc. Is any approach to do it?
    Thanks again,
    Mor

  • Problem in generating WSDL file for triggering BPM process

    Hello Experts,
    I have a working BPM process which I want to trigger using a web service. I am referring following blog link to generate New WSDL file and perform further operations:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    However, it everything goes well until I set the type for the "New Element". I want to set type to context of my component controller. So I selected Set type --> Enclosing Project and I seleted Context of my component controller.
    Upon saving this, I am getting this error:
    "../../rep/ui/com.sap.demo.wd_ui_mna.wd.comp.c_fillmynameage.C_FillMyNameAgeInterface.xsd" is not a path relative to "src/wsdl/NewWSDLFile.wsdl" because it contains too many '../'
    I am not sure what is happening here. I have also removed the response element(s) from WSDL source.
    What am I missing here?
    Thanks in advance,
    Ameya

    Cross post in EBiz forum -
    General EBS Discussion
    Regards,
    Anuj

  • How to generate xml-file for SAP Fiori (UI add-on) with Solution Manager 7.0.1?

    Hello Guru,
    could you please help with my issue with Fiori Installation.
    We want to install SAP Fiori Front-End (GW+UI) on the Sandbox system with SAP Netweaver 7.3.1. (SP14)
    Gateway component (SAP GW CORE 200 SP10) was installed without any problems.
    But I need to install UI-add-on (NW UI Extensions v1.0) and when I try to install it via SAINT, transaction said me that I need to generate xml-file for it (as in General notes for UI add-on mentioned).
    But I have Solution Manager 7.0.1 and in MOPZ for this version I do not have option  "install Add-on" as it written in Guide for ui add-on installation.
    Could you please help me with advice how to generate xml-file for UI add-on installation on SolMan v.7.0.1?
    If where is no way, but only to upgrade Solution Manager, maybe somebody could give me xml-file for your system (for NW 731) and I will change it to my needs, I will be very grateful!
    Thanks in advance for any help!!!
    Bets regards,
    Natalia.

    Hello Guru,
    could you please help with my issue with Fiori Installation.
    We want to install SAP Fiori Front-End (GW+UI) on the Sandbox system with SAP Netweaver 7.3.1. (SP14)
    Gateway component (SAP GW CORE 200 SP10) was installed without any problems.
    But I need to install UI-add-on (NW UI Extensions v1.0) and when I try to install it via SAINT, transaction said me that I need to generate xml-file for it (as in General notes for UI add-on mentioned).
    But I have Solution Manager 7.0.1 and in MOPZ for this version I do not have option  "install Add-on" as it written in Guide for ui add-on installation.
    Could you please help me with advice how to generate xml-file for UI add-on installation on SolMan v.7.0.1?
    If where is no way, but only to upgrade Solution Manager, maybe somebody could give me xml-file for your system (for NW 731) and I will change it to my needs, I will be very grateful!
    Thanks in advance for any help!!!
    Bets regards,
    Natalia.

  • Generating Peak File for...

    Wow, this has been going on for 3-4 hours already.
    Unacceptable, and I can't find any reference to this process in the Adobe Docs for PP. I have no idea where it is in the process. Is it almost done? Does it have another 12 hours to go? What is the deal with this? I have not touched my computer in hours.
    I have a PP Project with about 10 bins with about 1 hour of video in each.
    Should I break my project down so I have 10 PP files with 1 hour of video per project?
    I was hoping to keep everything in one PP file, but that is looking like a really bad idea right now. I don't remember having to suffer through anything like with when working with Final Cut Pro.
    Will these stupid Peak Files be saved? Is there a chance they will get corrupt and have to regenerate? This took a whole half day, and more, since it's still ongoing. This is on my MBP 2.4GHz. If I want to move the files back and forth between my laptop and my Windows Core i7 920 desktop (I have Production Premium on both platforms), will I have to suffer the Peak File Generation everytime?
    All video was captured in OnLocation, straight from the camera. That part of the process seemed really cool. This part with the Peak File is really lame.
    Any tips on getting to a workable workflow with PP, or should I just bag it, and buy another editor (Final Cut Express would even probably do the simple cut edits I want to do) ? I do most everything in After Effects.

    count_schemula wrote:
    The solution? I'm going to edit on my windows desktop.
    OMG, what have I gotten myself into?
    Same problem on my PC. Premiere Pro 4.2 on Windows 7 64 bit. Freshly installed. All legit software.
    I made a new project, import all the video, and let it generate all peak files.
    It finishes. Close Premeire. Open Premiere... Generating Peak File for...
    My heart sinks so low.
    I delete the .pek files and the database files and in the preferences, I set it to save cache and database files to a folder within my project folder.
    It dutifully generates all new .pek file and database files. I watch it write them one by one. It does not write anything in the original Adobe shared cache folders. It completes. I quickly edit up one segment, just so I have some work to show for my 4 days of messing around with this.
    Close Premiere. Open Premiere.
    Generating Peak File for...
    I'm speechless.
    Footage was captured to disc using OnLocation on a Mac from a Panasonic AG-HVX200a via fireware.
    If you want to call me an idiot, point out where I'm not doing something right.
    If you want to blame my rig(s) just know that I push these systems hard daily with ZERO issues in other apps.
    I'm blaming Premiere at this point. Something about how this program works is just not right. In both cases it writes over already existing .pek files. I have 4 channels per clip, so 4 .pek files for every clip I have. It's towards 1000. pek files.

  • Error : generate war file for iplanet server 6.5

    I use war file that generate from WSAD V.4 and deploy this war file to iPlanet sun one app server V6.5.
    before deploy to iplanet
    I must use command to generate war file for iplanet server (convert J2EE Archive to IAS Archive)
    but i found problem after use this command
    ./deploycmd -j2ee2ias -f xxxx.war
    com.iplanet.ias.tools.buzz.util.ArchiveHandlerException: invalid EXT descriptor signatureat com.iplanet.ias.tools.buzz.util.ArchiveHandler.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.ArchiveFile.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.iascom.processOption(Unknown Source
    at com.iplanet.ias.tools.buzz.common.iascom.main(Unknown Source)
    Any body please help?
    Thanks alot.

    I use war file that generate from WSAD V.4 and deploy this war file to iPlanet sun one app server V6.5.
    before deploy to iplanet
    I must use command to generate war file for iplanet server (convert J2EE Archive to IAS Archive)
    but i found problem after use this command
    ./deploycmd -j2ee2ias -f xxxx.war
    com.iplanet.ias.tools.buzz.util.ArchiveHandlerException: invalid EXT descriptor signatureat com.iplanet.ias.tools.buzz.util.ArchiveHandler.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.ArchiveFile.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.iascom.processOption(Unknown Source
    at com.iplanet.ias.tools.buzz.common.iascom.main(Unknown Source)
    Any body please help?
    Thanks alot.

  • I can't do anything when "generating peak file for..." ends.

    After the reinstallation, I have a problem with "genarating peak file for.." , when it ends (when progress bar is full) the program stops and I can't do anything.
    After the program is disabled, a message appears:
    PhotoshopServer.exe - Błąd aplikacji
    W aplikacji wystąpił wyjątek unknown software exception (0xc000000d) pod adresem 0x78138aa0
    In English it may be:
    PhotoshopServer.exe - Application Error
    In application exception occurred unknown software exception (0xc000000d) at adress 0x78138aa0
    What I should do?
    I hope you understand what I mean.
    Grettings Angelika.

    Can you provide more information about your system, and the Assets that you are Importing?
    This ARTICLE will give you some tips on the types of info that would be so useful.
    Good luck, and welcome to the forum,
    Hunt

  • Generating ard file for addon in 9.1

    Hi,
    I have created an addon and want to generate ard file for it. Most of the documents describe the process for 8.82, whereas the process for 9.1 has changed. I am looking for some documents on packaging and deploying an add-on in 9.1.
    Please share some helpful links or step by step procedure.
    Thanks.

    Hi Rajesh,
    Have you downloaded the SDK Help  Center document...
    In that it is explained step by step process..
    You can use the link to download.
    https://websmp204.sap-ag.de/~sapidb/012002523100002716002015E/B1_91_SDK_HelpCenter.zip
    Regards,
    Kennedy

  • Generate XML file for payroll result

    Hi,
    I tried to generate XML file for chinese payroll result by t-code: pu12, but i can not find the interface format for china payroll(here is format for other country vesion like international, france...). How can i generate xml file for chinese payroll result. DO i need to create a format type? Is there any other way? thank you in advance.

    Coming back to my question is it really possible to generate bigger XML on 9i.
    Sure. But not in one go.
    I would use SQL/XML functions instead and paginate the result set so that each CLOB chunk doesn't exceed 4GB (or less). Each chunk could then be appended to a file using UTL_FILE.
    Alternatively, as Oracle 9i supports parallel pipelined functions, you could also imagine doing the job in parallel using automatic data partitioning on an input ref cursor.
    That would require some postprocessing steps to rebuild the entire file from the different chunks though.
    See : Pipelined and Parallel Table Functions

  • How to generate Excle file for a report runningin a Batch job

    Hello All,
    Can we generate Excle file for a report running in a Batch job.
    Kindly send reply to     [email protected]
    Thanks in Advance.
    Cheers,
    Sundeep

    Dear Sundeep,
    I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
    D A T A D E C L A R A T I O N *
    TYPES: BEGIN OF TY_EXCEL,
    CELL_01(80) TYPE C,
    CELL_02(80) TYPE C,
    CELL_03(80) TYPE C,
    CELL_04(80) TYPE C,
    CELL_05(80) TYPE C,
    CELL_06(80) TYPE C,
    CELL_07(80) TYPE C,
    CELL_08(80) TYPE C,
    CELL_09(80) TYPE C,
    CELL_10(80) TYPE C,
    END OF TY_EXCEL.
    DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
    WA_EXCEL TYPE TY_EXCEL..
    E V E N T : S T A R T - O F - S E L E C T I O N *
    START-OF-SELECTION.
    Here you populate the Internal Table.
    Display - Top of the Page.
    PERFORM DISPLAY_TOP_OF_PAGE.
    E V E N T : E N D - O F - S E L E C T I O N *
    END-OF-SELECTION.
    SET PF-STATUS 'GUI_STATUS'.
    E V E N T : A T U S E R - C O M M AN D *
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'EXPORT'.
    Exporting the report data to Excel.
    PERFORM EXPORT_TO_EXCEL.
    ENDCASE.
    *& Form DISPLAY_TOP_OF_PAGE
    text
    --> p1 text
    <-- p2 text
    FORM DISPLAY_TOP_OF_PAGE .
    SKIP.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'O R I C A'
    CENTERED COLOR 1,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
    CENTERED COLOR 4 INTENSIFIED OFF,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE.
    E X C E L O P E R A T I O N
    CLEAR: IT_EXCEL[],
    WA_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    WA_EXCEL-cell_02 = ' XYZ Ltd. '.
    APPEND WA_EXCEL TO IT_EXCEL.
    CLEAR: WA_EXCEL.
    WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
    APPEND WA_EXCEL TO IT_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    ENDFORM. " DISPLAY_TOP_OF_PAGE
    *& Form APPEND_BLANK_LINE
    text
    -->P_1 text
    FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
    DO P_LINE TIMES.
    CLEAR: WA_EXCEL.
    APPEND WA_EXCEL TO IT_EXCEL.
    enddo.
    ENDFORM.
    *& Form EXPORT_TO_EXCEL
    text
    --> p1 text
    <-- p2 text
    FORM EXPORT_TO_EXCEL .
    DATA: L_FILE_NAME(60) TYPE C.
    Create a file name
    CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
    '.' SY-DATUM+0(4) INTO L_FILE_NAME.
    Pass the internal table (it_excel which is already populated )
    to the function module for excel download.
    CALL FUNCTION 'WS_EXCEL'
    exporting
    filename = L_FILE_NAME
    tables
    data = IT_EXCEL
    exceptions
    unknown_error = 1
    others = 2.
    if sy-subrc <> 0.
    message e001(ymm) with 'Error in exporting to Excel.'.
    endif.
    ENDFORM. " EXPORT_TO_EXCEL
    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
    Regards,
    Abir
    Don't forget to award points *

  • How to generate XSD file for XML schema adobe form

    Hi,
    I want to generate XSD file for XML schema interfaces adobe forms. How can I do it. Where I can do it..or who will provide this file..
    Thanks
    Ram
    Edited by: Ramesh ram on Feb 23, 2010 6:33 PM

    Aaaaah, my mistake, sorry for that. Of course you should use the XML interface and I forgot it is not described in this tutorial. You can easily find another one where the XML based interface is used. But... you won´t need any tutorial. just create a WD context. Place a Interactive form element on your WD app screen, in the attributes you need to maintain the form template name. If you write a name suitable for you which no existing forms uses, the system will offer you to generate a XML based interface and right after that it will "send" you to the SFP transaction. That means you can like skipi the step defining the interface because it it is generated automatically and you only draw the layout for this generated interface.
    You should use XMl based interface for your WD app, because when using the ABAP dic based, some features are not available (I am not sure, but ABAP based works only for print form or something).
    Hope it is all clear now,
    have a nice day,
    Otto

  • Problems reading generated pdf-files

    Hi all,
    I have problems reading generated pdf-files from
    Report Builder 6.0.8.11.3
    An error-message occurs when opening the pdf with
    Adobe Acrobat 5.0.1:
    ... problem 110 and after moving in an empty pdf-document
    the messages:
    - too few operands
    - an unrecognized token
    I think the solution must be very simple, but the docu and
    other info resources provide nothing aboutthis issue.
    Greetings,
    Bernhard

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
    hello,
    there are no known problems with reading reports PDFs with later Acrobat Readers. maybe your file is somehow corrupt.
    regards,
    the oracle reports team<HR></BLOCKQUOTE>
    I had to install a local printer, the network printer is not appropriate here. After that, everything is fine :-)),
    Greetings,
    Bernhard
    null

  • Problems converting a pdf file to a word document using ExportPDF

    I am having problems converting a pdf file to a word document (.docx) using ExportPDF. It is spends ages trying to upload the PDF file, but fails to do so. Should I just cancel my subscription?

    I suspect that you are asking for help with CreatePDF. If so, you should post in
    http://forums.adobe.com/community/createpdf
    This is the Reader forum...

Maybe you are looking for