SDK function to determine if page has colors (cmyk)

Hello.
We have PDF which is in PDF-X/1a format. We have there black/white pages, but also pages with images in CMYK format.
We are using Acrobat scripting to process that pages.
And we wnat to know programaticaaly if page has some colors on it. If page is black/white = nocolor.
If page has some othe color then black/white = color.
Thanks for any soggestions

You can use the Preflight feature in Acrobat 9 to determine what colorspaces are being used - assuming that black/white is really DeviceGray vs. DeviceCMYK.

Similar Messages

  • Need to know how many pages contain color

    Is there any way of determining from the PDF file how many pages contain color and how many are just black and white?
    I need to be able to charge users for use of the more expensive color laser printer, and tell the relative cost of printing in black only.
    If there is not a simple way, eg something in each page header, then how many different things would I need to scan for within the PDF file?
    Has anyone else had this problem, and does anyone have any utilty software to help do this?
    Cheers, Derek

    Since this is the PDFLanguage forum, I'll answer by explain a bit about PDF...
    In PDF, there are 11 different ways to represent a color. For example, "Black" could be represented in Gray (1.0), RGB ([0 0 0]), CMYK([0 0 0 1]), etc. Which one(s) of those are "black and white", in your definition?
    Therefore, the first thing you need to do is understand how color works in PDF. Second, you need to understand how those varying colorspaces translate to your printer.
    THEN you can look around at software solutions that will help you solve your needs.
    Leonard

  • How can I print in black/white only a document that has colors in the original?

    How can I print in black/white only a document that has colors in its original. I don't need the print out to be in color, and I don't want to waste the color ink.

    It depends on your printer and the application you are using.
    In some applications you can choose color vs. greyscale/black&white when you do File > Print.   PowerPoint is one example of an application that allows this choice.
    Otherwise, you can usually select greyscale at the time you print the document.  Do File > Print. In the resulting dialog box, there should be an item called Copies & Pages (in Word and other applications) or Preview (in Preview).  Click it.  In the resulting list, you should then see an option called Printer Features.  Click it.  Then you should see an option called Printout Mode.  Usually one of the modes is Greyscale or Black & White.  Select it.  Then Print.
    This can also depend on your printer.  Exactly what make/model printer are you using?   And what kind of document are you trying to print (Word, PPT, JPEG, etc)?

  • How does DIADEM import TDMS files? How gets every channel his number and groupindex? How can I determine which channel has which groupindex and number?

    I store different channels in a TDMS file.
    I like to have a time channel at the first position with group index 1 and number 1.
    When I read the TDMS file with DIADEM the time channel (Float64) is on a differernt position, and the channels are not sorted alphabetically.
    Here are my questions:
    How does DIADEM import TDMS files?
    How gets every channel his number and groupindex?
    How can I determine which channel has which groupindex and number?
    Best regards
    Joerg

    Hi Jörg,
    i suppose that you´re programme whose create the *.tdms file is writing on false position. Try to create datas with timechannel on first indes in diadem, then save it and then open it again. you see that all is correct. So please tell me what programm in what version do you use and please attache it here.
    Did you use the library for creating *.tdms files like in the link ?
    http://zone.ni.com/devzone/cda/tut/p/id/6471
    Here you find the gtdms_8.x.zip - when you extract it and opened the *.llb you find vi´s for all functions e.g. writing 2d array of strings to *.tdms file
    when you open the subvi´s then you see how created and writing datas/structure to *.tdms files. Because *.tdms is binary you can´t see structure with open it in editor.
    When you don´t have Labview you can use the 30 days test of current version 8.5 under following link
    german version download link
    https://lumen.ni.com/nicif/d/lveval/content.xhtml
    english version download link
    https://lumen.ni.com/nicif/us/lveval/content.xhtml
    Hope it helps
    Best Regards

  • When I send or receive e-mail, the mail gets changed significantly from its' original form.....typestyle, size of letters, symbols, page layout, color, everything changes.....is there a way to fix that?.....

    When I send or receive e-mail (Thunderbird).....the mail gets changed significantly from its original form.....typestyle, font size, symbols, page layout, color.....everything changes.....is there a way to fix that so my the original form of the mail is not changed?.....

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • HT4686 How can I publish my website developed using iWeb and have all functions of the blog page work as it did with MobileMe?

    I have developed a website using iWeb and it includes a blog page selected from stock pages in iWeb.  I'm publishing it with GoDaddy and when I do that the interactive functions of the blog page don't work. (Adding comments and photos as well as searching).  Is there any simple way to host this site somewhere so that those functions work?

    No, because all those functions were MobileMe only and now that MobileMe has gone, they won't function any longer.
    To enable these to function, you either need to add them yourself or change your blogging platform to something else such as WordPress etc., and create a link from iWeb to your WordPress blog or embed the blog page using iframe into your iWeb site.
    Commenting systems such as Disqus or http://www.intensedebate.com work quite well.

  • Win 7 Pro updates to Internet Explorer 11 every web page has blank frames and radio buttons. Updates show only IE11.

    This entry frame on your page has radio buttons, giving me some editing functions - Bold, Italic, Underline, Insert unordered List, Insert Ordered List, Insert Hyperlink, Remove Hyperlink, Insert HTML, etc... but
    I cannot see them.  Ever since updating Internet Explorer to ver 11, there is no going back to IE8.  Your Tech forum monitors keep rehashing the same links that do not answer this snafu.  Your Monitors suggest that the web sites are not running
    because they are not compatible with the newer versions of Internet Explorer - well, even Microsoft's websites?  When you create a new web interface, why would your coding team make it incompatible with your own company's sites? 
    The Monitors suggest our cards can't handle GPU and we should turn to software rendering.  My card is a GeForce GTX 50 TI and has, according to the manufacturer web site: "Microsoft®  DirectX® 11 Support
    DirectX 11 GPU with  Shader Model 5.0 support designed for ultra high performance in the new API’s  key graphics feature, GPU-accelerated tessellation."
    I have tried uninstalling and reinstalling IE and Microsoft must realize no customer wants to have the technical side string them along with pointless and futile misdirection to a garble of automatic chat responses that offer incomplete and unrelated fixes
    and then expect to gain points in the voting buttons that "this fixed my problem". 
    Microsoft: you are ignoring compatibility problems with your coding and pretending it is arises from hardware incompatibility or user stupidity.  Your code should be running seamlessly, should accommodate existing technologies, and be flexible enough
    to accept limitations of older hardware, older websites, and your monitors should march into Microsoft's development offices and demand answers ---- and fixes.  Has Microsoft gone into hiding when the latest technology show-piece isn't working for the
    rest of the world?  We do not exist in a research bubble.  We are here in the real world, with aging equipment and tight budgets, and we expect better from Microsoft.

    Hi ohernova,
    Sorry for the annoying issue you encountered and our develop team are trying our best to improve the performance of MS products, As I know, IE 11 was published after many technical tests, thus I suspect that it might be an individual case. I used to run
    IE 11 in my win7, and it works perfectly,    
    Here’re some test you may take into consideration:
    Make sure that you’ve installed all latest updates.
    Since your Monitors keeps suggesting that the web sites are not running because it’s a compatibility issue, I suggest you add one site to the compatibility view list for a test, (if you can find the settings in Tools>Compatibility view settings)
    Or click Win+F12, launch the F12 developer tool, click the last option, change the user agent string and document string to “10”, check whether the page can revert to normal.
    Regards
    Yolanda
    TechNet Community Support

  • The background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black backgr

    the background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black background please help!

    or maybe the interface has been set to Dark?
    Go to Preferences > Interface tab, choose Light from Color Theme dropdown on Apearance section (upper part of the window)

  • Partner function SP determine in the sales order

    Dear SD Gurus,
    I want to determine the partner function SP in the sales order, when not entered anyvalue, the sales should give incopleteness check.
    But what the client here wants is that, sometimes the client wont enter any value on the sales order,so he will deleted the automatcally determined part function on the partner tab of the sales order header.
    Here the partner function should be not mandatory (because when the client wants to deleted the line ofn the header tab,system doesnt allow to do it). Also the partner function should not be not modifiable, because he may want to change it when sth wrong has been entered.
    So to automatically determined the partner function on the sales order,either modifiable or mandatory should be selected as I know.But when both are selected, this is not a good way for usage.
    Do you have any suggeston to make this partner functon automatically determine on the sales order and when wanted, deleted?
    Thanks
    Jack

    Hi,
    Try this way and see whether it's what is require by the customer.
    First of all what is this Partner function your talking about?
    Can you maintain this Partner function for each customer? If possible you can try this method.
    Go to below IMG path:
    Sales and Distribution / Basic Functions / Partner Determination / Set Up Partner Determination / Set Up Partner Determination for Customer Master
    Then highlight the "Partner Determination Procedure"
    Double click on "Partner Functions in Procedure" node
    If you haven't maintained your partner function there, add it
    Set it Mandatory if you want it to be set mandatory for each customer.
    Save
    Then go to below IMG path:
    Sales and Distribution / Basic Functions / Partner Determination / Set Up Partner Determination / Set Up Partner Determination for Sales Document Header
    Highlight the relevant Partner Determination Procedure for Order Header
    Double click on "Partner Functions in Procedure" node
    Add If you haven't maintained your partner function there, add it
    Don't Mark it as mandatory or not modifiable
    Save
    Now go to you customer master from XD02 transaction.
    System will ask you to add new partner function as it is Mandatory.
    Now create a Sales order from that customer.
    System will automatically copy that Partner function to you Order Header.
    If user wants to delete it, he can delete it from there.
    If user want to change it, he can change it from there.
    Hope this helps !
    Best regards,
    Anupa

  • ATTRIBUTE_IDOC_RUNTIME: Could not determine code page ... I::000

    Hi guys,
    well we have strange problem with code page. Scenario is IDoc2IDoc.
    We receive IDoc from french-system and when IDoc comes in, we get following error:
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with E01CLNT100 I::000 FM NLS_GET_LANGU_CP_TAB</SAP:P1>
    Does someone has experience with this?!
    br

    Can somebody help me with this?! in RFC-Dest. we thought to use MDMP but with no success.
    Could it be that this depends on user-permissions of the RFC-User in target system?! What permissions are needed for this?!
    br

  • Will spry show a javascript function from an external page?

    I have two pages
    http://www.autosnetfree.com/clock_buttonajax.php //this page has the spry calling the external page.
    http://www.autosnetfree.com/clock_auction1.php //this page has a countdown clock to a future date
    The buttonajax page has a submit button which updates a database with the current date plus 60 seconds.
    The countdown clock page pulls that future date from the database with a recordset
    The spry on the buttonajax page is
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryStackedContainers.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    var ds2 = new Spry.Data.HTMLDataSet("clock_auction1.php", "countdowncontainer", {useCache: false, loadInterval: 1000, distinctOnLoad: true});
    //-->
    </script>
    </head>
    <body>
    <div spry:region="ds2" class="StackedContainers">
      <div spry:repeat="ds2" class="RowContainer">
        <div class="RowColumn">{column0}</div>
      </div>
    </div>
    The button updates but the called page with the javascript function does not show?
    thanks for your help,
    -Jim balthrop

    It looks like you need an onPostLoad observer that updates the region similar to what is done here http://labs.adobe.com/technologies/spry/samples/data_region/SharingDataBetweenDataSets.htm l

  • Page Gradient Color fades when adding text.

    Hi,
    I've made several pages for my iWeb created site. Each page has a unique gradient color applied to it using the standard: Page inspector>Layout>Page Background>Gradient Fill commands. I've added a movie to this page and it all looks great. However, the moment I add a text box, the gradient color is drained of its saturation. A gold color turns to a pale yellow. A dark grey gradient turns to a light grey etc. When I publish the site, this desaturation is translated to the actual site online. Any Ideas? I've not done anything unique to the text. I just add a text box, type a word, drag into position and bam, just like that, the gradient color fades. Any ideas would be appreciated.
    Chris

    Chris:
    Just ran a test and adding a text box didn't cause the gradient fill to lose saturation. Try the following:
    1 - close iWeb and delete the iWeb preference file, com.apple.iWeb.plist, that resides in your User/Library/Preferences folder.
    2 - reboot (clears the iWeb caches).
    3 - launch iWeb, redo the page and try again.
    I only published the page to a folder on the HD and not to the server but don't think that would produce any different results.
    OT

  • Functional Area determination in MIRO postings

    We are on ECC 5.0
    We had A/P invoices were posted via MIRO where the account assignment was changed. 
    Right now we have:
    -Functional areas defined in all cost center master records.
    -Functional areas defined for a select group of balance sheet accounts.
    -Configured a special PO type Z to allow POs to be created against balance sheet accounts
    The scenario is this:
    When the account assignment of a PO is changed during MIRO invoice entry, it seems as though the functional area is still being derived off of the original account assignment.  So it posts it to the right cost center, wrong functional area.
    Is there a way to have MIRO re-derive the functional area during invoice entry?
    Also, when I tried to correct the issue through a manual journal entry via FB50, I received the error message: "
    An entry in field Functional Area is not permitted for account 732000." Message no. F5394
    Does anyone know what might cause this error message?  I tried to change the field status group for that GL account by making functional area optional and tried the je again with the same error message. 
    Any idea how to correct the prior mispostings? 
    Thanks!

    Hi,
    i did nt understand what s functional area determination ! can you pls explain further. If you are talking about sales area then yes if the customer belongs to more than one sales area the system would give a pop up and you can select what you want.
    you can also change later to the sales area required provided no subsequent processing of the sales order has taken place.
    regards
    sadhu kishore

  • How to determine which application has focus in Windows

    Hello all-
    I'm trying to work around the "Labview freezes when there is large data on the clipboard known issue" (http://forums.ni.com/t5/LabVIEW/Labview-freeze-when-accessing-a-custom-menu-with-data-on-the/m-p/200...) and one thought is to try to determine if Labview has focus, and if it does then clear the clipboard.  If Labview doesn't have focus, then let the user use the clipboard.  This would be a good work-around because it would let the users paste screen shots and such into notes files and wouldn't risk a nasty clipboard/ menu/ freeze-crash.
    My initial search for determining windows application focus, came up empty though.  This old thread (from 2005) pretty much covers it:
    http://forums.ni.com/t5/LabVIEW/Is-there-a-simple-way-to-programatically-tell-which-VI-window/m-p/20...
    The "Is Frontmost' property does not do it.  I need to determine if Labview has focus, as opposed to Windows, notepad, firefox, etc.  I also reviewed the commad prompt commands and didn't find anything immediately helpful there either.
    Any ideas?
    Thanks,
    Casey
    Solved!
    Go to Solution.

    Christian-
    That's perfect!  By using GetForegroundWindow, GetWindowTextA and GetWindowFileNameA in user32.dll I can detect which window has focus.  If Labview has focus then I programatically clear the clipboard so the user can still use it when not clicking on Labview windowns, but also we do not risk a freeze and crash because of the clipboard/ freeze bug.
    I briefly thought about using the .NET versions of these functions, but because that would have forced an upgrade to at least .NET framework 3.0 for all of my user computers, I decided on the unmanaged user32.dll.
    Thanks for the suggestion.  I think I'm pretty close to a work around here that should last me until they fix the clipboard/ freeze bug.
    Thanks,
    Casey

  • AYUDA me sale --Error code-12-- Windows SDK function returned an erro

    Buenas compañeros, necesito una super ayuda ya que quiero instalar en mi laptop q tiene wind7 y me sale este error:
    Error:  Windows SDK function returned an error (Error code-12)
    End Error Report
    Por favor ayudemen con alguna solucion para poder instalar el Labview 2008 8.6, ya que necesito hacer mi tesis.
    Les estare agradecido por todo, estamos en contacto y gracias

    Try posting in english here
    Translation 
    I need a super help because I want to install on my laptop has wind7 q and I get this error:
    Error: Windows SDK function returned an error (Error code-12)
    End Error Report
    Please help me with some solution to install the Labview 2008 8.6, and I need to do my thesis.

Maybe you are looking for