Applet trying to write print commands to port LPT1

My applet trying to write print commands to port LPT1 and I was able to self sign and run the applet. But I am getting the following type of error:
java.security.AccessControlException: access denied (java.io.FilePermission LPT1 write)
Do I really need a policy file and then grant permission for File writing?
Why self signing is not helping to get the permission for File writing ?
I am using latest jdk1.5 jvm and IE 6.x.
Please clarify.

1. Make sure your applet is run with SUN jre (use the HtmlConverter.exe in the jdk\bin directory)
2. Make sure your signed jar is the one referenced in the html archive tag (did you get the do you trust question)
3. If the method is called from untrusted code (javascript for example) use doprivileged.
4. Some 1.3 versions of the jre only trusts CA signed applets.
If this applet is for everyone (grandma's PC) than signing should be a good way to get the applet
to do what you want.
If it's for a company that has Admin controlled desktops a policy would be better.
I think a good configuration would be a keystore and policy on the company's
Intranet to be used by everyone and if so needed a keystore and policy in the user home
folder to be edited only by admins. Add the 2 keystores to the java.security and the
admins can configure any special privileges to special applets (like IE security zones
but more detailed).
Add the following line to all codebases: "grant { " section in the java.policy/
permission java.lang.RuntimePermission "usePolicy";
Now the user does not have the option of "do you trust" for signed applets. I think this
is a verry good idea because anyone with a jdk can sign their jar.     
http://forum.java.sun.com/thread.jsp?forum=63&thread=409341
4th post explaining how to set up your own policy with your own keystore

Similar Messages

  • HT1338 I'm trying to print a document fro safari and the print command is at the bottom of the page and not visible.  I can't move it up and the print command shortcut doesn't work.  How do I print this document.

    I'm trying to print a document from safari and the print command is at the bottom of the page and I can't move it up.  The print command shortcut doesn't work and I would like to know how I can print this document.

    Why do we have to install 2 add ins for something that should be built in? Please add this to the next version or an update to this one even. We should see the full path of a bookmark when we search for it. Show Parent Folder alone isn't enough if you have sub folders, so I installed Go Parent Folder as well in case of sub folders.

  • I cannot print from Websites or my college online course. Tries to save files to desktop as an .xps document but nothing happens and I get an error message that print command did not work. Have reinstalled firefox and adobe, no help. Any suggestions?

    Cannot print anything from internet using Firefox as browser. Please advise. I have to use Firefox for internet college courses, cannot print my assignments. I do not have this problem on Mac or using Internet Explorer. Only happens when using Firefox. When I select print a message comes up to save information to desktop as .xps file. Select save, sometimes it is on the desktop but I cannot open the file or it simply does not save file and get an error message that print command failed. What is happening?

    {Ctrl + P} and select your printer in the Printer - Name box near the top of that window.
    http://kb.mozillazine.org/Problems_printing_web_pages

  • Access Denied When Trying To Install Printer - Windows 7

    Good Day
    I have a serious problem on a client's computer. All I need to do is connect the laptop to a network printer, but I am having a lot of difficulty in doing so.
    First the details of the laptop: Windows 7 Professional 64-bit connected to network using ETH cable. Avira Professional antivirus running, firewall disabled on pc, user is member of administrators group only.
    Details of the printer: Xerox Workcentre 3220, connect to network using ETH cable, but also shared on pc also running Windows 7 64-bit Professional.
    I am able to ping the printer and have connected all the other pcs on the network to the printer without any troubles whatsoever. Printing, scanning - everything is working fine for the other pcs. I am also able to connect to shares from the laptop to any
    other pc.
    So here is my issue with this specific laptop:
    Firstly, when using the "Add Printer" wizard, the "Add a local printer" option is greyed out.
    So I tried connecting to the printer using the"Add a network, wireless or Bluetooth printer" option, which seemed to be working, but during installation it gives an Access Denied error and undoes the installation.
    Then I tried connecting to the share of the printer on one of the other pcs, which had the exact same result.
    I then tried to modify an other printer, by firstly trying to add a new Local Port, but the I recieve the following error: "Specified port cannot be added. Access is denied."
    I tried then adding the driver using the Windows Print Server, but the buttons were unavailable.
    After reading on many forums, I accessed the Print Management console (Control Panel -> Administrative Tools -> Print Management)m and tried adding the printer and ports there, but recieved an "Access Denied" error every time.
    Basically whatever I tried, I recieved "Access Denied" errors. I created a new user, which is only a member of the Administrators group. Logged in with new user, without any success in connecting to the printer. I then tried adding security permisssions
    for "everyone" to the folder C:\Windows\System32\spool\PRINTERS, as I read on another forum. I tried modifying the group policy using gpedit.msc and also using the Local Security Policy, although I could have missed some things in these two places,
    but basically with a quick glance, everything seemed fine. I am sure there are no virusses, etc on this laptop and as I have said all the other pcs connected to the printer very easily.
    How can it be that I cant install a printer on this laptop, while I was able to do so a year or so back?
    I have gotten a few suggestions that it will in the end just save me time by formatting the pc and reloading all the data and programs, but this isn't an option I really want to take. And then I have previously had issues with the "Add a local printer"
    option greyed out and unable to add printers, etc, but then I was able to solve the problem by creating a new user and then switching to that user - which indicated a possible user profile corruption. But in this case even that did not work.

    Hi,
    please check your below configuration:
    1.Start the policy editor (Control Panel -> Administrative tools -> Local security policy)
    2.Select “Local policy” item
    3.Find the item “Devices: Prevent Users from Installing Printer Drivers” in the section Security Settings -> Security Options and change it to Enabled
    4.Go to “Security Settings -> User Rights Assignment” section and check, that “Load & Unalod Drivers” option contains the active user group. It important, that even if it has “All Staff” already, it still could miss “Administrators” group, so it’s necessary
    to add it manually.
    In addition, this thread could be referred:
    http://social.technet.microsoft.com/Forums/en-US/8c3c3d97-9d85-4ab0-9fc8-4b7aba202fb2/windows-cannot-connect-to-the-printer-access-is-denied-please-help?forum=itprovistaprinting
    Karen Hu
    TechNet Community Support

  • I cannot print any kind of document using the File Print command on the tool bar of any application, but I can print using the printer icon. OS X 6.8 with HP Photosmart printer. Any thoughts?

    When trying to print any kind of document on my wife's Mac Pro, the File>Print Command will not work. She just downloaded an update to Microsoft Office and the problem began after that, but it also applies to other non-Microsoft Applications. However, the print function does work when you use the printer icon in any of the applications.  She has OS X 6.8 and an HP Photosmart printer. Thank you for any thoughts.

    Did your wife also apply the Feb. 2 Security Update 2012-01 v. 1.0 from Apple? That update contains a bug which disables printing and some other functions in applications that were originally written for the PowerPC processor and which require Rosetta to run on Intel Macs. Fortunately, yesterday Apple released v. 1.1 of the update, which resolves the problem. Run Software Update again to install the revised update.

  • [Solved] CUPS: Unable to write print data: Input/output error

    I'm filling this for the benefit of those poor googlers that can reach here.
    Symptoms: After trying to print a "complex" image the printer made too much breaks, and failed.
    The problem is, it then didn't came up. I mean, I restarted the printer, cupsd, the whole system, and nothing.
    I was unable to print again, it showed "Unable to write print data: Input/output error" and refused to print anything.
    I then saw that in /etc/cups I had printers.conf and printers.conf.O files, which differed (other than in StateTime), that printers.conf.O had
    State Idle
    but printers.conf had:
    State Stopped
    StateMessage Unable to write print data: Input/output error
    Reason paused
    Probably due to the ErrorPolicy being stop-printer.
    So seeing I followed the following steps:
    Stop cups
    Replace printers.conf with printers.conf.O (I could also had manually edited it)
    Start cups
    It then went working flawlessly.
    There was probably an option in the web interface combobox for doing that. The problem is that I didn't realise it was stopped, so didn't know how to make it work. Moreover, some posts in the web recommended reinstalling the printer (which would skip the problem by creating a new printer).

    I think that I had this same problem, and fixed it by reinstalling the printer.  Thank you for your post.

  • Sending reports directly to a printer (commands) 10g Linux

    Hi,
    Quick question. I am trying to confirm what I need to pass to Oracle Reports Server in order to print directly to the printer (bypassing any Preview or PDF version of the report in Oracle 10g. I am using Linux. We just installed the printer on the server. I modified to the uiprint.txt file under the ORACLE_HOME/tk/admin to point to the new PPD that we copied for that printer to ORACLE_HOME/guicommon/tk/admin/PPD.
    Below is the report call I am making. I just want to verify that what I did was correct. I am currently receiving a FRM-41214: Unable to run Report. When I run the same report via the PDF option that displays in a separate browser window, it brings the same report up correctly.
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_FILENAME, LOWER(:MODULE.MODULE_NAME)||'.rep');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_SERVER, 'rep_inpp37_gt');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_OTHER, V_OTHER);
    -- V_OTHER is my parameters that I pass, such as PARAMFORM=NO, READONLY=yes, PAGESIZE, ORIENTATION, DELIMITER=NONE, and parameters which in this case there are none.
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESTYPE, PRINTER);
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESNAME, 'gt-ybs-p'); - this is my printer name
    V_REP := RUN_REPORT_OBJECT('GENERICREPORT');
    When it runs the V_REP line, that's when I get the FRM-41214 error. Just was wanting to verify if what I had passed for the printer commands is correct.
    Chris

    I forgot one important piece which is why I am asking the question. I am running the report within an Oracle 10g form. I pass all the parameters across to the Reports Server, as seen above. When I run via the PDF option, I just change the DesType to Cache and DesFormat =PDF. When I run with this, it works and displays the report in a new browser window.
    I just want to run the report with the exact same parameters but instead of generating a PDF, I want to run the report and send it directly to the printer without previewing it.
    Chris

  • Adobe Reader 8.1.2 : can not change Printer Command

    Hello all,
    I encounter the following problem with Acrobat Reader 8.1.2, installed on Debian GNU/Linux, trying to print :
    When I choose a printer (within the list given by a CUPS server) I can not change the Printer Command which prevents me from printing : the default printing options (-o InputSlot -o PageSize ...) are not compliant with my LPRng printing system.
    Note that I was able to do it with 7.0.5 and 8.1.1 versions.
    Would you please help me to resolve this problem ?
    Regards,
    Jean-Noel BOUVIER

    Hello Jean-Noel,
    The print command text box (in the Printer properties dialog) has been made read-only to avoid confusion and discrepancies with the drop-downs available to modify the options.
    If you want a particular print command to be used you could try out the Custom printing option. The command typed there is remembered between different sessions of the Reader.
    Hope this helps.
    Sincerely,
    Neha

  • MS Word, Appleworks, crash on print command

    I just bought an HP laserjet P1006 and downloaded the newest driver for it. Every time that I use the print command in MS Word 2004 and Appleworks, they crash. If I strictly use the print button it will print without a hitch. The problem seems erratic since occasionally it extends to programs that don't have a built in "printer" icon, (i.e.-safari, mail, etc) and they won't print at all. They don't crash like msword 2004, the print job just stops before it prints. When I open the print queue and try to resume the stopped operation, I get the message (operation could not be completed, client-error-not-possible ) This happens whether I'm printing directly through usb or networked to airport. Currently I can still print from mail and safari, but have a problem with Adobe, and of course MS word and Appleworks just crash. I reinstalled msoffice 2004 numerous times, deleted printers and re-added them, reinstalled print driver, to no avail.
    One thing I tried out of curiosity was to create another user account and try printing from there. It work seamlessly from that account which is perplexing. I only tried it once, and it's possible that whatever is corrupted in my account, may also transfer to that account. I'm very confused and would appreciate any help in resolving this issue. I have include the crash log for troubleshooting convenience to those who understand them. =/
    Thanks, Tom
    Here is the crash log:
    Process: Microsoft Word [2805]
    Path: /Applications/Microsoft Office 2004/Microsoft Word
    Identifier: com.microsoft.Word
    Version: 080429 (11.5.0)
    Code Type: PPC (Translated)
    Parent Process: launchd [181]
    Date/Time: 2009-01-21 10:46:29.432 +0300
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x000000006fd8d8a9
    Crashed Thread: 0
    Thread 0 Crashed:
    0 translate 0xb80bcd58 0xb8000000 + 773464
    1 translate 0xb80b7007 0xb8000000 + 749575
    2 translate 0xb80d49c0 0xb8000000 + 870848
    3 translate 0xb813d75f spinlockwrapper + 4259
    Thread 1:
    0 ??? 0x800bc1c6 0 + 2148254150
    1 ??? 0x800c39bc 0 + 2148284860
    2 translate 0xb818b6ea CallPPCFunctionAtAddressInt + 202886
    3 ??? 0x800ed095 0 + 2148454549
    4 ??? 0x800ecf52 0 + 2148454226
    Thread 2:
    0 translate 0xb81529ef spinlockwrapper + 90931
    1 translate 0xb8183633 CallPPCFunctionAtAddressInt + 169935
    2 translate 0xb81861e2 CallPPCFunctionAtAddressInt + 181118
    3 translate 0xb80bdb8b 0xb8000000 + 777099
    4 translate 0xb80b7007 0xb8000000 + 749575
    5 translate 0xb80d49c0 0xb8000000 + 870848
    6 translate 0xb813d75f spinlockwrapper + 4259
    Thread 3:
    0 translate 0xb8152b6b spinlockwrapper + 91311
    1 translate 0xb817b608 CallPPCFunctionAtAddressInt + 137124
    2 translate 0xb80bdb8b 0xb8000000 + 777099
    3 translate 0xb80b7007 0xb8000000 + 749575
    4 translate 0xb80d49c0 0xb8000000 + 870848
    5 translate 0xb813ce79 spinlockwrapper + 1981
    Thread 4:
    0 translate 0xb8152c24 spinlockwrapper + 91496
    1 translate 0xb817b31e CallPPCFunctionAtAddressInt + 136378
    2 translate 0xb80bdb8b 0xb8000000 + 777099
    3 translate 0xb80b7007 0xb8000000 + 749575
    4 translate 0xb80d49c0 0xb8000000 + 870848
    5 translate 0xb813ce79 spinlockwrapper + 1981
    Thread 5:
    0 translate 0xb8152863 spinlockwrapper + 90535
    1 translate 0xb816e79d CallPPCFunctionAtAddressInt + 84281
    2 translate 0xb80bdb8b 0xb8000000 + 777099
    3 translate 0xb80b7007 0xb8000000 + 749575
    4 translate 0xb80d49c0 0xb8000000 + 870848
    5 translate 0xb813ce79 spinlockwrapper + 1981
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00000008 ebx: 0xb80bcd30 ecx: 0x6fd8d8a1 edx: 0x00000006
    edi: 0x6fd8d8a9 esi: 0x80303820 ebp: 0xb7fffa08 esp: 0xb7fff9d0
    ss: 0x0000001f efl: 0x00010206 eip: 0xb80bcd58 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x6fd8d8a9
    Binary Images:
    0xb8000000 - 0xb81d7fe7 translate ??? (???) /usr/libexec/oah/translate
    Translated Code Information:
    Rosetta Version: 21.03
    Args: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp /Applications/Microsoft Office 2004/Microsoft Word
    Exception: EXCBADACCESS (0x0001)
    Thread 0: (0xb019ed38, 0xb8152c24)
    0x00000000: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp : + 0
    0x84381d3c: No symbol
    0x842e296c: No symbol
    0x842e2b04: No symbol
    0x90f1e47c: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _PrivateMPEntryPoint + 80
    0x90f1e47c: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _PrivateMPEntryPoint + 80
    0x94e1d17c: /usr/lib/libSystem.B.dylib : _pthreadbody + 40
    PPC Thread State
    srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x00658af0 ctr: 0x94e1c530
    r00: 0x00000193 r01: 0xf0182c20 r02: 0x00000000 r03: 0x00000012
    r04: 0xf0182d18 r05: 0x00000098 r06: 0x00000000 r07: 0x00000000
    r08: 0x00000000 r09: 0x0020f250 r10: 0x000eb020 r11: 0x006c6124
    r12: 0x94e1c530 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
    r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
    r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
    r24: 0x00000000 r25: 0x00000000 r26: 0x00000000 r27: 0x00000000
    r28: 0x00000000 r29: 0xf0182d18 r30: 0xf0182d04 r31: 0xf0182d04
    Thread 1: (0xb009a83c, 0xb81529ef)
    0x0082fe00: No symbol
    0x006bc204: /Applications/Microsoft Office 2004/Office/ShMem.bundle/Contents/MacOS/ShMem : _MerpUnregisterCFMFragment + 3156
    0x94e1d17c: /usr/lib/libSystem.B.dylib : _pthreadbody + 40
    0x00000000: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp : + 0
    PPC Thread State
    srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x94d93080 ctr: 0x94d8c150
    r00: 0xffffffe1 r01: 0xf0080d60 r02: 0x00000001 r03: 0xf0080e4c
    r04: 0x00000102 r05: 0x00000000 r06: 0x00000054 r07: 0x00003403
    r08: 0x000003e8 r09: 0x00000000 r10: 0x000eb004 r11: 0xa08a3694
    r12: 0x94d8c150 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
    r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
    r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
    r24: 0xf0080e4c r25: 0x00000054 r26: 0x00003403 r27: 0x000003e8
    r28: 0x00000000 r29: 0x00000102 r30: 0x00000102 r31: 0x006c6fb0
    Thread 2: Crashed (0xb7fff9d0, 0xb80bcd58)
    0x00abf800: No symbol
    0x1a333468: /Library/Printers/hp/laserjet/HP1006/HP1006PDE.plugin/Contents/MacOS/HP1006PDE : CUICB::Init(_CDEVMODE*, int) + 728
    0x1a331a1c: /Library/Printers/hp/laserjet/HP1006/HP1006PDE.plugin/Contents/MacOS/HP1006PDE : _DrvEnableUI + 60
    0x1a32d0cc: /Library/Printers/hp/laserjet/HP1006/HP1006PDE.plugin/Contents/MacOS/HP1006PDE : _Terminate + 604
    0x1a32c9a8: /Library/Printers/hp/laserjet/HP1006/HP1006PDE.plugin/Contents/MacOS/HP1006PDE : _Sync + 184
    0x1a32c7b0: /Library/Printers/hp/laserjet/HP1006/HP1006PDE.plugin/Contents/MacOS/HP1006PDE : _Initialize + 144
    0x1a2300d8: No symbol
    0x1a2265e4: No symbol
    0x1a226a2c: No symbol
    0x1a225508: No symbol
    0x1a22409c: No symbol
    0x1a236da0: No symbol
    0x1a23bbb8: No symbol
    0x1a22d930: No symbol
    0x945c1e50: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print : _PMSessionPrintDialogMain + 240
    0x83a189e4: No symbol
    0x84561bbc: No symbol
    0x84560b18: No symbol
    0x8455dc58: No symbol
    0x844d3298: No symbol
    0x844d4260: No symbol
    0x8457a348: No symbol
    0x849e30a0: No symbol
    0x849e2fc8: No symbol
    0x84510dc0: No symbol
    0x84510cc8: No symbol
    0x8449a210: No symbol
    0x84499c44: No symbol
    0x84498fa0: No symbol
    0x839ce834: No symbol
    0x839cebcc: No symbol
    0x83a0961c: No symbol
    0x83a0954c: No symbol
    0x839fda6c: No symbol
    0x841b13c8: No symbol
    0x841b12cc: No symbol
    0x90594cac: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1488
    0x90593e44: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 468
    0x905b0da8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _SendEventToEventTarget + 56
    0x83a08da4: No symbol
    0x83b5f784: No symbol
    0x83b5f3bc: No symbol
    0x83b5ed7c: No symbol
    0x839fda38: No symbol
    0x841b13c8: No symbol
    0x841b12cc: No symbol
    0x90594cac: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1488
    0x90593e44: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 468
    0x905b0da8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _SendEventToEventTarget + 56
    0x905c4230: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1852
    0x90595100: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2596
    0x90593e44: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 468
    0x905b0da8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _SendEventToEventTarget + 56
    0x90694838: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _SendTSMEvent + 196
    0x906d4384: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _SendUnicodeTextAEToUnicodeDoc + 960
    0x90692ec8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _TSMKeyEvent + 1004
    0x905e57a8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _TSMProcessRawKeyEvent + 1928
    0x90743054: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _HandleCompatibilityKeyEvent + 304
    0x905901d0: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : HIApplication::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1640
    0x90594cac: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1488
    0x90593e44: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 468
    0x90593c60: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _SendEventToEventTargetWithOptions + 56
    0x905c4178: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1668
    PPC Thread State
    srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x1a37a6c0 ctr: 0x90f28e00
    r00: 0x6f2ce0a1 r01: 0xbfff9e50 r02: 0x1a333468 r03: 0x00abf800
    r04: 0xb1c1d3a1 r05: 0x00000001 r06: 0x6fd8d8a1 r07: 0x00000086
    r08: 0x00816e00 r09: 0x00816e00 r10: 0x90f08d08 r11: 0x8fc33c48
    r12: 0x90f28e00 r13: 0x1a1b2300 r14: 0x00000000 r15: 0x1a253de8
    r16: 0x1a1d7640 r17: 0x1a2564a4 r18: 0x1a2564a4 r19: 0x1a2564a4
    r20: 0xbfffa124 r21: 0x1a1c5270 r22: 0x1a2564a4 r23: 0x00000000
    r24: 0x1a1c75f0 r25: 0x1a165e30 r26: 0x1a3fa69c r27: 0x1a1e34e0
    r28: 0x00000000 r29: 0x1a1e34e0 r30: 0x00abf800 r31: 0x1a37a69c
    Thread 3: (0xb0220d64, 0xb8152863)
    0x90f32844: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _MPWaitOnSemaphore + 40
    0x842e2ca8: No symbol
    0x90f1e47c: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _PrivateMPEntryPoint + 80
    0x90f1e47c: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _PrivateMPEntryPoint + 80
    0x94e1d17c: /usr/lib/libSystem.B.dylib : _pthreadbody + 40
    0x00000000: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp : + 0
    PPC Thread State
    srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x90f32888 ctr: 0x94d8c1c0
    r00: 0xffffffda r01: 0xf0203d60 r02: 0x1a108600 r03: 0x00007703
    r04: 0x0000003c r05: 0x00000000 r06: 0x00000000 r07: 0xf0203c60
    r08: 0x00000010 r09: 0x000f4240 r10: 0xffffff9f r11: 0xa08a3a80
    r12: 0x94d8c1c0 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
    r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
    r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
    r24: 0x00000000 r25: 0x00000000 r26: 0x00000000 r27: 0x00000000
    r28: 0x00000000 r29: 0x0000ea60 r30: 0x00000000 r31: 0x90f32828
    Thread 4: (0xb011cd64, 0xb8152b6b)
    0x00000000: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp : + 0
    0x00658934: /Applications/Microsoft Office 2004/Office/ShMem.bundle/Contents/MacOS/ShMem : _FWaitForConnection + 48
    0x84381bc4: No symbol
    0x842e2558: No symbol
    0x842e273c: No symbol
    0x90f1e47c: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _PrivateMPEntryPoint + 80
    0x90f1e47c: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _PrivateMPEntryPoint + 80
    0x94e1d17c: /usr/lib/libSystem.B.dylib : _pthreadbody + 40
    PPC Thread State
    srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x94e34788 ctr: 0x94e34774
    r00: 0x00000194 r01: 0xf01019d0 r02: 0x00000000 r03: 0x00000011
    r04: 0xf0101a68 r05: 0xf0101a60 r06: 0xf0101d40 r07: 0x00000004
    r08: 0x00000000 r09: 0x1a10c490 r10: 0x00000000 r11: 0x006c6110
    r12: 0x94e34774 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
    r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
    r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
    r24: 0x00000000 r25: 0x00000000 r26: 0x00000000 r27: 0x00000000
    r28: 0x00000000 r29: 0x00a0b200 r30: 0xf0101b28 r31: 0xf0101b28

    Thank you for your time in addressing this issues.
    I looked into turning off rosetta and some other posts on that thread said you can't do that anymore.???? Something that is working for me so far is just creating another user and giving it admin privileges. Everything prints as it should. Not sure why this works, and I am still holding my breath. Its been working for about 3 days now and no glitches. Still have some files to transfer and hoping it won't bring the dream crashing down. =(
    Thanks, Tom

  • I can't print a Adobe PDF file from the browser. Ignores print command.

    Nothing happens when trying to print PDF from browser. Print box doesn't pop up and does not go to Printer queue.

    None of the above solutions worked for me. I have Firefox 10.0.1 and Adobe Reader 9.5.0, and a pdf file would not print either from the Adobe print button or CTRL-P or the Firefox File, Print command. Firefox Print Preview just shows a blank screen. If I save the pdf file it prints OK from Adobe Reader.

  • "print" command in Mathscript not saving plots in BMP format!

    Hi guys,
    i am trying to create a vi that will automatically generate a pdf report for my project. I found a way to save the report directly as pdf (that is, i "print" my report to a virtual PDF printer (PDFCreator) that saves the file automatically to a specific folder with the date/time as its name. So this was the first step to making the procedure automatic).
    I am stuck in the next level, which is adding to the report not labview's bad-looking graphs, but the plots generated through the Mathscript.
    So, after adding as input "a" my data to the mathscript node, i use the following commands:
    figure
    plot(a)
    print image
    Now, what this sequence does is make a nice plot of my data and then save it as "image.eps" in the default folder.
    However, the eps format is not at all useful to me as i cannot import the plot with the "Append Image To Report.vi". This vi supports only BMP, GIF, WMF, EMF and JPG formats.
    So, i want to save the plot from mathscript as BMP. This is supposedly possible, however i have not been able to find a way. The "print" command help for Labview 2011 Mathscript reads:
    http://zone.ni.com/reference/en-XX/help/373123B-01/lvtextmath/msfunc_print/
    Syntax
    print
    print(a)
    print(file)
    print(a, file)
    Description
    Print the plot window or save it into a file in either BMP or EPS format. If the plot window to save is an image plot or a 3D plot, the file must be in BMP format. For other kinds of plots, both BMP and EPS formats are supported.
    There is no way for me to choose which format i want and it automatically chooses eps. If i use the command
    print image.bmp
    it gives me back an error. So, adding the .bmp ending is not the way to go.
    All in all, it is crucial for me to export the plot in BMP format (so as to import it in the report generation), but i cannot find a way, althouth it is supposed to work.
    Any ideas????
    Thanks
    PS. I run Labview 2011 SP1
    Solved!
    Go to Solution.

    Thanks a lot ttrr!!

  • Trying to write an SQL import script

    Hello All,
    I am trying to write a bulk importer for data for my clients and I am just about there. However I am running into a problem updating records in a second table.
    I want to do all this through the SQL Server for resource purposes.
    The SQL statement will go through the entire temp table (users to be added or updated) and compare it to the main existing table. First it will compare records and determine who are exactly the same (no changes) and then delete those records out of the temp table. Now it will find the records that are in the table (by employee ID), but have changes in their profiles (name, number, etc.).
    This is my problem:
    When I compare the phonenumbers in a separate table, which are connected by a sub_id. Example
    Main Table: (Fields) sub_id, fname, lname, address, groups, subgroups, etc.
    Phonenumbers Table: sub_id, account_id, sub_user_number, active
    Right now, I am performing update statements:
    -- Update sub_user_number
    print('Update sub_user_number');
    print('  -sub_user_number3');
    UPDATE WENS..SUBSCRIPTION
    SET sub_user_number = i.sub_user_number3
      FROM WENS_IMPORT..IMPORT_INSPIRON i INNER JOIN WENS..SUBSCRIPTION s
       ON i.misc1 = s.misc1
      LEFT JOIN WENS..ACCOUNT_USER_GROUPS g
       ON g.sub_id = s.sub_id
      WHERE s.account_id = @account_id
      AND isnull(i.sub_user_number, '') <> isnull(s.sub_user_number, '')
      AND g.group_id IN (@group_id)
    The problem is that if I have three numbers, it updates all three numbers with the same number.
    Ideally what I would like to do is completely delete the numbers and then re-enter them. For example:
    Perform a DELETE of all numbers out of PHONENUMBERS table where maintable.sub_id = temptable.sub_id
    LOOP through numbers found in temptable
    INSERT new number into PHONENUMBERS (sub_id, account_id, active, sub_user_number)
    END LOOP
    Therefore at the end of the loop, we will have entered three numbers (two that were originally in there and one that is new)
    Could someone help me with the SQL syntax that will work in SQL Server Query analyzer?
    Thank you VERY much for anything you all can do.

    LOOP through numbers found in temptable
    I have only skimmed this thread, but I would say do not loop unless it is truly needed.  Databases are designed to work best with "sets" of information. So it is usually more efficient to process a group of records than one record at a time.
    What I usually do with imports is run a series of bulk updates on my #temp table(s) to identify which items are "new" which ones are "changed". When finished I can easily JOIN to the base tables and do a single UPDATE for changed records and INSERT for new records.  Usually a lot more efficient than looping one record at a time.
    I want to do all this through the SQL Server for resource
    purposes.
    BTW: Not to ignore your question, but database questions are usually best answered in a database forum (in your case MS SQL).  Because once you get the information into the #temp table, it is strictly sql from there and any database guru could assist. They do not have to know anything about CF ;-)
    Message was edited by: -==cfSearching==-

  • Adding a print command to a topic

    Strange that they can't use the Print icon or right click and
    print a topic, but our users want a print command in FlashHelp
    topics that they can click to go to the Windows print dialog. I
    inserted the following javascript in the header of the topic
    template. It looks like this in the header with the actual print
    symbol from Wingdings 2 font:
    [Print symbol] Print Topic
    Here's the javascript:
    <a href="javascript:window.print()"style="x-condition:
    Online;"><span style="font-family: 'Wingdings 2',
    serif;font-size: 14pt; x-condition:
    Online;">6</span><span style="font-family: Arial,
    sans-serif; x-condition: Online;">Print Topic</a>
    I found how to do this at
    http://www.htmlgoodies.com/beyond/javascript/article.php/3471121

    You could write an AppleScript and save it as an application then drag the application to the toolbar. This script seems to work:
    tell application "Finder"
      print selection
    end tell

  • Generate PDF and Change printer command

    Hello All,
    Please, I need to generate a PDF file from a spool number, I'm trying to use the function 'CONVERT_ABAPSPOOLJOB_2_PDF', but it isn't working properly.
    Somebody has a example code?
    I need to change the printer button command and change the command of printer menu, for generate a PDF file directly when the user click in printer button or acess printer menu (Ctrl+P)...
    I need to know how to generate this PDF file.
    For example, the user generate the report normaly and after that if it clicks on printer button o select printer command on menu, this report will be converted in a PDF file.
    Somebody could help me please?
    Or somebody has a example code?
    Thank you in advance for your colaboration.
    Fernando Pena.

    Hi,
    More or less like this:
    parameters:spool like sy-spono.
      spool_number = spool.
      DATA:REAL_TYPE     LIKE     SOODK-OBJTP.
      DATA:BUFFER_PDF     LIKE     TLINE OCCURS 0 WITH HEADER LINE.
      CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
        EXPORTING
          rqident              = spool_number
         desired_type         = 'RAW'
        IMPORTING
           REAL_TYPE           = REAL_TYPE
        TABLES
          buffer               = contents_bin
         BUFFER_PDF           = BUFFER_PDF
        EXCEPTIONS
          no_such_job          = 1
          job_contains_no_data = 2
          selection_empty      = 3
          no_permission        = 4
          can_not_access       = 5
          read_error           = 6
          type_no_match        = 7
          others               = 8.
    *clear contents_bin[].
      if sy-subrc <> 0.
        message e105 with 'RSPO_RETURN_SPOOLJOB'.
      endif.
      CALL FUNCTION 'SO_RAW_TO_RTF'
        TABLES
          objcont_old = contents_bin
          objcont_new = contents_bin
        EXCEPTIONS
          others      = 0.
      data:TRANSFER_BIN        TYPE      SX_BOOLEAN."   occurs 0.
      data:CONTENT_BIN         TYPE      SOLIX_TAB."   occurs 0.
      data:OBJHEAD             TYPE      SOLI_TAB.
      data:LEN     TYPE     SO_OBJ_LEN.
      CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
        EXPORTING
          FORMAT_SRC   = 'OTF'
          FORMAT_DST   = 'PDF'
          devtype = 'PRINTER'
        CHANGING
          TRANSFER_BIN = TRANSFER_BIN
          CONTENT_TXT  = contents_bin
          CONTENT_BIN  = contents_hex
          OBJHEAD      = OBJHEAD
          LEN          = len.
    OPEN DATASET filename IN BINARY MODE FOR OUTPUT.
        LOOP AT contents_bin.
          TRANSFER contents_bin TO filename.
        ENDLOOP.
        CLOSE DATASET filename.

  • Indesign CS 3 crahes when using print command

    Hi there,
    I just updated my 2007 iMac to OS X 10.8.5.
    When I started Indesign after installation of the new Mac OS I was required to install another software which workel fine.
    I can open Indesing with no problem, but using the print command willl crash Indesign every time.
    Crash report states:
    Process:   
    Adobe InDesign CS3 [1015]
    Path:      
    /Applications/Adobe InDesign CS3/Adobe InDesign CS3.app/Contents/MacOS/Adobe InDesign CS3
    Identifier:
    com.adobe.InDesign
    Version:   
    5.0.4.682 (5040)
    Code Type: 
    X86 (Native)
    Parent Process:  launchd [141]
    User ID:   
    503
    Date/Time: 
    2015-03-18 11:55:45.934 +0100
    OS Version:
    Mac OS X 10.8.5 (12F2501)
    Report Version:  10
    Interval Since Last Report:    
    7636 sec
    Crashes Since Last Report:     
    2
    Per-App Interval Since Last Report:  137 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                
    A736BA8A-AA99-3544-2286-45D4EC9E3EFA
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    VM Regions Near 0:
    --> __PAGEZERO       
    0000000000000000-0000000000001000 [
    4K] ---/--- SM=NUL  /Applications/Adobe InDesign CS3/Adobe InDesign CS3.app/Contents/MacOS/Adobe InDesign CS3
    __TEXT           
    0000000000001000-0000000000004000 [   12K] r-x/rwx SM=COW  /Applications/Adobe InDesign CS3/Adobe InDesign CS3.app/Contents/MacOS/Adobe InDesign CS3
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    Any idea hoe to fix this?
    Thank's
    Rolf

    CS3 in Lion, Mountain Lion and Mavericks will crash when you print every time.
    Adding or trying to make new print presets or printing will crash indesign CS3 instantly. It doesn’t like how the folders in
    /Library/Printers/ppds/Contents/Resources/en.lproj
    is formatted. There are 5 folders in the Resources folder called en.lproj etc. (i.e. lots of different country folders).
    Move any ppds you have installed to the Resources folder (ie, out of the en.proj folder) and delete all 5 folders. Delete the adpdF8.ppd (important). InDesign will now load print presets and they can be made manually and you will be able to print.
    Be careful though, Acrobat Pro 8, when booted, will run a self heal routine. Because we have removed folders from the ppds folder in /Library, it tries to ‘repair’ this. Don’t repair as it will put the folders back into the ppds folder and indeign will crash again and you'll go round in a big circle. Instead, if you need to run Acrobat 8, we need to go into the acrobat app package and make its self heal routine see what we want it to see.
    Go to your acrobat pro 8 app and show package contents. navigate to:
    Contents - MacoS - SelfHealFiles - adobepdFprinter - ppds - Contents - Resources
    take the adpdF8.ppd out of the en.lpoj folder and put it loose in the Resources folder. delete the five folders en.lpoj etc.What we’re doing here is making these folders look the same as our /Library/printers/ppds/Contents/Resources/ path.
    When you now boot acrobat pro 8, it will still do its check but what it is looking for will match what is already there.You can now use all your CS3 apps in Lion, Mountain Lion and Mavericks.

Maybe you are looking for

  • Monthly Balancesheet in Crystal Report

    Hi All, I have created one report in BEx Designer for monthly balancesheet.for that i have created one structure in ROW in Bex Designer. in column i am showing balance . i have moved Fiscal Period in Column so it shows me the balance sheet for each a

  • HTML Article with YouTube iframe gets an error

    I am coding the articles in the folio using HTML and CSS. When I upload the article to the folio producer I receive an error that the article is "Missing or unable to load layout." When I try and download the folio using the Adobe Viewer app I receiv

  • Connecting iPod with 5000 songs to Mac

    I have a 4th generation iPod with about 2000 songs on my iMac G4 computer running Mac OS X (10.4.7) and iTunes 7.01. I have recently been given an iPod 5th generation with color screen with about 5000 songs. I also have the installation disc. This la

  • AWM right agreegation operator

    Hi, Can any one help me with this. I am trying to get number users i.e COUNT(users) with different attributes, but when I use sum, it either adds up value of USER_NUMBER or the value of PROPERTY_ID of attributes. Which is wrong. i.e. if there are 3 u

  • Side effects in SAP BW after support package upload

    Hello! I would like to ask whether do You know any side effects executed by installing of a support package (18 and 19)  in SAP BW 3.5.  If so, should any preventive steps be taken before, to avoid those errors. Many thanks RW