Setting client acrobat resolution settings via javascript?

hi,
i have this long lasting problem with acrobat since cs2/cs3.
we use pdfs as container format for our screen design presentations. our screen designs are 72 ppi bitmaps.
now the problem:
since acrobat cs2/cs3, these images looks blurry in acrobat even in 100% view. this is because acrobat has this new preference setting under "page display" called "resolution". here the default is set to "use system setting", which in my case is 99 ppi.
the result is that our 72 ppi screen designs got interpolated to 99 ppi by acrobat even at 100% view. since most users have different system settings, there is no way to control the appearance of our 72 ppi bitmaps.
do you guys know of a way to circumvent this problem?
one way i can think of is to use javascript to set the clients acrobat software to "custom resolution" with 72 ppi. but i have no idea how to do that.
any ideas?
best regards,
marc

Acrobat 6 add the application object 'monitors' method and the 'Monitor' object with a number of properties. See Finding user screen resolution with JavaScript by Chris Dahl for instruction and an example of how to use this method and object.

Similar Messages

  • How can I set Illustrator CS5 color settings using Javascript?

    I can set Photoshop color settings with the app.colorsettings ('File') in javascript, but I cannot locate an object in Illustrator that would perform the same task. I can only find readonly objects for illustrator. I would like to have illustrator read a script file to set the color setting
    upon startup.
    Thanks

    Hi imagecollection, that was kind of true in 2010, color mode was possible to be changed via Actions and vbs or as
    Re: Change color space
    with CS6 or newer it is more straight forward since js can play actions, and even easier using executeMenuCommand...however I'm not sure if the OP needs to change color mode or if he wants to load color profiles.

  • How to get elements in a multi-value field via javascript?

    The following will set variables.variable1 to variables.variable2 when the "Script Link" component is clicked...
    <Field>
    <Display class='Javascript'>
    <String>
    function myScript() {
    el=getElement(document.mainform,"variables.variable1");
    el2=getElement(document.mainform,"variables.variable2");
    el.value=el2.value;
    </String>
    </Display>
    </Field>
    <Field name='Script Link'>
    <Display class='Link'>
    <Property name='URL'>
    <String>javascript:myScript();submitCommand(document.mainform,%20'Recalculate');</String>
    </Property>
    </Display>
    </Field>
    My issue is, if variables.variabl2 is a list / multivalued, i get errors trying to traverse through the "array".
    How can i read and set an a list element via javascript function above? I've tried things like get() , and variables.variable2[0] .
    any help would be appreciated....
    is there an API somewhere i can reference?

    Hi,
    thanks for your reply!
    If I have the parameters in the URL and use the method GET it works all right.
    but I need the method to be POST. I suppose, I have the wrong way identifying the parameter name
    This is from VB
    varTarget = "http://localhost:9090/gm/getData" ' getData is my servlet
    xmlSendStr = "SQLStmt=SELECT TCPD_Cars.* From TCPD_Cars WHERE (((TCPD_Cars.CarIdent)=45));"
        xmlHttp.Open "POST", varTarget, True   'True means asynchronous
        xmlHttp.Send xmlSendStrthis is part of my Servlet
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter writer  = response.getWriter();
              String SQLStmt = request.getParameter("SQLStmt") ;
            //make the database query and get the returns
            writer.println(GetSQLData(SQLStmt));
            //close the write
            writer.close();                    
         }I would appreciate any suggestions

  • Changing Hyperlink Settings via JS

    Hi there,
    i have a bunch of InDesign CS3 documents where i need to change the zoom-setting for all hyperlinks.
    how can i access the zoom-setting of all selected hyperlinks via javascript and set it to "fit to window".
    i hope someone can point me to the right direction here.
    cheers,
    christian

    yes, sorry. here we go:
    doc = app.activeDocument;
    var hyLinkPAGE=doc.hyperlinkPageDestinations;
    for(var p=0; p < hyLinkPAGE.length; p++)
         hyLinkPAGE[p].viewSetting=HyperlinkDestinationPageSetting.FIT_WINDOW;

  • Copy/Capture Adjustment Layer settings using Javascript

    Hi,
    For last couple of days I'm trying to copy adjustment layer settings via Javascript after adjustment layer has been already created.
    General idea is to capture adjustment layer settings and save them to JSON file for future preset etc. I was hoping to capture raw data ( getData(stringIDToTypeID('legacyContentData'))) and store it in JSON file base64 encoded.
    I'm able to capture raw data but I'm not able to restore it to the adjustment layer using putData or something similar.
    Capture raw data of adjustment layer:
    var doc = app.activeDocument;
    var layer = doc.activeLayer;
    ref.putEnumerated(charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt"));
    var desc = executeActionGet(ref).getList(stringIDToTypeID('adjustment')).getObjectValue(0);
    rawData = desc.getData(stringIDToTypeID('legacyContentData'));
    Trying to restore raw data:
       var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated(cTID('AdjL'), cTID('Ordn'), cTID('Trgt'));
            desc.putReference(cTID('null'), ref);
            aldesc = new ActionDescriptor();
            aldesc.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindCustom"));
            var list1 = new ActionList();
    // Not sure what to do here ...
            aldesc.putList(cTID('Adjs'), list1);
            desc.putObject(cTID('T   '), id, aldesc);
            executeAction(cTID('setd'), desc, mode);
    If I'm using above code with code generated by i.e. script listener or action translated into javascript it works (at least for curves), but I'd rather use getData/putData so I can capture already created adjustment layers with out need to code each layer separately. toStream and fromStream also would work, but I wasn't able to restore data using these methods too.
    Help would be appreciated.
    Thanks!

    Thanks for the replies you guys. It's not hardware related Mylenium. My machine was purpose built for AE work and this is a very simple comp that is nothing remotely as intensive as some of the truly complex and effects ladened projects I've done before. It's even simpler than the one in the same project where the other adjustment layer is working properly. The layer is going white before an effect is even being added, so it's not that. I'll double check the OpenGL when I can get back on my machine in a bit, but I never changed anything before changing comps, so I don't think that's it.
    I'm guessing that it is probably related to the layer settings itself. There's no 3D layers so it's not that Dave. I'm going to check Rick's idea when I can because the white solid behavior sounds exactly what he is talking about.

  • Good day!     On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09 When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Un

    Good day!
    On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09
    When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Unable to process the document in the module Save As. File not created"

    Hi,
    Was it working fine for you before?
    Is it with some specific documents?
    Are you able to convert the word/excel files to pdf?
    Regards,
    Rave

  • Good day!   On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09  When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Una

    Good day!
    On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09
    When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Unable to process the document in the module Save As. File not created"

    This happens with any file .
    Send a file with the screen errors and system data . Also send a couple of files PDF.
    Translates only txt format.
    Acrobat установлен: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:43:46
    Браузер по умолчанию:
    Версия BIOS: _ASUS_ - 1072009
    Версия ОС: 6.2.9200 
    Всего виртуальной памяти: 4194176 KB
    Всего физической памяти: 4077252 KB
    Графическая плата: Intel(R) HD Graphics 4000
        Версия: 10.18.10.3412
        Отметить: Не поддерживается
    Доступная виртуальная память: 3638168 KB
    Доступная физическая память: 1689940 KB
    Имя пользователя: Vazgen
    Имя системы: VAZGENTAICHI
    Монитор:
        Название: Intel(R) HD Graphics 4000
        Разрешение: 1920 x 1080 x 60
        Бит на пиксел: 32
    Название ОС: Microsoft Windows Vista
    Папка Windows: C:\WINDOWS
    Папка для временных файлов: C:\Users\Vazgen\AppData\Local\Temp\
    Почтовая программа по умолчанию: Microsoft Outlook
        mapi32.dll
        Версия: 1.0.2536.0 (winblue_rtm.130821-1623)
    Производитель ОС: Microsoft Corporation
    Процессор: Intel64 Family 6 Model 58 Stepping 9 GenuineIntel  ~1696  Mhz
    Сведения о Windows:
       Планшетный ПК: Да
       Начальная версия: Нет
       Media Center Edition: Нет
       Медленный компьютер: Нет
    Сведения о сеансе:
       Тип загрузки: Обычный
       Завершение работы: Нет
       Сеть: Доступно
       Внутри Citrix: Нет
       Внутри VMWare: Нет
       Удаленный сеанс: Нет
       Удаленное управление: Нет
       Использование JAWS: Нет
       Использование Windows-Eyes: Нет
       Использование NVDA: Нет
    Сведения об Acrobat:
       Изолирование программной среды: Отключить
       Связанная программа для чтения: Нет
       Multi-Reader с поддержкой Desktop: Отключить
    Сведения об отображении:
       Ширина экрана: 1920
       Высота экрана: 1080
       Число мониторов: 2
       Число кнопок мыши: 2
       Мышь с колесом прокрутки: Нет
       С маркером Windows: Нет
       Двухбайтовая кодировка: Нет
       С редактором метода ввода: Да
       В программе для чтения с экрана: Нет
    Сведения об учетной записи:
       Права пользователя: Администратор
       Управление учетной записью пользователя: Ограниченное
       Целостность процесса: Не определено
       Тип профиля: Отсутствует
    Установленные приложения:
       Версия Office: Office 2013 32-bit
    Файл подкачки: 4194303 KB
    Часовой пояс: Московское время (зима)
    Язык: Русский (Россия)
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:20
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Annots.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:22
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\IA32.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:18
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\PaperCapture.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:43:36
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\SaveAsRTF.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:20
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\SendMail.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:20
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Updater.api
        Версия: 11.0.9.29
      Дата создания: 2014/09/12
        Время создания: 13:44:22

  • Will someone please help me set-up Acrobat to send a PDF via webmail?  Acrobat returns a message "Server Connection Error .... Port 143 unavailable"

    Will someone please help me set-up Acrobat to send a PDF via webmail?  Acrobat returns a message "Server Connection Error .... Port 143 unavailable"

    Are you using a Microsoft or Apache web server? If so, you can submit to a server-side script, which will bypass web mail and client-side email software such as OUTLOOK.
    For examples:
    http://www.nk-inc.com/software/pdfemail.net/examples/

  • Firefox 3.6 crashes or hangs when setting an iframe src to a pdf via javascript. 3.5 works fine

    Firefox hangs or crashes when setting iframe src to a pdf via javascript. Works fine in all previous versions of Firefox. This is using the most recent version of Adobe Reader 9.
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 3.6

    More info:
    Seems to be the same issue as this
    [http://support.mozilla.com/en-US/forum/1/585926#threadId622326]
    and this
    [http://support.mozilla.com/en-US/forum/1/585926?forumId=1&comments_threshold=0&comments_parentId=585926&comments_offset=20&comments_per_page=20&thread_style=commentStyle_plain#threadId659555]

  • Setting IIS W3C Extended Log File settings via command line, registry or configuration file

    I am currently in need of a way to set IIS W3C Extended Log File settings via command line, registry or configuration file.  More specifically the 'Bytes Sent (sc-bytes)' and 'Bytes Received (cs-bytes)' settings that are not enabled by default. 
    If anyone knows where I can locate these setting (outside of the GUI) for all IIS versions that would be greatly appreciated.

    I believe I have found a valid solution. You must have the WebAdministration module loaded.  I hope this helps someone.
    Use the following syntax to view current W3C fields:
    Get-WebConfiguration -filter system.applicationhost/sites/sitedefaults/logfile | select-object -expandProperty logExtFileFlags
    Use the following syntax to set W3C fields:
    Set-WebConfigurationProperty -Filter System.Applicationhost/Sites/SiteDefaults/logfile -Name LogExtFileFlags -Value "Date,Time,ClientIP,UserName,SiteName,ComputerName,ServerIP,Method,UriStem,UriQuery,HttpStatus,Win32Status,BytesSent,BytesRecv,TimeTaken,ServerPort,UserAgent,Cookie,Referer,ProtocolVersion,Host,HttpSubStatus"}

  • Setting the Color Settings (Illustrator - Javascript)

    I would like to set the right color settings file using a startupscript in Javascript.
    If the name of the color settings file to be set is "myColorsettings", I assumed this line should do the job:
    app.loadColorSettings ('myColorSettings')
    But it returns an error. What's wrong?
    The manuals tells me:
    app.loadColorSettings (filespec)
    Thanks,
    Peter

    Peter, I would expect that 'filespec' needs to be a 'file object' created with a string to the full location & name of file… Some thing like…
    var filespec = new File('/Library/Application Support/Adobe/Color/Settings/Recommended/Europe Prepress.csf');
    alert(filespec.exists);
    Sorry I don't have a version that supports this for me to test. Check for the existance of the target file then load… Oh my example was on my mac your OS may differ…?

  • Set Word 2013 Track Changes settings via Registry edits or Group Policy?

    Hi
    Would anyone know if there is a way of changing Track Changes settings via registry edits or Group Policy (e.g. changing Simple Markup All Markup)? I've had a look in Group Policy Admin Templates and the Registry but cant see relevant
    Thanks!

    Hi,
    The All Markup/Simple Markup selection is controlled by the RevModeShowSimpleMarkup value within the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\Options
    The value is 0 (zero) for All Markup or 1 (one) for Simple Markup.
    If we close all Word instances, and change the value to 1, then start Word, the All Markup option should be selected.
    In addition, some track change settings can also be controlled by the GPO settings in the following location:
    Administrative Templates > Microsoft Word 2013 > Word Options > Track changes and compare
    If you still need further assistance on this issue, please feel free to let me know.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to Call the Acrobat plug-in through javascript

    Is it possible to call the acrobat plug-in through javascript? Kindly help me with any samples.
    Thanks,
    Prabudass

    I have found the way to open the plugin menu "Documents-->OCR Text Recognition-->Recognize Text Using OCR" through javascript. Now i have to select the settings and set the values like the below options:
    1.Primary OCR Language : English (US)
    2.Pdf Output StyLe : Formatted Text & Graphics
    3.Down Sample Images : Lowest (600 dpi)
    which are listed in the "EDIT" menu of the "Recognize Text" form, and also to activate the "OK" button. Is it possible to do the above through Java Script. Please kindly provide any samples.
    Thanks,
    Prabudass

  • How can I add a watermark via JavaScript that includes the current datestamp?

    Part of my daily work process here is to scan in a huge stack of inbound mail. I then OCR the scans, delete the blank pages, and add a watermark. I've got a batch process set up for the first two steps, but I can't make a watermark for the datestamp itself and need to do so via JavaScript, but I have a luddite-level understanding of it.
    As of right now, these are my settings I'm using to add the datestamp:
    What I want to do is run a script to do the same thing and insert the current date where I have mm-dd-yy currently, but I don't have the first clue of where to start. Any help you could offer would be hugely appreciated

    You can use the doc.addWatermarkFromText() method as a JavaScript step in an Action.
    for example
    var dt = new Date();
    var stoday = (dt.getMonth() + 1) + '-' + dt.getDate() + '-' + dt.getFullYear();
    this.addWatermarkFromText({
    cText: "Deposit\r" + stoday,
    nTextAlign: app.constants.align.right,
    nHorizAlign: app.constants.align.right,
    nVertAlign: app.constants.align.top,
    nHorizValue: -72, nVertValue: -72
    See the SDK Help files for information on what all the parameters do.

  • Apply watermark and then apply Flattener Preview via JavaScript

    Hello all,
    I have a bunch of PDF files which were generated from InDesign.
    Currently I am applying a watermark to all the PDFs in Acrobat XI and then a flattener preview to all of the PDFs manually one PDF at a time.
    I want to make a script which does all this.
    I also tried the Action panel, but it didn't automate the flattener preview part.
    I am comfortable with JavaScript and scripting in general.
    Any help or a pointer to resources will be appreciated.
    Thanks and regards.

    Thanks for replying.
    The flattener preview is located under "Print Production" panel. Where one can configure the text flattening options, among many other settings.
    I want to flatten the text (convert it to outlines) via JavaScript as you have suggested.
    Please suggest any sample code.
    Thanks and regards.

Maybe you are looking for

  • User defined Function Required for EDI 850 file fields.

    Hi Guys, I have an requirement where i need to check two fields in incoming EDI 850 file, based on those fields data should be populated to target side fields IDOC(ORDERS05). here is the requirement If Field.01 = "001" and field.02 exist then    Set

  • Facetime doesn't work in Germany

    Hallo, Since Four days my facetime doesn't work with ipad2, iphone5 and 5s in Germany. Has anybody the Same Problem. I think it Might be a Problem at Apple side, because I haven't change Anthony at my devices and Internet Connection. Thanks for Reply

  • I have photos on my camera stream which I did not take

    TToday, photos have appeared on both my iPhone and iPad which I did not take. Nobody has had access to either but me and I didn't take them. I find it very worrying and would like to know how it happened. I've tried to contact apple but because I don

  • How do i save something on my flashdrive?

    How o i save important info to my flashdrive?

  • Need help getting a voltage and current reading with myDAQ

    I have set up a VI using the DAQ assistant with the myDAQ, I am using the ai0 port for a voltage reading and using the DMM for my current reading, the circuit is working as I am measuring the voltage on a resistor after the ammeter but I am unable to