Itunes wifi sync does not work after upgrade to OS X Yosemite

Hi,
After upgrade to OS X Yosemite itunes wifi sync with my ipad and iphone stopped working. After attaching the iphone and ipad with a cable, I could sync, but as soon as the cable was removed, the ipad and iphone disappeared again from itunes. And wifi did still nok work.

Apparently something is not being saved somewhere and this technique forces the save.  Below is a C&P from another poster describing the technique on a different thread.  It's been working for him for some fifteen hours.  I tried it and it's been working but it's been only ten minutes.  My gut feel is that quitting and relaunching iTunes are critical steps.
With the device connected via cable, click on its icon
Uncheck WiFi syncing
Click Apply
Quit iTunes
Launch iTunes
Check WiFi syncing
Click Apply

Similar Messages

  • IMessage does not work after upgrade to iOS 8.1.3 to my iPad 4

    iMessage does not work after upgrade to iOS 8.1.3 on my iPad 4

    I Fixed it by trying to sign in with a different ID and canceling when it asked For a password and then signed in with my ID and it works! No more error message. I got this idea from another discussion. Thank you for replying though.

  • Auto brightness does not work after upgrade from iOS5 to iOS6 on my iPod touch. Is this intended by Apple, or is it a bug?

    I attempted to ask this question, yesterday. However, I am not used to typing with my thumbs, yet, and messed it up some. So, I will give this another try. Auto brightness does not work after upgrade from iOS 5 to iOS 6 on my iPod touch. Is this intended by Apple, or is it a bug?

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
    iOS 6 changed how that feature works.

  • IPhone 4's WIFI has been not working after upgraded to 6.1.3(10B329)

         My IPhone 4 was working fine with its WIFI when it is running in default IOS version, I believe it was 5.x.x version, however after I upgraded to 6.1.3(10B329) then WIFI got very aweired issues again and again.starting from then I never get my WIFI working again:
    1. Sometimes I can connect to my home's network and keep alive for 1-2 minutes then WIFI will not work on IPone, my home's router is not working either, I need to restart my home's router manually;
    2. I can connect to my office's network and keep alive 5-10 minutes then WIFI is not working, however my office router is not affected; however the following days then I can't connect WIFI to office's network any more.
    3. I tried to connect to other public area's free network via WIFI, however never joined in.
         I called Apple's service centre couple of times they have no clues, they said they never met this problem before for WIFI not working after upgraded to IOS 6.1.3 and no suggestions from them at all, every time I called them they gave me the same suggestion, such as restore-re-install, check your own router etc, nothing help, however my friend bought a brand new IPhone 4 with default IOS version 6.1.3 which is working perfectly without any issues on its WIFI then I believe this is a completely software issue.
         I know this is a general issue for Apple users and I refuse to upgrade to higher version as I am not sure the higher version can fix this issue however I am pretty sure the newer version of IOS did bring a lot of new bugs, anyone can provide me any suggestions guys ? THANKS A LOTTTTTTTT!!!!!!!!!!!!!!!!
    Terrence

    I have fixed this issue after upgraded my router's firmware finally, this is a completely compatibility issue between Apple and other third party manufactures, hopefully we can get compabitlity list for each future IOS version ahead of time which can potentially avoid such kind of embarrassing situations moving forward, thanks !

  • ITunes 11.1.5 wifi sync does not work

    I have 10 wireless devices and an Apple Mac Mini with Mavericks and iTunes 11.1.5 and alll devices are running iOS 7.1.1.  I noticed the other day that none of my devices have backed-up since late March and none of my devies have connected through wifi.  I have attempted a shutdown, a stop process of the AppleMobileDeviceHelper and restart the iTunes and even did the stop process of AMDH shut-down/restart and then attempted the iTunes wifi sync to no avail.  Anyone have the same problems?
    Devices are Airport Extreme Base-station, Airport Extreme (Tower), and Airport Extreme TimeCapsule
    Mac Mini (Latest), two MacBook Air (Latest)
    Multiple iPhones from 5s, 5, and 4s
    2 iPad second gen
    2 iPad mini Retina

    In case there is any confusion, iTunes did WiFi sync to iOS devices for years.  It was rumored that Apple stopped it but only for a time.  However, iTunes always had a check box for selecting WiFi syncing for the selected device.  If you hook up the device by USB, select it on the left panel and go to the Summary tab, you will see a box "Sync with this iPhone over WiFi".  Some trouble shooters have suggested unchecking, clicking apply, quit iTunes, then restart and recheck.  In the past that would occasionally work for me.  Now it doesn't work at all.
    The really odd part.  Often when I quit and restart iTunes (maybe reboot the Mac), the iOS devices will indeed appear in the list (when not connected via USB).  However, selecting them simply brings up a progress indicator that disappears 30secs later and the device name disappears from the list.
    Apple, if you can hear us, please FIX THIS!

  • IPhone 3G - 3G Does not work after upgrading to 4.2.1

    Once again Apple has screwed something up. Upgraded to 4.2.1 on Friday and now my 3G reception does not work. I've factory restored and still no good. Whats up with the quality control these days? Seems as if every software update across iOS and Mac OS/X has at least 1 major flaw.
    Does Apple read these posts?

    my problem is more curious i use 4.2.1. on a 3g iphone which is "open" from italy
    my network is kpn/simyo
    4.2 everything worked... no tethering offered
    4.2.1. most apps including safari weather etc are not able to use the data network,but the NS dutch railways app is able to use the data connection
    and suddenly i get offered tethering in the network settings
    But the screen for manually set your network settings is disappaered, so as my provider cant send setup files to my phone makes it impossible to manually setup a phone network, which is strange for an "open" never been locked iphone
    Will see what happens the next day as there are more buggs reported about network and 4.2.1.
    WIFI works perfectly....
    Was planning to buy an iphone 4 but if apple cant guarantee the use of what you buy..... by issuing software with flaws..... If they would just offer a downgrade option for software..

  • Caldav does not work after upgrade from 10.6.8

    Hello!
    After upgrading two test servers from 10.6.8 to 10.7.2 with no problems i decided last night it is time to upgrade our production server.
    Took sometime but everything went well except for caldav service. If I understand the log right the migration to lion-calendars crashes when the script wants to put the calendars from filesystem into a database.
    After reboot the script runs into the same error.
    BTW the notification service does not work also. But that is not very important.
    Every help is appreciated, bye
    eweri
    Here is the part of the log file:
    more /var/log/caldavd/error.log
    2011-10-26 08:28:33+0200 [-] Log opened.
    2011-10-26 08:28:33+0200 [-] twistd 11.0.0 (/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/ Contents/MacOS/Python 2.7.1) starting up.
    2011-10-26 08:28:33+0200 [-] reactor class: twext.internet.kqreactor.KQueueReactor.
    2011-10-26 08:28:33+0200 [-] calendarserver.accesslog.AMPLoggingFactory starting on "'/var/run/caldavd/caldavd.sock'"
    2011-10-26 08:28:33+0200 [-] calendarserver.tap.caldav.CalDAVStatisticsServer starting on "'/var/run/caldavd-stats.sock'"
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Upgrading to version 2
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Regular collection hidden: /Library/Server/Calendar and Contacts/Documents/calendars/__uids__/13/93/139328E4-76C8-427C-AD0C-CB6D102C7D7 F/outbox
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Regular collection hidden: /Library/Server/Calendar and Contacts/Documents/calendars/__uids__/21/D0/21D05230-A847-4B8D-B810-CFE793F634C B/outbox
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Regular collection hidden: /Library/Server/Calendar and Contacts/Documents/calendars/__uids__/84/5E/845E1E6D-F13B-4233-A4E5-0055F085388 1/outbox
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Regular collection hidden: /Library/Server/Calendar and Contacts/Documents/calendars/__uids__/B5/B6/B5B6BAA3-A5E0-4526-B7F3-15DC2811E08 3/outbox
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Regular collection hidden: /Library/Server/Calendar and Contacts/Documents/calendars/__uids__/E0/2B/E02BEF32-1714-4C5B-85DF-0184DA8B313 3/outbox
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Regular collection hidden: /Library/Server/Calendar and Contacts/Documents/calendars/__uids__/E2/64/E264473A-CEC7-4E1A-9756-59DE5AF62E5 0/outbox
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Regular collection hidden: /Library/Server/Calendar and Contacts/Documents/calendars/__uids__/wi/ki/wiki-zm-r/inbox
    2011-10-26 08:28:33+0200 [-] [twistedcaldav.upgrade#warn] Upgraded to version 2
    2011-10-26 08:28:33+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Beginning database schema check.
    2011-10-26 08:28:33+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Required schema version: 3.
    2011-10-26 08:28:33+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Actual schema version: 3.
    2011-10-26 08:28:33+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Schema version check complete: no upgrade needed.
    2011-10-26 08:28:33+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Database schema check complete, launching database service.
    2011-10-26 08:28:33+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Beginning filesystem -> database upgrade.
    2011-10-26 08:28:33+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-07B1-4733-AE89-8728D0C2CB4A'
    2011-10-26 08:28:34+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-5E85-4CC9-902A-A101164BD83F'
    2011-10-26 08:28:34+0200 [Uninitialized] [twistedcaldav.notify.NotificationClientFactory#error] Unable to connect to notification server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    2011-10-26 08:28:34+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-76C8-427C-AD0C-CB6D102C7D7F'
    2011-10-26 08:28:37+0200 [Uninitialized] [twistedcaldav.notify.NotificationClientFactory#error] Unable to connect to notification server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    2011-10-26 08:28:46+0200 [Uninitialized] [twistedcaldav.notify.NotificationClientFactory#error] Unable to connect to notification server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    2011-10-26 08:28:58+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-A847-4B8D-B810-CFE793F634CB'
    2011-10-26 08:28:59+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-6E96-4671-9BEB-FAABDB623EA3'
    2011-10-26 08:28:59+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-C56A-462D-90E0-D60285CCF751'
    2011-10-26 08:28:59+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-F13B-4233-A4E5-0055F0853881'
    2011-10-26 08:29:07+0200 [Uninitialized] [twistedcaldav.notify.NotificationClientFactory#error] Unable to connect to notification server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    2011-10-26 08:29:11+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-A2A9-4B21-8735-577F24ABA6D5'
    2011-10-26 08:29:11+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-7A55-4B63-AC42-43151A1F4810'
    2011-10-26 08:29:11+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-F38C-489D-88A2-42B5F47BB4AD'
    2011-10-26 08:29:11+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-A5E0-4526-B7F3-15DC2811E083'
    2011-10-26 08:29:12+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-97BE-43C3-94F7-A8C99AB92425'
    2011-10-26 08:29:12+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-9C74-412D-8DC0-69E3ED918CAD'
    2011-10-26 08:29:13+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-D6BD-450E-A8A1-708C063EF05F'
    2011-10-26 08:29:13+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-EC4C-43B6-A6A8-EA02F4024EB3'
    2011-10-26 08:29:14+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-1714-4C5B-85DF-0184DA8B3133'
    2011-10-26 08:29:15+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-CEC7-4E1A-9756-59DE5AF62E50'
    2011-10-26 08:29:26+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'XXXXXXXX-E113-470C-A824-0D988A8319FB'
    2011-10-26 08:29:30+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'wiki-XXXXXXXX'
    2011-10-26 08:29:32+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'wiki-XXXXXXXX'
    2011-10-26 08:29:32+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID 'wiki-XXXXXXXX'
    2011-10-26 08:29:33+0200 [-] Unhandled error in Deferred:
    2011-10-26 08:29:33+0200 [-] Unhandled Error
            Traceback (most recent call last):
              File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/internet/defer.py", line 361, in callback
                self._startRunCallbacks(result)
              File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/internet/defer.py", line 455, in _startRunCallbacks
                self._runCallbacks()
              File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/internet/defer.py", line 542, in _runCallbacks
                current.result = callback(current.result, *args, **kw)
              File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/internet/defer.py", line 1076, in gotResult
                _inlineCallbacks(r, g, deferred)
            --- <exception caught here> ---
              File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/internet/defer.py", line 1020, in _inlineCallbacks
                result = g.send(result)
              File "/usr/share/caldavd/lib/python/txdav/common/datastore/util.py", line 146, in doMigration
                uid = fileHome.uid()
            exceptions.AttributeError: 'NoneType' object has no attribute 'uid'
    2011-10-26 08:30:13+0200 [Uninitialized] [twistedcaldav.notify.NotificationClientFactory#error] Unable to connect to notification server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    2011-10-26 08:33:19+0200 [Uninitialized] [twistedcaldav.notify.NotificationClientFactory#error] Unable to connect to notification server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    2011-10-26 08:42:07+0200 [Uninitialized] [twistedcaldav.notify.NotificationClientFactory#error] Unable to connect to notification server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    2011-10-26 09:06:13+0200 [Uninitialized] [twistedcaldav.notify.NotificationClientFactory#error] Unable to connect to notification server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    2011-10-26 09:44:28+0200 [-] Received SIGTERM, shutting down.
    2011-10-26 09:44:28+0200 [-] (UNIX Port '/var/run/caldavd-stats.sock' Closed)
    2011-10-26 09:44:28+0200 [-] (UNIX Port '/var/run/caldavd/caldavd.sock' Closed)
    2011-10-26 09:44:28+0200 [-] Main loop terminated.
    2011-10-26 09:44:29+0200 [-] Server Shut Down.
    2011-10-26 09:46:13+0200 [-] Log opened.
    2011-10-26 09:46:13+0200 [-] twistd 11.0.0 (/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/ Contents/MacOS/Python 2.7.1) starting up.
    2011-10-26 09:46:13+0200 [-] reactor class: twext.internet.kqreactor.KQueueReactor.
    2011-10-26 09:46:13+0200 [-] calendarserver.accesslog.AMPLoggingFactory starting on "'/var/run/caldavd/caldavd.sock'"
    2011-10-26 09:46:13+0200 [-] calendarserver.tap.caldav.CalDAVStatisticsServer starting on "'/var/run/caldavd-stats.sock'"
    2011-10-26 09:46:13+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Beginning database schema check.
    2011-10-26 09:46:13+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Required schema version: 3.
    2011-10-26 09:46:14+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Actual schema version: 3.
    2011-10-26 09:46:14+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Schema version check complete: no upgrade needed.
    2011-10-26 09:46:14+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Database schema check complete, launching database service.
    2011-10-26 09:46:14+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Beginning filesystem -> database upgrade.
    2011-10-26 09:46:14+0200 [-] Unhandled error in Deferred:
    2011-10-26 09:46:14+0200 [-] Unhandled Error
            Traceback (most recent call last):
              File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/application/service.py", line 184, in setServiceParent
                self.parent.addService(self)

    Just to let everybody know what I am trying at the moment:
    Found a thread where someone suggests to delete the postgresql-database:
    Detials in this thread https://discussions.apple.com/thread/3206720?start=0&tstart=0
    1. sudo serveradmin stop calendar addressbook
    2. copy old 10.6.8 calender data from backup ("../Library/CalendarServer/Documents/") to  /Library/Server/Calendar\ and\ Contacts/Documents/
    3. delete database: sudo dropdb -U _postgres caldav
    4. mv (if it exists)  /Library/Server/Calendar\ and\ Contacts/Documents/calendars-migrated to  /Library/Server/Calendar\ and\ Contacts/Documents/calendars-migrated-old
    5. sudo calendarserver_bootstrap_database
    6. now we start again: sudo serveradmin start calendar
    7. watch the log file - tail -f /var/log/caldavd/error.log
    And I get the same error as above but now I see a new one:
    2011-10-26 15:29:19+0200 [Uninitialized] [twistedcaldav.memcachepool.MemCacheClientFactory#error] MemCache connection failed: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    Every help is welcome, bye
    Christoph

  • Open Hub does not work after upgrade

    We just upgraded our BW production system from 3.0b into 3.5 and we are running support package level 09. Now we are facing serious problems with Open Hub.
    After upgrade Open Hub delivering data from infocube into
    csv-files does not work. When running the InfoSpoke it
    will deliver 0 data records even though it should bring considerable amount of data.
    There is no error message or short dump, it just do not deliver any data. InfoCube has data in place and it is available for reportoing. Extraction is made in FULL-mode and there is no transformations. Funny thing is that extraction from ODS or InfoObject works perfectly fine.
    Has anyone idea how to solve this?
    Thanks in advance,
    JL

    We ran into the same issue as Jari Laine today.
    We just upgraded our BW sandbox environment from 3.0b into 3.5. We are running support package level 13, though. Now we are facing serious problems with Open Hub.
    After the upgrade, our Open Hub which delivers data from an info cube into CSV-files does not work any more.
    When running the Info Spoke it will deliver 0 data records even though it should bring a considerable amount of data.
    There is no error message or short dump, it just does not deliver any data. The Info Cube has data in place and it is available for reporting.
    The Extraction is made in FULL-mode and there are no transformations.
    Has anyone an idea how to solve this?
    Thanks in advance,
    Marc

  • This.print(pp) with interactive type silent or automatic does not work  after upgrade acrobat reader 9 to acrobat reader 11

    After an upgrade of acrobat reader 9 to acrobat reader 11 the automatic printing of a pdf. The pdf is opened, but the print does not happen. With acrobat reader 9 it works. But with acrobat reader 11 the printing does not happen.
    I discovered when you specify pp.constants.interactionLevel.full it works on acrobat reader 11. But when you specify pp.constants.interactionLevel.silent or pp.constants.interactionLevel.automatic it does not work on acrobat reader 11. But with the full option we have a dialog  print box
    we do not want.
    In our jsp we load a pdf document and create a message handler to detect the print events of a pdf document that is in an <object> tag.
    In the pdf document we add
    package be.post.lpo.util;
    import org.apache.commons.lang.StringEscapeUtils;
    import org.apache.commons.lang.StringUtils;
    public class AcrobatJavascriptUtil {  
        public String getPostMessageToHostContainer(String messageName, String messageBody){
            return "var aMessage=['"+messageName+ "', '"+ messageBody+"'];this.hostContainer.postMessage(aMessage);";
        public String getAutoPrintJavaScript(String interactiveType, String printerName,String duplexType) {    
            String interactiveTypeCommand = "";
            if (StringUtils.isNotBlank(interactiveType)){
                interactiveTypeCommand = "pp.interactive = " + interactiveType + ";";
            String duplexTypeCommand = "";
            if (StringUtils.isNotBlank(duplexType)){
                duplexTypeCommand = "pp.DuplexType = " + duplexType + ";";
            return "" + // //
                    "var pp = this.getPrintParams();" + // //
                    // Nointeraction at all dialog, progress, cancel) //
                    interactiveTypeCommand + //
                    // Always print to a printer (not to a file) //
                    "pp.printerName = \"" + StringEscapeUtils.escapeJavaScript(printerName) + "\";" + //
                    // Never print to a file. //
                    "pp.fileName = \"\";" + //
                    // Print images using 600 DPI. This option MUST be set or some barcodes cannot //
                    // be scanned anymore. //
                    "pp.bitmapDPI = 600;" + //
                    // Do not perform any page scaling //
                    "pp.pageHandling = pp.constants.handling.none;" + //
                    // Always print all pages //
                    "pp.pageSubset = pp.constants.subsets.all;" + //
                    // Do not autocenter //
                    "pp.flags |= pp.constants.flagValues.suppressCenter;" + //
                    // Do not autorotate //
                    "pp.flags |= pp.constants.flagValues.suppressRotate;" + //
                    // Disable setPageSize i.e. do not choose paper tray by PDF page size //
                    "pp.flags &= ~pp.constants.flagValues.setPageSize;" + //
                    // Emit the document contents. Document comments are not printed //
                    "pp.printContent = pp.constants.printContents.doc;" + //
                    // printing duplex mode to simplex, duplex long edge, or duplex short edge feed //
                    duplexTypeCommand +
                    // Print pages in the normal order. //
                    "pp.reversePages = false;" + //
                    // Do the actual printing //
                    "this.print(pp);";
    snippets for java code that adds
    package be.post.lpo.util;
    import org.apache.commons.lang.StringUtils;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.pdf.PdfAction;
    import com.lowagie.text.pdf.PdfDestination;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfName;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    public class PdfMergerUtil{
        private static final PdfName DID_PRINT = PdfName.DP;
        private static final PdfName WILL_PRINT = PdfName.WP;
        private List<PdfActionJavaScriptHolder> actionJavaScripts = new ArrayList<PdfActionJavaScriptHolder>();
        private class PdfActionJavaScriptHolder{
            private final PdfName actionType;
            private final String javaScript;
            public PdfActionJavaScriptHolder(PdfName actionType, String javaScript) {
                super();
                this.actionType = actionType;
                this.javaScript = javaScript;
            public PdfName getActionType(){
                return this.actionType;
            public String getJavaScript(){
                return this.javaScript;
        public void writePdfs(OutputStream outputStream, List<InputStream> documents, String documentLevelJavaScript) throws Exception {
            Document document = new Document();
            try {          
              // Create a writer for the outputstream
              PdfWriter writer = PdfWriter.getInstance(document, outputStream);
              document.open();      
              // Create Readers for the pdfs.
              Iterator<PdfReader> iteratorPDFReader = getPdfReaders(documents.iterator());
              writePdfReaders(document, writer, iteratorPDFReader);
              if (StringUtils.isNotBlank(documentLevelJavaScript)){
                  writer.addJavaScript(documentLevelJavaScript);
              addAdditionalActions(writer);
              outputStream.flush();      
            } catch (Exception e) {
                e.printStackTrace();
                throw e;
            } finally {
                if (document.isOpen()){
                    document.close();
                try {
                    if (outputStream != null){
                        outputStream.close();
                } catch (IOException ioe) {
                    ioe.printStackTrace();
                    throw ioe;
        public void addAdditionalDidPrintAction(String javaScript){
            actionJavaScripts.add(new PdfActionJavaScriptHolder(DID_PRINT, javaScript));   
        public void addAdditionalWillPrintAction(String javaScript){
            actionJavaScripts.add(new PdfActionJavaScriptHolder(WILL_PRINT, javaScript));   
        private void writePdfReaders(Document document, PdfWriter writer,
                Iterator<PdfReader> iteratorPDFReader) {
            int pageOfCurrentReaderPDF = 0;      
              // Loop through the PDF files and add to the output.
              while (iteratorPDFReader.hasNext()) {
                PdfReader pdfReader = iteratorPDFReader.next();
                // Create a new page in the target for each source page.
                while (pageOfCurrentReaderPDF < pdfReader.getNumberOfPages()) {
                  document.newPage();
                  pageOfCurrentReaderPDF++;          
                  PdfImportedPage page = writer.getImportedPage(pdfReader, pageOfCurrentReaderPDF);
                  writer.getDirectContent().addTemplate(page, 0, 0);          
                pageOfCurrentReaderPDF = 0;
        private void addAdditionalActions(PdfWriter writer) throws DocumentException{
            if (actionJavaScripts.size() != 0 ){
                PdfAction action = PdfAction.gotoLocalPage(1, new PdfDestination(PdfDestination.FIT), writer);
                writer.setOpenAction(action);
                for (PdfActionJavaScriptHolder pdfAction : actionJavaScripts ){
                    if (StringUtils.isNotBlank(pdfAction.getJavaScript())){
                        action = PdfAction.javaScript(pdfAction.getJavaScript(), writer);
                        writer.setAdditionalAction(pdfAction.getActionType(), action);
        private Iterator<PdfReader> getPdfReaders(Iterator<InputStream> iteratorPDFs) throws IOException {
            List<PdfReader> readers = new ArrayList<PdfReader>();
              while (iteratorPDFs.hasNext()) {
                InputStream pdf = iteratorPDFs.next();
                PdfReader pdfReader = new PdfReader(pdf);
                readers.add(pdfReader);        
            return readers.iterator();
    JSP code
    <script type="text/javascript" src="<bean:message key="scripts.js.internal.jquery" bundle="app"/>"></script>
        <script language="javascript">
        function goToDidPrintUrl(){
            var url = "<%=didPrintUrl%>";
            window.location.assign(url);
        function createMessageHandler() {
            var PDFObject = document.getElementById("myPdf");
            PDFObject.messageHandler = {
                onMessage: function(msg) {
                     if (msg[0] == "WILL_PRINT"){      
                        $("#printingTransitFeedBackMessage").text('<%=willPrintMessage%>');                   
                     if(msg[0] == "DID_PRINT"){
                        $("#printingTransitFeedBackMessage").text('<%=didPrintMessage%>');               
                        setTimeout('goToDidPrintUrl()',4000);
                onError: function(error, msg) {
                    alert(error.message);
        </script>
    </head>
    <body onLoad="createMessageHandler();">
    <div id="printingTransitFeedbackArea">
      <div class="info" id="printingTransitFeedBackMessage"><%=documentOpenMessage%></div>
    </div>
    <object id="myPdf" type="application/pdf" width="100%" height="100%"  data="<%=toBePrintedUrl%>">
    </object>
    </body>

    From the JS API Reference of the print method:
    Non-interactive printing can only be executed during batch, console, and menu
    events.
    Outside of batch, console, and menu events, the values of bUI and of interactive are ignored
    and a print dialog box will always be presented.

  • Does not work after upgrading to IOS6

    After upgrading to iOS6 my home sharing does not work.  I have tried every fix I could find but still it is not working.  Please help

    Did you try to reboot your router? I had the same problem after upgrade to iOS 6 but rebooting the router solved the problem for me. What other fixes did you try?

  • Back Button does not work after upgrade to F4.01, why?

    90% of the time, since my upgrade to Firefox 4.01, my Back Button (arrow) does not work. I know there's a referring page and it hasn't opened a new window. Ideas?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Windows 10 - No sound and mediaplayer does not work after upgrade

    Hi !I can't get the sound to work after upgrade to win 10, - and windows mediaplayer will not openmp3's -- I get video on the VLC - but no sound... If anybody can help me, - please post a direct link to the driver I have toreinstall.. Thanks  CarstenNorway

    Thanks for the answer-  but I mangage to solve the problem my self this time... I just did go to controlpanel - and clicked right button on the mouse - and updated both sound drivers thatI did find in there. After restart of the lap - everything worked ut well.. I am supprized !!  Carsten

  • ITunes WIFI Sync is not working on win7 64 bit OS

    I am having problems using itunes wifi syncup with windows 7 64 bit OS. I connected the cable and enabled the option under summary screen. The "syn now" is enabled now under settings -> General -> itunes wifi sync up. When i un plug the cable from my computer, it is greyout and displays "Sync will resume when XXX computer is available". Its annoying. Push some ideas !!

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue with your purchase to the iTunes Store.
    Regards.

  • Envy x2 auto-rotate does not work, after upgrading to windows 10. And touchpad gestures

    I have installed the latest HP Support Assistant for windows 10  and I have installed the updates  Intel Virtual Button DriverHP System Event Utility Updates failed to install without giving reason: Intel Serial I/O driver Intel Management Engine Interface (MEI) Driver In display settings  I have checked the box of "Allow the screen to auto-rotate"  In Windows Update I have updated with Update for Microsoft Windows (KB3074678)Update for Microsoft Windows (KB3074676)Update for Microsoft Windows (KB3081424)  In Device Manager under Sensors HID Sensor Collection V2, working properlySdo Sensor V2, working properly I have done deleting these devices and reinstalling them  In User Account I have created a new user with password. Auto-rotate did not work in that user    But all these have not worked. Please find a solution for me.   About the TouchPad gesture: swipping inside from the left use to switch app, now does not work.swipping inside from the right use to bring out charm bar/ action centre, now does not work  

    Yes. I found the answer here:http://h30434.www3.hp.com/t5/Notebook-Display-and-Video/HP-Envy-x2-13-j020CA-Windows-10-Auto-Rotate-Autorotate-now/m-p/5212887#M115445I've tried replacing the driver on Sdo Sensor V2 device with the Simple Device Orientation Sensor and rotation works just like it did on 8.1.For the record - Sdo Sensor v2 reports the device orientation continiously, and Simple Device Orientation Sensor reports it only when the orientation changes. Must be a Windows bug then.

  • USB headset does not work after upgrading to Yosemite

    I upgraded MacBook Pro 13" retina  to Yosemite and lost Logitech PC Headset 960 sound.
    System preferences shows it in input and output, but no sound.
    After I plug in and out  headset I loose even internal sound for Spotify.
    When headset is plugged in Youtube videos on Chrome stops playing, when I take them out - video resumes.
    Hardware should be ok, because I have 2 pairs of such headset (both of them are not working) and the same hardware on Windows 7 (bootcamp) do work with headset perfectly.
    Have anyone the same/similar problem. Does anyone has solution? Should I migrate back to Maverick and how to do it?
    Already reset everything what was recommended to reset etc.

    1. System Preferences > Sound> Sound Effects
        Play sound effects through:
        Select Logitech/headphone and then back to "Selected sound output device".
    2.Launch iTunes and play a song through headphone and adjust the volume.

Maybe you are looking for