Issue in setting bleed to a document as InDesign CS5 Server plugin

Hello all,
I am creating a new document in InDesign CS5 Server through C++ Plugin and trying to set bleed to the document. I have used the command to set bleed. But it doesn't seem to apply properly. I check in the debug version also. It show success to the command but when I open the document there is no bleed applied. I am using following command.
InterfacePtr<ICommand> pageSetupPrefsCmd(CmdUtils::CreateCommand(kSetPageSetupPrefsCmdBoss));
if(pageSetupPrefsCmd == nil)
CAlert::ErrorAlert("Error in SetDocumentBleed function, pageSetupPrefsCmd is nil.");
break;
InterfacePtr<IDocSetupCmdData> docSetupData(pageSetupPrefsCmd, IID_IDOCSETUPCMDDATA);
if(docSetupData == nil)
CAlert::ErrorAlert("Error in SetDocumentBleed function, docSetupData is nil.");
break;
pageSetupPrefsCmd->SetItemList(UIDList(m_pDocument));
docSetupData->SetDocument(::GetUIDRef(m_pDocument));
docSetupData->SetNPagesPerSpread(1);
docSetupData->SetPageSize(pagesRectangle);
docSetupData->SetPageOrientationIsWide(bWide);
docSetupData->SetUseUniformBleed(kFalse);
docSetupData->SetBleedBox(bleedRect);
ErrorCode error = CmdUtils::ProcessCommand(pageSetupPrefsCmd);
if (error == kFailure)
CAlert::WarningAlert("Command failed");
Can some one please help me in letting me know what wrong I am doing in this command? This has become quiet critical for me.
Thanks all in advance.
Regards
Farzana.

Hello All,
I was able to resolve this by using IPageSetupPrefs instead of IDocSetupCmdData interface.
Regards
Farzana.

Similar Messages

  • How do I open a PageMaker document in InDesign CS5?

    When I try to open a PageMaker document with InDesign CS5 (Mac OSX 10.7.5) I get an error message that it "Cannot Open file.... Adobe InDesign may not support the file format, a plug-in that supports the file format might be missing, or the file may be open in another application."  It's certainly not open in another application anywhere, It is, indeed, a PageMaker document which is supposed to be supported.  Before updating to current Mac OS, I used to be able to easily open this file with an old copy of PageMaker, but that no longer works on this OS!
    Thank you!

    Hi, Mike,
         I found another copy of this file on my laptop and I think it might not be broken.  When I try to open it in text edit or Mellel, I get a much larger document with much of the material I know is supposed to be there.  Would you be open to giving it one last shot?  The new dropbox link is https://www.dropbox.com/s/12eqa6hh6tlse89/New%20Kabbalat%20Shabbat%20CBH (which, I know, looks like the old one, but I deleted that file and just uploaded this one).
         If you can open and save it (possible saving it in PM 6.5 or some other form I can than open with InDesign, or just sending me a pdf, I'd be very grateful.
         You can reach me at hlzeitlin AT aya DOT yale DOT edu.  As thanks, enjoy the music on this link, https://www.dropbox.com/s/h1zix2ukzyt8ags/STE-90610-047.wav.
         Many thanks,  Harry

  • I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I would first of all trash the preference file for InDesign, make sure the application is closed then find the prefs in
    /Users/USER NAME/Library/Preferences/Adobe InDesign and just throw the entire folder away, it will generate a new one after you launch InDesign again.
    Now launch InDesign and see if the problems are resolved.
    If not I would repair your permissions on your hard drive wih disk utility, and if that fails then di-install InDesign and re-install that single application.
    Let me know if any of these suggestions work for you
    I will be checking my email although you might have to wait for a response as I will be taking a microlight flight over the Victoria Falls tomorrow. Yay can hardly wait.

  • How do I downsave InDesign CS6 documents to InDesign CS5?

    Is there a way to downsave my InDesign CS6 documents to be opened up by someone who is on InDesign CS5?

    So is the best option to save it to pdf??
    That depends on what you want.
    Want to send it to a print shop? Want to send it to someone who is going to provide editorial commentary? Want to send it to someone who is going to actually edit text? The best option is not obvious to a forum full of random strangers if we don't know your selection criteria. If, from your original post, you need your document
    to be opened up by someone who is on InDesign CS5?
    then PDF by itself may the worst option. I'd suggest that you File -> Package your CS6 file, make sure all linked files are included, and give them an IDML file. And, because the IDML file won't match your CS6 INDD perfectly if you've used any tools new in CS6, give 'em a PDF too. So maybe the best option is "all of the above."

  • Unable to Save new documents in InDesign CS5

    I just upgraded from CS3 toCS5. I'm able to open old InDesign files and save but am not able to save a new document in CS5. I'm also not able to Undo. Any suggestions? Hoping this is an easy fix.

    Hi,
    Try re-creating the preferences.
    For windows Xp:
    Drag the "Version 6.0" folder from C:\Documents and Settings\[user name]\Application Data\Adobe\InDesign\ to the desktop.
    Drag  the "Caches" folder from C:\Documents and Settings\[user name]\Local  Settings\Application Data\Adobe\InDesign\Version 6.0 to the desktop.
    For Windows Vista:
    Drag the "Version 6.0" folder from C:\Users\[user name]\AppData\Roaming\Adobe\InDesign\ to the desktop.
    Drag the "Version 6.0" folder from C:\Users\[user name]\AppData\Local\Adobe\InDesign\.
    For MAC:
    Drag the "Version 6.0" folder from Users/[user name]/Library/Preferences/Adobe InDesign/ to the desktop.
    Drag the "Version 6.0" folder from Users/[user name]/Library/Caches/Adobe InDesign/ to the desktop.
    If this dosen't work tried creating new user account with Admin rights.
    Regards,
    Swapnil

  • Can't place MS Word 2007 Document in InDesign CS5 -- InDesign Crashes

    I'm working in Windows Vista, trying to place an MS Word document that has had the "track changes" feature turned on. InDesign starts to process the fonts, etc., and then it stops working. Is my problem the "track changes" feature? Is the Word file corrupted? Do I have a workaround?

    Anything is possible, but you'll get much better answers on the product specific forums for inDesign, so please ask your question again there.
    Mylenium

  • Indesign cs5.5 plugin issue

    I have indesign cs3 with xmpie, it is a utility that does variable data. I am now on cs5.5 and every time I open a document that I worked on in indesign cs3, I get a missing plugin error and the file turns into a read only document with [converted] at the end of the file name. It is really annoying whenever I try re-saving the file.  Is there a way to get rid of this.

    I've never had a problem converting one of my own files directly, but we see enough reports here from users who have unexplained file corruption after opeing CS3 and CS4 files in particular in CS5 or later that I now, as a matter of course, always export legacy files to interchange (.inx in the case of CS3) format for conversion.
    As a bonus, it also recomposes all the text using the new text engine in the newer version, getting those nasty surprises out of the way, too. If you do a direct conversion the text is not recomposed until you touch a frame in some way which can give you a false sense of security. There is always the possibility, especially in longer docs with threaded text, that a line ending will change, affecting keep options or causing oversets, so check any conversion carefully.

  • Cannot split a large document. InDesign CS5

      Hello. I am trying to split a large document (180 pages-a book actually) into smaller documents (chapters). I tried doing it according to this thread http://forums.adobe.com/message/1321374#1321374, but when I choose the pages I want to delete, the text automatically reflows and I end up having deleted pages that I want to keep. I disabled “automatic text flow” or something, but it didn’t help. Why does that happen? Because the text frames are threaded? And what should I do? Unthread them? And how can I massively unthread them if that is the solution? Thanx a lot.

    I think I got it thanks to this thread http://forums.adobe.com/message/3014839 (
    I'm really late to this thread,  but you can do this manually pretty easily, too, if you want to isolate  each chapter into a new thread (though telling the chapter title style  to start on the next odd page is probably easier). Click the outport on  the last frame you want in the first thread, then click inside the frame  to break the thread. The rest of the story will be overset and the  following frames will be empty, but threaded.
    Put the cursor after  the last character in the last frame and press Shift +Ctrl+End to select everything from there to the end of the story. Cut and paste into the  empty frames. Repeat for the next chapter.
    Thinking about it, this might actually be all that the split story script is doing.)

  • I can't create new document on Indesign CS5

    When create new document this error is run. (Mac 10.6.8)
    but if open the old document it work. no problem.

    First things first.
    Download and install the 7.0.4 update.
    Bob

  • Text flow to additional pages at end of document, how to set up in InDesign CS5

    I've added additional pages to a document in InDesign CS5 -- but how do I set up my document so when text is supposed to get pushed to the additional pages the text flows from page to page on these extra added pages? Right now I've added additional pages to the end of my document and when the text from the original document gets pushed past the end it disappears and not continued on the additional pages.
    Thanks,
    Jeff

    P Spier wrote:
    Yeah, container may not be the best word to describe a book, which is why I put it in quotes, and I certainly didn't mean to imply that you can no longer open and edit the files outside the book. Doing that, however, means next time you open the book ID will complain and ask you to update things. No big deal, but if you open through the book panel it will save the changes through the book and that won't happen. No difference to the inidividual files.
    Historically - as in *roff and other UNIX-based processing programs like xroff, nroff, etc - books that were published from multiple individual component files, were produced by the use of a "makefile." You'd need to create the makefile by typing the names of the component files in the book order, along withtheir specifications, such as starting page side, starting page number, etc. You'd save the makefile with a name to preserve all this information, then you'd run the "make" command-line command in which you'd name the makefile, and include arguments such as which printer, how many copies, even a job priority, to avoid unnecessarily hogging the network bandwidth and free the printer for higher-priority jobs. As GUI capable hardware and software progressed, command-line makefiles became GUI book files - still, basically lists of component files and processing instructions.
    One important value of book files that don't contain component files is that different book files can control the processing of the same component files in different ways, as well as produce books that use some of the same files and some different files - for different audiences, different product sets, etc. Yes, opening a book file may warn that component files have changed - a good warning to the user to pay attention - and they offer a way to update the collection of component files so that the book file produces the desired result. Here's where some folks may be surprised when they find that sometimes a print or export dialog box, either retains or forgets the settings used for the previous run; the result may be printing multiple copies instead of one, printing to a different printer than expected, or exporting a PDF that's not suitable for the desired printer.
    The short story is that while book processing lists that are separate from the component files offer flexibility and reusability, but they also require that the user pays attention.
    Did I commingle Autoflow and Smart Text Reflow in some way? I didn't think so.
    Not at all. I'm just extra-sensitive to my own experiences with not having taking pains to keep clear on the differences between these similar-sounding terms.
    My point was that HOW your text was put into the file to begin with, coupled with how your settings for STR are configured, is going to control whether subsequent editing triggers reflow. It's possible to have STR enabled and not have it work because you've limited it to master text frames and you haven't actually used any. An understanding of how autoflow works when placing text is important to being able to troubleshoot why STR is not behaving as expected (not to mention why text frames may not be adjusting if you edit the master page).
    One reason for the confusions that come from working with Smart Text Reflow is that there's no indication in the UI, that STR is enabled, and when it's enabled, there's no indication in the UI of which STR settings are in effect, except by seeing the behavior. Are pages added at the end or story, section, or document? You may see them added in the Pages panel, if it's open, on screen, and if the appropriate portion of the document is in view; you may see them added on screen if the appropriate portion of the document is on screen - the end of story, section, or document.
    In InDesign's Help, Smart Text Reflow is covered in only a few paragraphs. As you noted, there's much more to it.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Issue in setting Load balancing for Indesign Server CS5.5

    Hi All,
    I need to set up load balancing mechanism for Indesign Server CS5.5 on Windows Server 2008 R2(64 bit version).
    I have dutifully following all steps defined in "WORKING WITH LOAD BALANCING AND QUEUEING FOR ADOBE INDESIGN CS5 SERVER.pdf"
    After running Indesign server using batch file "startup-indesign-server-CORBA-4instances.bat" from "<ID_SDK>\samples\load-balancing-and-queuing-clients\indesignserver-startup-scripts", I get only one instance of Indesign Server running. How to run multiple instances of the INDD server ? Is running multiple instance has something to do with type of licensing ?
    Now I run Clover.cmd script, I get this screen. I have no idea why its not working. Please help. Please let me know, if the scenario is not clear and more information is required.
    Thnx,
    D

    This is the image after running clover.bat

  • How to make previous version documents(CS1 and CS3) without extension  readable in InDesign CS5

    I have some previous version documents of CS1 and CS3  on Mac  which have been saved without any extension e.g 300, CS3doc etc.
    When I open such documents in InDesign CS5 they appear to be unreadable .  Only on  selecting 'All documents' filter  I am able to open those documents.
    I want to make all such documents (which are without extension) readable with 'All Readable Documents ' also .
    How I can do that, please  help me !!!!!

    The first thing I'd do is make sure the issue is really what I suspect it is - i.e. I suspect your extension-less documents don't have the proper type and creator.
    If you fire up a Terminal window, you should be able to use the GetFileInfo command to check one of the files:
    Assume 'sampleFile' is sitting on your desktop, you'd do
    GetFileInfo ~/Desktop/sampleFile
    (not sure when/whether GetFileInfo is installed on a Mac - I think it used to be part of Apple's developer tools, but on my Snow Leopard it resides in /usr/bin)
    Check what it says for 'type' and 'creator'.
    If these are not correct, we've confirmed that that's the reason why they don't show up in your file dialog.
    If the issue is type/creator related, I can think of the following options:
    a) Change your code to accept ANY file type/extension - I suspect this would work (not tested!):
    openFileDialog->AddType( '????' );
    If memory serves right, '????' should be accepted as a wildcard.
    b) correct the file types BEFORE they are viewed in the File Dialog - for example, if these files are in a very specific folder somewhere, you might be able to scan the folder, and correct their type and creator (e.g. iterate through all extensionless files in folder 'xyz' and change their type and creator). A lot depends on how those files get there, and whether they are tied to a specific folder or not - are they 'old' files, or are they being generated in some workflow? If they're all over a user's system or all over a file server, such pre-scanning and cleaning up file types approach will be a no-go.
    Cheers,
    Kris

  • Object set to overprint in InDesign CS5.5, but in fact knocks out

    Hi
    I created a document in InDesign CS5.5 that had a background image and, on top of that, a small circle to act as a cutter guide so that the printer knew where to drill a hole for binding. I set the circle to 'overprint' in the attributes pane, and then exported the layout under the PDF/X-1a:2001 setting in Acrobat. Later, the printer said that the circle was in fact knocking out from the background image, even though separations printed from my laser showed the circle on its own separation and no hole knocked out of the image. Any idea what I've done wrong?
    Many thanks if anyone can put me right - Andi

    Hi Rob, Thanks for your reply.
    Yep the cutter is set up as two different colour Pantone + CMYK spots in Illustrator- (I did CMYK+CMYK coated because you can't seem to change the name of the Pantone Coated colours).
    I have looked at the Object inspector above ( I was relying on turning on and off the pantone colours to see if the overprint was working - when I turned them off the photo below was knocked out).
    However, the object inspector says Overprint = True.
    Thanks for your help with this

  • Issue in setting custom identity service for soa 11.1.1.4

    Hello,
    I am facing issue in setting custom identity service for soa 11.1.1.4
    It is not picking up the implemented UserManager (in custom IDM) implemented via ServiceProvider and IdentityStoreService.
    This is configured in jps-config.xml
    The same setup was working in soa 11.1.1.2
    I believe there is a change done in JpsProvider in bpm-service.jar to authenticate via default login context from oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule
    If my uderstanding is correct,
    Please guide me in implementing custom identity store and services for bpm services for soa 11.1.1.4
    Tried various work arounds but no luck.
    Thanks
    Bala

    Hi...
    Can u tell me how did u set up custom identity service for 11.1.1.2 ?
    Thanks

  • My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue.  How can I stop printing the document?

    My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue.  How can I stop printing the document?

    Soution: Delete the printer and add the same printer back in, therefore creating a new print queue.

Maybe you are looking for

  • Mail Server for windows...

    Is there any free mail server for windows that i could use to send emails from my application.. Its just that I have been trying the JavaMail Api and having no luck, despite help from some of you. And my deadline is closing in and I am no closer to t

  • Open an *.html page from a vi

    Hi, I don't know how to open an .html file from a boolean bouton. someone could help me ? thanks

  • Same Measure from the Fact table to be calculated with 2 different logic.

    Hi, I have a BookingsFact having a measure field as BookedWeight and Foreign keys PlantDimKey , DateDimKey, OrderItemDimKey In the Pivot table report the data(BookedWeight) for the Plants have to be grouped based on the below criteria: 1. If the Plan

  • How to write the Business Process

    Can anybody please give me the link on How to write the Business Process for <b>IC_C03</b>... we have done the blue print and going to write the documentation for this info provider. So please provide the related links..........

  • ZEN V Plus Installation

    I just bought a ZEN V Plus 8GB,and the Setup.exe in the Installation CD do not work,i click on,and nothing happens. The other Setup.exe who are inside the different Files they work. Any Sugestion ?Thanks?