[Ann] QR Code for InDesign CS4 and up

Ever needed to create a QR code? There are literally hundreds of free QR code generators on the web, but they all have the same drawbacks:
1. They typically deliver a PNG, either 'click here to download', or you have to drag it somewhere yourself.
2. It's typically an RGB image, so the cautious designer will start up Photoshop to convert it to a monochrome image.
3. .. so you get a file to store somewhere ..
4. ... and after seeing four of them you cannot remember which QR code said what ...
5. .... and, you cannot use such site in a batched environment (well, maybe some people can by building a proper URL, call the website, wait for a response, etc. I bet it's difficult for your average scripter.)
So I had a go on converting one of the existing Javascript solutions -- Patrick Wied's, in case you're curious -- into a construction fit for InDesign. All you have to do is download the zip: http://www.jongware.com/binaries/jw_qrcode.zip -- unpack it, and save the file "QRCode.jsxbin" in your local User Script folder. It ought to be compatible with InDesign CS4 and upwards, for both Mac and Windows.
When it appears in your Script Panel, you can double-click to run and
1. with nothing selected, it prompts for text and error recovery settings, and will place a proper monochrome TIFF bitmap of (approximately) a useful dimension in the center of your current page.
2. with an empty rectangle selected, the new QR code will be placed inside it.
3. with some text selected, the text field will be pre-filled with this.
4. With a QR Code selected which you created earlier using this same tool, the text field will contain the original text, and the quality setting will be retrieved. You can cancel the dialog if you only wanted to know what it said, or change the text or quality.
5. You can call this script from another script to perform batch operations. It accepts two required arguments, and one optional, in this order: text, Error Correction level (1-4), and optionally a destination rectangle to place it in:
app.doScript(new File(app.activeScript.path+'/qrcode.jsxbin'), ScriptLanguage.JAVASCRIPT, ["hello", 1, app.selection[0]], UndoModes.ENTIRE_SCRIPT, "Call QR Code");
6. Since it's a monochrome bitmap TIFF with enough resolution (at its default size it's 200 dpi), you can use the swatches palette to change the white or black parts to another color, or even make one transparent.
7. It's just a small file, and so I decided to always have it automatically embed. That way you can never loose it. The image first has to be created in a temporary file (default location: (Temp)/qrcode.tiff, where (Temp) is your local Temporary Files folder). If this fails for some of you (there always seem to be overly prudent IT professionals who seem to despise users storing files willy-nilly), I'll have to think of something else.
Note: this version only supports plain text mode, not numeric, alphanumeric, or Kanji. Text is converted to UTF-8; for the most common purpose -- web pages -- it should work normally.
Enjoy!
Based entirely on Patrick Wied's implementation of a basic QR Code generator. Patrick Wied dutifully notes
I do not guarantee any resulting QR code generations or detections, use this application at your own risk! - this project is just a study project (non commercial).
and so I advise to always check your generated code using a good QR Code reader.

To give back to community, here is the script to generate QR codes for business cards created by data merge
It reads text frames starting with MECARD:, empties them and places QRcode rotated 15 degrees counterclockwise. Enjoy!
var _d = app.documents[0];
var _allStories = _d.stories;
for(var nx=_allStories.length-1;nx>=0;nx--){
    var _storyAllTextFrames = _allStories[nx].textContainers;
    for(var mx=_storyAllTextFrames.length-1;mx>=0;mx--){
         _storyAllTextFrames[mx].select(); // change page
         if(_storyAllTextFrames[mx].contents.indexOf('MECARD:')==0){
             var obj = app.doScript(new File(app.activeScript.path+'/qrcode.jsxbin'), ScriptLanguage.JAVASCRIPT, [_storyAllTextFrames[mx].contents]);
             _storyAllTextFrames[mx].contents = "";
            var myScaleMatrix = app.transformationMatrices.add({horizontalScaleFactor:.7,
                verticalScaleFactor:.7,counterclockwiseRotationAngle:15});
            obj.transform(CoordinateSpaces.pasteboardCoordinates,AnchorPoint.centerAnchor, myScaleMatrix);            
             //obj.move ([_x,_y]);
here is a MECARD template for you:
MECARD:
N:<<Last>>,<<First>>;
TEL:<<Direct>>;
TEL:<<Mobile>>;
EMAIL:<<E-mail>>;
NOTE:<<Position>> at <<Company>>;
http://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/applica tion/addressbook/index.html

Similar Messages

  • Do you have hindi fonts for InDesign CS4 and if so how much are they?

    Do you have hindi fonts for InDesign CS4 and if so how much are they?

    Adobe does offer a few Unicode fonts that support Hindi  I'd expect that you'd be asking for Devanagari fonts, though. Have you ever done any Hindi typesetting? I mean, when we typeset English we don't do it in "English fonts" but in "Latin-script fonts."
    There are two main classes of Devanagari fonts - the more common, older fonts where someone took a Latin-script font, erased the characters, and replaced them with Devanagari glyphs, versus contemporary Unicode fonts. The first class are wonky, hard to use, and quite common. If you're in-country you will find lots of ways to buy those kinds of fonts. You also can use them in InDesign without needing any scripts or plugins to turn on the World-Ready Composer. I find Unicode fonts to be much easier to use, to automatically compose according to proper rules regarding behavior of glyphs - but to use them in CS4, you'd need something like World Tools or IndicPlus. I'm a World Tools user myself but if you're going to be doing only Hindi work in CS4, I'd suggest that you look at IndicPlus first.
    In short - it's deeper than it looks. If you want to tell us more about what you're trying to do, we might be able to give you better advice.

  • Slow installation for indesign CS4 trial

    I have downloaded the trial issue for indesign cs4 and try to install it on my PC, it is really slow, it is about 10 hours now and the install progression is only at "Adobe Output Module", it is about 25% of the total installation if I look at progress bar.
    My computer is an Acer Aspire 7720, Intel core duo, cpu 2 GHz, RAM 3 Go and 250 Go of Hard drive.
    I have followed the instruction to disabled the Antivirus program and Firewall too. So how to speed up this install, it is the first time I encountered that kind of problem.

    User Access Control and Pain In The Arse.
    There's something going on with the system if the profile check is taking two hours. How much free space is left on the hard drive?
    Is there some sort of minimum-required configuration you can boot to, similar to running MSconfig in XP and turning off startup programs and non-Microsoft services? It really sounds like there is still something running in the background that is conflicting. You are certain that anti-virus is not running? I'd also be sure that no browser toolbars are loaded, nor any instant messenger or music programs, and have a local printer, rather than a network printer, set as the default and online.
    Peter

  • Is it possible to have Indesign CS4 and CS5.5 both installed on the same Mac? 10.6.8

    We have a bunch of recent Intel macs at our corporation.  Currently they should all have 10.6.8.  They were all imaged from a base image that has Adobe CS4 embedded in it. 
    We are now using a packaging software part of the JAMF Casper suite and AAMIE to push CS5.5 to the end users.
    The problem is that we want to keep CS4 on the end user's computers in case of issues.  That way the end users can try Indesign 5.5 and see if it does everything they need to do and still have Indesign for backwards compatiblity.
    So we created a CS5.5 install package using the AAMIE tool which works fine.  We then use Casper to spam the package out to a Mac.
    The issue that arises is that a few Plugin errors occur during the lauch of Indesign CS5.5 such as:
    Adobe inDesign does not recognize InCopy Bridge UI.InDesignPlugin as a valid plug-in.
    Adobe InDesign does not recognize InCopyExport.InDesignPlugin as a valid plug-in.
    Adobe InDesign does not recognize InCopyExportUI.InDesignPlugin as a valid plug-in.
    Adobe InDesign does not recognize InCopyImport.InDesignPlugin as a valid plug-in.
    There was one more plugin error that occured before the first one but I forgot to write it down.
    If we click okay to them, the application launches okay but when you quit and relaunch it, you still get one of the errors.
    Is this because both applications are installed at the same time?
    Is it offically okay as per Adobe to have Indesign CS4 and CS5.5 installed on the same Macintosh?
    What else should we be considering what to do?

    Well currently, I'm just testing this issue.  I just installed the trial version of  Adobe CS4 suite on my mac and then deployed the CS5.5 package on top off it  The resulting errors that I listed above are the same ones that occur when the end user has a licensed volume license install of CS4 and CS5.5.
    So I'm still back to square 1 where when I deploy cs5.5 on an  end user's mac, they get those plugin errors when they launch Indesign CS5.5.  
    I am not sure about the licensing restrictions, I asked my Director and he is going to check with our VAR.

  • InDesign CS4 and CS5 scripting on Windows 7 unstable

    Hello, have not found any solutions to our previous issues with RPC errors while scripting InDesign CS4 and CS5 on Windows 7.
    Even more problematic, I just installed a trial version of InDesign CS5 on Windows 7, created a small JavaScript script that places a counter text from 1 to 10.000 in a one page, one frame document and found out this crashes when the counter is at around 4500 or so. This was the same issue with CS4, that's why I tried CS5.
    These scripts run fine with CS4 on Windows XP and Vista. So what is the problem with scripting Indesign on Windows 7 ? Are there any settings that should be changed in Windows 7 to create a more stable situation ? Need to allocate more memory somehow ?
    Anxious to know, for now I try avoiding Windows 7.
    Roelof Janssen

    Shouldn't be a problem but you should be aware that if you upgrade to CS5.5 now you'll get a free upgrade to CS6 when it ships.
    Bob

  • What is the activation code for InDesign CS5?

    What is the activation code for InDesign CS5?

    We've recently upgraded to CS5 and they are requiring an activation/authorization to continue using the program.

  • Missing plug-ins for InDesign CS4? Fehlende Zusatzmodule für InDesign CS4?

    Missing plug-ins for InDesign CS4? Fehlende Zusatzmodule für InDesign CS4?
    Hello! Hallo!
    I am working with CS4 on the Mac OS X, version 10.6.8. I created some InDesign files with it a couple of weeks ago. When I want to open them now again, it shows me a long list of plug-ins that I supposedly have to activate first or I need to buy the newest CS as an alternative.1. How did this problem come off? 2. How can I activate the missing plug-ins?
    Ich arbeite mit CS4 auf einem Mac OS X Version 10.6.8. Habe damit vor einigen Wochen mehrere InDesign Dateien erstellt. Wenn ich sie jetzt wieder öffnen möchte, zeigt er mir eine lange Liste von Zusatzmodulen an, die ich angeblich aktivieren muss bzw als Alternative das aktuellste CS kaufen soll.
    1. Wie ist das Problem zustande gekommen? 2. Wie kann ich die benötigten Zusatzmodule aktivieren?
    Thank you all! Danke schön!

    Actually, Indesign only says like "I can't open, because it was saved from a newer version" and does not list any extensions/plugins.
    If you now make a new document, save it and open again - will it work?
    Those plug-ins are usually enabled/disabled via the Adobe Extension Manager (Menü "Hilfe"->Erweiterungen verwalten).

  • INDESIGN CS4 AND WINDOWS 8

    I have a new windows 8 laptop which has no dvd drive, I have a copy of Indesign CS4 and would like to use it on my new laptop.  How can i transfer it as it is on a DVD.  Also is it compatable with windows 8.
    Christine

    Use this:
    Direct Download Links for Adobe Software
    Ask for specific compatibility issues in teh ID forum. Generally it should work, but there may be some specifics involved...
    Mylenium

  • When trying to update my CC apps, the update fails. I get this error: Update Failed. There was an error installing this update. Please try again later or connect customer support. This is currently happening for InDesign, Photoshop and Bridge. I had this

    When trying to update my CC apps, the update fails. I get this error: Update Failed. There was an error installing this update. Please try again later or connect customer support. This is currently happening for InDesign, Photoshop and Bridge. I had this problem previous and was able to fix by doing a complete wipe of my computer and reinstalling CC. However, I should not have to wipe my computer clean everytime I need to do a CC update. HELP!

    Hi,
    Please download the updates directly from the link below:
    WIN: All Adobe CC 2014 Updates: The Direct Download Links for Windows | ProDesignTools
    MAC: All Adobe CC 2014 Updates: The Direct Download Links for Mac OS | ProDesignTools
    Regards,
    Sheena

  • T-code for cancelled Invoice and cancelled Excise Invoice

    Dear Guru,
    kindly let me know the T-code for cancelled Invoice and cancelled Excise Invoice.
    Wishes,
    Abhishek

    Hi Abhishek,
    I am not aware of any T-code through which you can see the cancelled invoice. I think either you have to go for development (SQVI)
    or
    Extract the list of your all billing document like billing document created from 01.01.2010 to 22.04.2010
    Now go to SE16 --> Table VBFA --> Give your billing document number in field "Preceding Doc." --> and in the field "Subs.doc.categ." --> choose entry "N     Invoice cancellation" --> system will show you all the entries for which cancellation billing document has been created.
    or
    Go to SE16 --> Table VBRK --> enter your billing document list --> In the field "Posting status" --> Choose  option "E      Billing Document Canceled"
    Hope it helps,
    Regards,
    MT

  • Is there example code for using Ni488 and PCI-GPIB card in non controller mode?

    Is there example code for using Ni488 and PCI-GPIB card in non controller mode?

    cymrieg,
    Your code looks good to me. What is the problem? What happens when it fails? What is the IBSTA value on the controller, and at what point in the code does it stop? What is the IBSTA value on the slave, and at what point does it stop?
    One thing is that you might not want to call IBCLR() in a loop on the device. At the beginning of the program is fine...This will send a clear command to the device and will clear out any LACS and TACS bits that might be set. Also your IBDEV call shouldn't be in a loop.
    Hope this helps, but let me know if you need more information.
    Scott B.
    GPIB Software
    National Instruments

  • Hi basically when i try download a app its saying sign in required ask for sercurity code for bank card and i put the correct details in and still saying its invalid? Can anyone help

    Hi basically when i try download a app its saying sign in required ask for sercurity code for bank card and i put the correct details in and still saying its invalid? Can anyone help

    Refusal of a card is based on information provided matching what is on file from your credit card provider. If it is refused, it generally means something is not matching. That can inclue the name, the address or other information. It has to be exact to match. If you check your credit card bill to make sure you are spelling the name correctly, the address is listed correctly, and yes, ST is different than Street, and it still does not work, contact iTunes support. http://www.apple.com/emea/support/itunes/contact.html

  • Will Adobe inDesign CS4 and Photoshop CS4 run on Yosemite?

    Will Adobe inDesign CS4 and Photoshop CS4 run on Yosemite?

    Roaring Apps web site. 
    http://roaringapps.com/apps?index=a
    InDesign has Issues.
    Photoshop appears to be OK but a re-installation may be necessary.  Run the CS Cleaner Tools below and PS uninstaller before attempting to re-install PS CS4.
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    Nancy O.

  • Trying to load my Photoshop CS3 onto new Mac Book Air. Why does it ask for InDesign CS4 part way through?

    Loading my Photoshop CS3 onto new Mac Book Air. Why does it ask for InDesign CS4 part way through?  I have a CS5.5 disc. Will suffice?

    that doesn't make sense.  you will only be prompted for earlier adobe versions when installing a latter upgrade version.
    double check your versions.
    also, you might want to clean your computer before retrying to install, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How to write code for page up and page down buttons on alv screen?

    Hi,
    Page up and page down buttons are not working in general alv report. Thease buttons are in disable mode. But is stnd. transactions (tcode : fbl5n)  these are enabled and working properly, but we can't debug this with /h
    How to write code for page up and page down buttons on alv screen?

    Poonam,
    On doing the screen debugging it took me over to    Include LSTXWFCC ,kindly check the below code.
    module cc_display.
      fcode = sy-ucomm(4).
      case sy-ucomm(4).
        when 'P--'.
          perform cc_firstpage.
        when 'P-'.
          perform cc_prevpage.
        when 'P+'.
          perform cc_nextpage.
        when 'P++'.
          perform cc_lastpage.
        when 'EX--'.
          perform cc_firstcopy.
        when 'EX-'.
          perform cc_prevcopy.
        when 'EX+'.
          perform cc_nextcopy.
        when 'EX++'.
          perform cc_lastcopy.
    I guess it can give you some lead.
    K.Kiran.

Maybe you are looking for

  • Just bought an Imac G5 but can't do much with it, how can I upgrade to neewer version and which is the next version after 10.4.11?

    HI, I just bought an Imac G5 with 10.4.11 OS in it but I can't do much with it.  I can't even wach Netflix on it because it needs a newer version of browser but I can't download newer version because My Mac's OS is to old, at least 10.6 needed.  Can

  • Video out not working

    So, the audio is working fine, and the video is fine on my brother's iPod video, but the video on my iPod touch isn't working at all. What can I do to fix this?

  • Facing issue with OpenJPA and HSQL...?

    Hi All, I am getting the following error when running my unit test case. I am using Apache Openjpa and HSQL 1.8.0 , The test case runs the first time generating the mydbname.script file also attached , Additional details alsp provided... But, when i

  • Floating point numbers

    hi! i have to write a program and i'm quite new to this java lark and am having some problems. This is the code I have so far: import java.util.*; //A Program to calculate the area of squares, rectangles, triangles and circles public class a      pub

  • SAPCONNECT  - RFC between SAP BW system and Mail Server

    Hello Everybody, Iam trying to enable <b>Information Broadcasting</b> feature in SAP BW System i.e; i want the queries to be send to users from BW system to their Email Ids for which i have made configurations for SMTP node in SICF and SCOT transacti