Image.getWidth(ImageObserver obs) returns -1

hello everyone i have used following code to load an image
URL location=Sprite.class.getClassLoader().getResource(path);
    img=Toolkit.getDefaultToolkit().getImage(location);and this code to draw an image:
g2d.drawImage(img, x, y, this);now i need to know the width and height of image for detecting collision.
getWidth() and getHeight() returns -1.
System.out.println(img.getWidth(this));my images are getting displayed in the frame.but when i try to access width and height of an image then it returns -1 which means width and height of image is not known yet.
help !!
thanks.

sorry.
This problem is in my game code.Since the code is very long so i am giving a small code reflecting my problem
import java.awt.Image;
import java.awt.Toolkit;
import java.net.URL;
import javax.swing.*;
import java.awt.Graphics;
public class Sprite extends JPanel
private JFrame frame;
private Image img;
public Sprite()
frame=new JFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(500,400);
frame.getContentPane().add(this);
frame.setVisible(true);
URL location=Sprite.class.getClassLoader().getResource("small.jpg");
img=Toolkit.getDefaultToolkit().getImage(location);
this.repaint();
System.out.println(img.getWidth(null));
public void paintComponent(Graphics g)
g.drawImage(img,150,150,this);
public static void main(String[] args)
new Sprite();
}So i want the width and height of an image.But when i try to get it, it just returns -1 which means width and height is not known yet, according to java doc.
if i use img=new ImageIcon("small.jpg").getImage() to load an image and if i access the width and height of an image using img.getWidth(ImageObserver obs) then i get correct value of width and height.
i want to use above code that i provided to load an image.So pls help me out.Why it is returning -1 ?.
Edited by: JGarage on Dec 6, 2008 7:59 AM
Edited by: JGarage on Dec 6, 2008 8:00 AM

Similar Messages

  • Image.getWidth(null) and image..getHeight(null)  returns -1

    Hi ,
    Plz tell me whats wrong with code
    import java.awt.Image;
    import java.awt.Toolkit;
    public class ImgSize {
        public static void main(String args[]) {
            Image image = Toolkit.getDefaultToolkit().getImage("Picture.jpg");
            double width = image.getWidth(null);
            double height = image.getHeight(null);
            System.out.println("width :" + width + "-- height :" + height);
            getImageDimesion("Picture.jpg");
        public static void getImageDimesion(String abc) {
            Image image = Toolkit.getDefaultToolkit().getImage(abc);
            double width = image.getWidth(null);
            double height = image.getHeight(null);
            System.out.println("width :" + width + "-- height :" + height);
    }output:
    width :-1.0-- height :-1.0
    width :2592.0-- height :1944.0
    There is no difference in main function getWidth/ getHeight and function getImageDimension getWidth/ getHeight
    If u remove getWidth and getHeigth in the main function i.e comment the 1st four lines in main function then the output is
    Output
    width :-1.0-- height :-1.0
    Plz help in understanding this.
    Thanks
    Venkat

    Toolkit images are not loaded until they are first drawn or you request a property from it (such as getWidth). To force the image to load and wait for it to finish loading, you can use the MediaTracker class. The ImageIcon class has one built in.
    Image image = Toolkit.getDefaultToolkit().getImage("Picture.jpg");
    new ImageIcon(image); //loads the image

  • Java.awt.Image getWidth() and getHeight() not working!

    Right- this is want I want to do.
    I have a background image which is added as a background image to a third party API class which extends Java.awt.Container. Such container is then added to the Content Pane of MyClass (which extends JFrame)
    I want to read the width and height of the image and resize MyClass accordingly.
    Problem is calling theImage.getWidth(MyClass.this) or theImage.getWidth(theThirdPartyAPIContainer) always return -1 and -1 denoting that no information is available.
    What do I need to do to obtain the height and width?

    Post here, cos don't know your email.
    Anyway
    - Can't use setPreferredSize because the Conatiner which is added to the ContentPane is a Awt Component not a Swing JComponent!
    - Also, the background is added AFTER the this.pack()and this.show().
    -I figured out that I could access Insets.top, Insets.left, Insets.right, Insets.bottom.
    I have basically the following
    |JMenuBar |
    L____________________________________________|
    | |
    | |
    | |
    | Third Party Class extending java.awt.Container |
    | containing an image of known size |
    | |
    L____________________________________________|
    I am fine for the width I do
    Insets frameInsets = this.getInsets();
    width = image.getWidth() + frameInsets.left + frameInsets.right;
    Height is the problem
    After some Trial an error it LOOKS on Solaris as if the following is right-
    height = image.getHeight()+frameInsets.top+ myJMenuBar.getSize()+getHeight+ myJMenuBar.getInsets().top + myJMenuBar.getInsets().bottom
    I cannot comprehend whether this is just a coincidence or not as I don't know why frameInsets.bottom should in any case be excluded.
    Here are the dimensions-
    frameInsets.left = 6
    frameInsets.right= 6
    frameInsets.top =28
    frameInsets.bottom = 6
    JMenuBar height = 23
    JMenuBar's Insets.top = 1
    JMenuBar's Insets.bottom = 1
    What should be the 'correct' calculations and does the Insets for the JMenuBar and the JFrame overlaps?

  • Problems with Image.getWidth()

    I need to have the dimensions (width and height) of an image available, though the image will never be displayed. I have tried using the image.getWidth(this) function outside of the JPanel's paint() method, but to no avail. Actually, only within the paint method was I able to retrieve the information that I needed. So, my question is: how can I gain this information about an image without it being drawn to the screen?
    I had heard that an image, though retrieved and registered into a MediaTracker, is not really "loaded" until it is used or displayed. Is this true?

    Yes, I have been experimenting with the ImageObserver.ImageUpdate() method, but I am a bit unfamiliar with it. Do you know of a decent reference? I am new to Java and the introductory books I have only glean over the topic. I assume I am to be concerned with the ALLBITS flag parameter of the imageObserver method?

  • I am trying to batch convert cr2 to jpg. in bridge i go tools ps image processor and it returns a message "Image Processor.jsx could not be found." I updated cc to no avail. i am on mac 10.7.5

    I am trying to batch convert cr2 to jpg. in bridge i go tools>ps>image processor and it returns a message "Image Processor.jsx could not be found." I updated cc to no avail. i am on mac 10.7.5

    I go to file scripts but there is no option there for Image Processor

  • Mount CD/Image failed: mount command returned 0xc059

    Hi
    When i try to open a ISO Image or insert a DVD, then sometimes the error "no mountable filesystems" occour.
    This happens not with every CD/DVD but always with the same.
    I think only when the disk has both a windows/iso9600 and a mac/hfs filesystem.
    Also this happens on my iMac27 AND MacBookPro15 (both upgraded from 10.6 to 10.7) but NOT on my new iMac27 (native 10.7)
    I tried to mount it manually with "sudo hdiutil attach -verbose -debug /dev/disk1" and get some debug info.
    On the failing machines i see the entry: mount command returned 0xc059 ... and
    on the working machine there is: mount command returned 0x0
    Maybe there went something wrong with the upgrade?
    Is there a way to fix it without re-installing 10.7 and loosing all settings/programs?
    Thank you,
    matthias
    DEBUG OUTPUT:
    calling DIHLDiskImageAttach with
    image-options:
    debug: true
    quiet: false
    drive-options:
    main-url: file://localhost/dev/disk1
    verbose: true
    agent: hdiutil
    2011-10-24 17:32:53.225 hdiutil[329:d07] DIHLDiskImageAttach: input dictionary {
        agent = hdiutil;
        debug = 1;
        "drive-options" =     {
        "image-options" =     {
        "main-url" = "file://localhost/dev/disk1";
        quiet = 0;
        verbose = 1;
    2011-10-24 17:32:53.227 hdiutil[329:d07] DIHLDiskImageAttach: disabling legacy image format attach
    2011-10-24 17:32:53.227 hdiutil[329:d07] DIHLDiskImageAttach: newImagekeys = {
        "legacy-disabled" = 1;
    2011-10-24 17:32:53.228 hdiutil[329:d07] DIHLDiskImageAttach: creating DIHelperProxy
    2011-10-24 17:32:53.228 hdiutil[329:d07] with dictionary: {
        agent = hdiutil;
        debug = 1;
        "drive-options" = <62706c69 73743030 d0080000 00000000 01010000 00000000 00010000 00000000 00000000 00000000 0009>;
        "image-options" = <62706c69 73743030 d101025f 100f6c65 67616379 2d646973 61626c65 6409080b 1d000000 00000001 01000000 00000000 03000000 00000000 00000000 00000000 1e>;
        "main-url" = "file://localhost/dev/disk1";
        operation = DIHelperAttach;
        quiet = 0;
        verbose = 1;
    2011-10-24 17:32:53.229 hdiutil[329:d07] [DIHelperProxy alloc]
    2011-10-24 17:32:53.229 hdiutil[329:d07] [DIHelperProxy alloc] returning self 0x102f35de0, retainCount 1
    2011-10-24 17:32:53.230 hdiutil[329:d07] DIHLDiskImageAttach: running DIHelperProxy
    2011-10-24 17:32:53.230 hdiutil[329:d07] [DIHelperProxy performOperationReturning] entry
    2011-10-24 17:32:53.231 hdiutil[329:d07] [DIHelperProxy performOperationReturning] detaching thread
    2011-10-24 17:32:53.231 hdiutil[329:2803] [DIHelperProxy workerThread] entry
    2011-10-24 17:32:53.232 hdiutil[329:2803] [DIHelperProxy workerThread] setting up server
    2011-10-24 17:32:53.232 hdiutil[329:2803] [DIHelperProxy threadSetupServer] entry
    2011-10-24 17:32:53.233 hdiutil[329:2803] [DIHelperProxy threadSetupServer] setting up _headerConnection
    2011-10-24 17:32:53.234 hdiutil[329:2803] [DIHelperProxy threadSetupServer] setting up _headerConnection rootObject
    2011-10-24 17:32:53.234 hdiutil[329:2803] [DIHelperProxy threadSetupServer] adding NSConnectionDidInitializeNotification notification
    2011-10-24 17:32:53.235 hdiutil[329:2803] [DIHelperProxy threadSetupServer] exiting
    2011-10-24 17:32:53.235 hdiutil[329:2803] [DIHelperProxy workerThread] launching
    2011-10-24 17:32:53.236 hdiutil[329:2803] [DIHelperProxy threadLaunchToolAuthenticated] entry
    2011-10-24 17:32:53.237 hdiutil[329:2803] launching helper tool at "/System/Library/PrivateFrameworks/DiskImages.framework/Resources/diskimages-he lper".
    2011-10-24 17:32:53.238 hdiutil[329:2803] [DIHelperProxy threadLaunchToolAuthenticated] adding NSTaskDidTerminateNotification notification
    2011-10-24 17:32:53.239 hdiutil[329:2803] [DIHelperProxy thread LaunchToolAuthenticated] launching
    2011-10-24 17:32:53.240 hdiutil[329:2803] [DIHelperProxy threadLaunchToolAuthenticated] exiting
    2011-10-24 17:32:53.241 hdiutil[329:2803] [DIHelperProxy workerThread] running runloop
    2011-10-24 17:32:53.265 hdiutil[329:2803] [DIHelperProxy helperConnectionInitialized] entry
    2011-10-24 17:32:53.266 hdiutil[329:2803] [DIHelperProxy helperConnectionInitialized] adding new NSConnectionDidDieNotification notification
    2011-10-24 17:32:53.266 hdiutil[329:2803] [DIHelperProxy helperConnectionInitialized] removing old NSConnectionDidDieNotification notification
    2011-10-24 17:32:53.267 hdiutil[329:2803] [DIHelperProxy helperConnectionInitialized] removing old connection rootObject
    2011-10-24 17:32:53.267 hdiutil[329:2803] [DIHelperProxy helperConnectionInitialized] invalidating old connection
    2011-10-24 17:32:53.268 hdiutil[329:2803] [DIHelperProxy helperConnectionInitialized] releasing old connection
    2011-10-24 17:32:53.268 hdiutil[329:2803] [DIHelperProxy helperConnectionInitialized] and replacing with new connection
    2011-10-24 17:32:53.269 hdiutil[329:2803] [DIHelperProxy helperConnectionInitialized] exit
    2011-10-24 17:32:53.271 hdiutil[329:2803] [DIHelperProxy connectToFramework] entry, helper 0x7fd00290ab40
    2011-10-24 17:32:53.271 hdiutil[329:2803] [DIHelperProxy connectToFramework] exit
    2011-10-24 17:32:53.372 hdiutil[329:2803] [DIHelperProxy sendOperationToHelper] entry
    2011-10-24 17:32:53.373 hdiutil[329:2803] [DIHelperProxy sendOperationToHelper] starting operation with helper
    2011-10-24 17:32:53.378 hdiutil[329:2803] [DIHelperProxy sendOperationToHelper] exit
    2011-10-24 17:32:53.384 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] entry
    status proc called: initialize
    Initialisieren …
    myStatusProc: returning 0
    2011-10-24 17:32:53.385 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] exit
    2011-10-24 17:32:53.387 diskimages-helper[331:2503] updateImageAndDriveDictionaries: before update _imageOptions: {
        "enable-keychain" = 1;
    2011-10-24 17:32:53.388 diskimages-helper[331:2503] updateImageAndDriveDictionaries: _imageOptions: {
        "enable-keychain" = 1;
        "legacy-disabled" = 1;
    2011-10-24 17:32:53.388 diskimages-helper[331:2503] _driveOptions: {
        autodiskmount = 1;
        "unmount-timeout" = 0;
    2011-10-24 17:32:53.388 diskimages-helper[331:2503] DIHelperAttach: performOperation: initializing framework
    2011-10-24 17:32:53.388 diskimages-helper[331:2503] {
        agent = hdiutil;
        "auto-fsck-failure-override-type" = callback;
        "auto-open-ro-root" = 0;
        "auto-open-rw-root" = 0;
        "auto-stretch" = 0;
        "bundlebs-checkpointing" = 0;
        "bundlebs-localcloseonflush" = 0;
        "bundlebs-localcloseonidle" = 0;
        "bundlebs-localcloseonsleep" = 0;
        "bundlebs-localfdcount" = 6;
        "bundlebs-remotecloseonflush" = 0;
        "bundlebs-remotecloseonidle" = 0;
        "bundlebs-remotecloseonsleep" = 0;
        "bundlebs-remotefdcount" = 3;
        "burn-apple-supported-devices-only" = 0;
        "burn-no-underrun-protection" = 0;
        "burn-synthesize-content" = 1;
        "bzip2-level" = 0;
        "callback-with-sla" = 1;
        debug = 1;
        "disable-encrypted-images" = 0;
        "disable-kernel-mounting" = 1;
        "disable-owners" = 0;
        "drive-options" = <62706c69 73743030 d0080000 00000000 01010000 00000000 00010000 00000000 00000000 00000000 0009>;
        "enable-owners" = 0;
        "filevault-default-case-sensitive-file-system" = "Case-sensitive Journaled HFS+";
        "filevault-default-encryption-type" = "AES-128";
        "filevault-default-file-system" = "Journaled HFS+";
        "filevault-default-image-type" = SPARSEBUNDLE;
        "filevault-default-partition-type" = SPUD;
        "filevault-default-volume-name" = FileVault;
        "force-idme" = 0;
        "hfsplus-stretch-parameters" =     {
            "hfsplus-stretch-allocation-block-size" = 4096;
            "hfsplus-stretch-allocation-file-size" = 8388608;
            "hfsplus-stretch-threshold" = 524288;
        "idle-timeout" = 15;
        "ifd-format" = UDZO;
        "ifd-ignore-io-errors" = 1;
        "ifd-segment-size" = 0;
        "iff-format" = UDZO;
        "iff-fs" = "HFS+";
        "iff-layout" = SPUD;
        "iff-source-owners" = auto;
        "iff-spotlight-indexing" = 0;
        "iff-temp-sparse-band-size" = 20480;
        "iff-temp-use-rw-if-possible" = 1;
        "iff-usehelper" = 1;
        "ignore-bad-checksums" = 0;
        "image-options" = <62706c69 73743030 d101025f 100f6c65 67616379 2d646973 61626c65 6409080b 1d000000 00000001 01000000 00000000 03000000 00000000 00000000 00000000 1e>;
        "main-url" = "file://localhost/dev/disk1";
        "mount-attempted" = 1;
        "mount-point" = "/Volumes/";
        "mount-private" = 0;
        "mount-required" = 1;
        "mount-type" = in;
        "nbi-spotlight-indexing" = 0;
        operation = DIHelperAttach;
        "progress-delay" = 5;
        "pthread-reader-cap" = 4;
        quiet = 0;
        "reauthenticate-upon-wake" = 1;
        "skip-auto-fsck-for-system-images" = 1;
        "skip-idme" = 1;
        "skip-idme-reveal" = 0;
        "skip-idme-trash" = 0;
        "skip-previously-verified" = 1;
        "skip-sla" = 0;
        "skip-verify" = 0;
        "skip-verify-locked" = 0;
        "skip-verify-remote" = 1;
        "sparsebundle-compactonidle" = 0;
        "suppress-uiagent" = 1;
        "unmount-timeout" = 0;
        "use-compressed-xml" = 0;
        "use-keychain" = 1;
        verbose = 1;
        "zlib-level" = 1;
    DILoadDriver: checking for disk image driver
    DILoadDriver: DI_kextExists() returned 0x00000000 (0)
    DIIsInitialized: returning NO
    2011-10-24 17:32:53.393 diskimages-helper[331:2503] -checkForPreviouslyAttachedImage: entry
    2011-10-24 17:32:53.393 diskimages-helper[331:2503] imageURL file://localhost/dev/disk1
    2011-10-24 17:32:53.393 diskimages-helper[331:2503] shadowURL (null)
    2011-10-24 17:32:53.393 diskimages-helper[331:2503] sectionStart (null) sectionLength (null)
    2011-10-24 17:32:53.393 diskimages-helper[331:2503] checkForPreviouslyAttachedImage: setting legacy-disabled to 1
    DIIsInitialized: returning YES
    DIBackingStoreNewWithCFURL: entry with
    file://localhost/dev/disk1
    skip-permissions-check: true
    legacy-disabled: true
    DIBackingStoreInstantiatorProbe: entry
    file://localhost/dev/disk1
    skip-permissions-check: true
    legacy-disabled: true
    DIBackingStoreInstantiatorProbe: probing interface 0 CBSDBackingStore
    CBSDBackingStore::newProbe score 100 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 1 CBundleBackingStore
    CBundleBackingStore::newProbe score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 2 CRAMBackingStore
    CRAMBackingStore::probe: scheme "file": not ram: or ramdisk: scheme.
    CRAMBackingStore::probe: score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 3 CCarbonBackingStore
    CCarbonBackingStore::newProbe: setting initial rval to +100
    CCarbonBackingStore::newProbe: cannot get FSRef, rval=-1000
    CCarbonBackingStore::newProbe FSPathMakeRef() failed.  -36.
    CCarbonBackingStore::newProbe score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 4 CDevBackingStore
    CDevBackingStore::newProbe score 900 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  4, score      900, CDevBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 5 CCURLBackingStore
    CCURLBackingStore::probe: scheme is: file
    CCURLBackingStore::probe: not recognized URL scheme.
    CCURLBackingStore::probe: score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 6 CVectoredBackingStore
    CVectoredBackingStore::newProbe not "vectored" scheme.
    CVectoredBackingStore::newProbe score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
    DIBackingStoreInstantiatorProbe: selecting CDevBackingStore
    DIBackingStoreNewWithCFURL: CDevBackingStore
    CDevBackingStore::setURL_Permissions_and_OpenFile: url, path, extension, device inode are set
    CDevBackingStore::setPermission: entry with request 0
    CBSDBackingStore::setPermission: opening /dev/rdisk1
    CBSDBackingStore::OpenLockFriendly: mapping flags 0x00000002 -> 0x00000026 (locks are MANDATORY)
    CBSDBackingStore:OpenLockFriendly: could not open with lock 13
    CBSDBackingStore::OpenLockFriendly: mapping flags 0x00000000 -> 0x00000014 (locks are MANDATORY)
    CBSDBackingStore::OpenLockFriendly: setting F_SETBACKINGSTORE
    CBSDBackingStore::OpenLockFriendly: F_SETBACKINGSTORE retured errno = 22
    (RO lock acquired)
    CBSDBackingStore::setPermission: kDI_PERM_READONLY granted.
    CDevBackingStore::setPermission: CBSDBackingStore granted kDI_PERM_READONLY.
    CDevBackingStore::setURL_Permissions_and_OpenFile: permission granted kDI_PERM_READONLY.
    CDevBackingStore::setURL_Permissions_and_OpenFile: dev is open
    CDevBackingStore::_grabDeviceInfo: got block size
    CDevBackingStore::_grabDeviceInfo: got max read transfer
    CDevBackingStore::_grabDeviceInfo: got max write transfer
    CDevBackingStore::_grabDeviceInfo: got block count
    CDevBackingStore device size is 0x0000000070098000 (1879670784) bytes
    CDevBackingStore block size is 0x00000800 (2048) bytes
    CDevBackingStore device size is 0x000E0130 (917808) blocks
    CDevBackingStore max read transfer size is 0x0000FFFF (65535) blocks
    CDevBackingStore max write transfer size is 0x0000FFFF (65535) blocks
    DIBackingStoreNewWithCFURL: instantiator returned 0
    DIBackingStoreNewWithCFURL: returning 0
    2011-10-24 17:32:53.395 diskimages-helper[331:2503] -checkForPreviouslyAttachedImage: resolving file://localhost/dev/disk1 returned 0
    2011-10-24 17:32:53.396 diskimages-helper[331:2503] -checkForPreviouslyAttachedImage: imageUID (
        "d201430344:i613"
    ) shadowUID (null)
    2011-10-24 17:32:53.397 diskimages-helper[331:2503] DIHelperAttach: performOperation: resolving disk image
    DIIsInitialized: returning YES
    DIIsInitialized: returning YES
    DIBackingStoreNewWithCFURL: entry with
    file://localhost/dev/disk1
    image-path: /dev/disk1
    enable-keychain: true
    legacy-disabled: true
    DIBackingStoreInstantiatorProbe: entry
    file://localhost/dev/disk1
    image-path: /dev/disk1
    enable-keychain: true
    legacy-disabled: true
    DIBackingStoreInstantiatorProbe: probing interface 0 CBSDBackingStore
    CBSDBackingStore::newProbe score 100 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 1 CBundleBackingStore
    CBundleBackingStore::newProbe score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 2 CRAMBackingStore
    CRAMBackingStore::probe: scheme "file": not ram: or ramdisk: scheme.
    CRAMBackingStore::probe: score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 3 CCarbonBackingStore
    CCarbonBackingStore::newProbe: setting initial rval to +100
    CCarbonBackingStore::newProbe: cannot get FSRef, rval=-1000
    CCarbonBackingStore::newProbe FSPathMakeRef() failed.  -36.
    CCarbonBackingStore::newProbe score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 4 CDevBackingStore
    CDevBackingStore::newProbe score 900 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  4, score      900, CDevBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 5 CCURLBackingStore
    CCURLBackingStore::probe: scheme is: file
    CCURLBackingStore::probe: not recognized URL scheme.
    CCURLBackingStore::probe: score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
    DIBackingStoreInstantiatorProbe: probing interface 6 CVectoredBackingStore
    CVectoredBackingStore::newProbe not "vectored" scheme.
    CVectoredBackingStore::newProbe score -1000 for file://localhost/dev/disk1
    DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
    DIBackingStoreInstantiatorProbe: selecting CDevBackingStore
    DIBackingStoreNewWithCFURL: CDevBackingStore
    CDevBackingStore::setURL_Permissions_and_OpenFile: url, path, extension, device inode are set
    CDevBackingStore::setPermission: entry with request 0
    CBSDBackingStore::setPermission: opening /dev/rdisk1
    CBSDBackingStore::OpenLockFriendly: mapping flags 0x00000002 -> 0x00000026 (locks are MANDATORY)
    CBSDBackingStore:OpenLockFriendly: could not open with lock 13
    CBSDBackingStore::OpenLockFriendly: mapping flags 0x00000000 -> 0x00000014 (locks are MANDATORY)
    CBSDBackingStore::OpenLockFriendly: setting F_SETBACKINGSTORE
    CBSDBackingStore::OpenLockFriendly: F_SETBACKINGSTORE retured errno = 22
    (RO lock acquired)
    CBSDBackingStore::setPermission: kDI_PERM_READONLY granted.
    CDevBackingStore::setPermission: CBSDBackingStore granted kDI_PERM_READONLY.
    CDevBackingStore::setURL_Permissions_and_OpenFile: permission granted kDI_PERM_READONLY.
    CDevBackingStore::setURL_Permissions_and_OpenFile: dev is open
    CDevBackingStore::_grabDeviceInfo: got block size
    CDevBackingStore::_grabDeviceInfo: got max read transfer
    CDevBackingStore::_grabDeviceInfo: got max write transfer
    CDevBackingStore::_grabDeviceInfo: got block count
    CDevBackingStore device size is 0x0000000070098000 (1879670784) bytes
    CDevBackingStore block size is 0x00000800 (2048) bytes
    CDevBackingStore device size is 0x000E0130 (917808) blocks
    CDevBackingStore max read transfer size is 0x0000FFFF (65535) blocks
    CDevBackingStore max write transfer size is 0x0000FFFF (65535) blocks
    DIBackingStoreNewWithCFURL: instantiator returned 0
    DIBackingStoreNewWithCFURL: returning 0
    DIResolveURLToBackingStore: processing level 1 encodings.
    DIFileEncodingNewWithBackingStore: entry for encoding level 1
    DIFileEncodingInstantiatorProbe: entry for level 1
    image-path: /dev/disk1
    enable-keychain: true
    legacy-disabled: true
    DIFileEncodingInstantiatorProbe: probing level 1 interface 0 CMacBinaryEncoding
    00000000: 4552 0200 0038 048c 0001 0001 0000 0000   | ER...8.......... |
    00000010: 0000 0000 0000 0000 0000 0000 0000 0000   | ................ |
    (repeated 6 times)
    diskimages-helper: fileNameLength          $00000052
    diskimages-helper: resourceForkLength      $00000000
    diskimages-helper: dataForkLength          $00000000
    diskimages-helper: commentLength           $00000000
    diskimages-helper: MacBinary III signature        (0x00000000)
    diskimages-helper: header CRC              $00000000
    diskimages-helper: minimum decoder version $00000000
    diskimages-helper: encoder version         $00000000
    no MacBinary III signature - checking for MacBinary I or IIDIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
    DIFileEncodingInstantiatorProbe: probing level 1 interface 1 CAppleSingleEncoding
    00000000: 0002 5245 8c04 3800 0001 0001 0000 0000   | ..RE..8......... |
    00000010: 0000 0000 0000 0000 0000 0000 0000 0000   | ................ |
    00000020: 0000 0000 0000 .... .... .... .... ....   | ................ |
    CAppleSingleEncoding::isAppleSingleFile loadAppleSingleHeader failed with error 22
    DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
    DIFileEncodingInstantiatorProbe: probing level 1 interface 2 CEncryptedEncoding
    CEncryptedEncoding::copyHeaderInformation: inBackingStore->openDataFork returned 0
    CEncryptedEncoding::copyHeaderInformation: inBackingStore->getDataForkLength (stub header) returned 0
    CEncryptedEncoding::copyHeaderInformation: backingStore data fork length is 1879670784
    CEncryptedEncoding::copyHeaderInformation: reading V1 header from offset 1879669508
    CEncryptedEncoding::copyHeaderInformation: inBackingStore->readDataFork (stub header) returned 0
    CEncryptedEncoding::copyHeaderInformation: not recognized as v1 header
    CEncryptedEncoding::copyHeaderInformation: reading V2 header from offset 0
    CEncryptedEncoding::copyHeaderInformation: inBackingStore->readDataFork (stub header) returned 0
    CEncryptedEncoding::copyHeaderInformation: not recognized as v2 header
    (null)
    DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIFileEncodingNewWithBackingStore: probe fails to find appropriate CFileEncoding class.
    DIFileEncodingNewWithBackingStore: returning 109
    DIResolveURLToBackingStore: level 1 encoding match failed. 109.
    (continuing)
    DIResolveURLToBackingStore: processing level 2 encodings.
    DIFileEncodingNewWithBackingStore: entry for encoding level 2
    DIFileEncodingInstantiatorProbe: entry for level 2
    image-path: /dev/disk1
    enable-keychain: true
    legacy-disabled: true
    DIFileEncodingInstantiatorProbe: probing level 2 interface 0 CUDIFEncoding
    CUDIFEncoding::newProbe: failing because backing store is not UDIF file
    DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CUDIFEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIFileEncodingNewWithBackingStore: probe fails to find appropriate CFileEncoding class.
    DIFileEncodingNewWithBackingStore: returning 109
    DIResolveURLToBackingStore: level 2 encoding match failed. 109.
    (continuing)
    DIResolveURLToBackingStore: processing level 3 encodings.
    DIFileEncodingNewWithBackingStore: entry for encoding level 3
    DIFileEncodingInstantiatorProbe: entry for level 3
    image-path: /dev/disk1
    enable-keychain: true
    legacy-disabled: true
    DIFileEncodingInstantiatorProbe: probing level 3 interface 0 CSegmentedNDIFEncoding
    checkTypeCreator:     /   
    checkTypeCreator: returning     , score 0
    CSegmentedNDIFEncoding::isSegmentedNDIFFile checkTypeCreator failed
    DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CSegmentedNDIFEncoding
    DIFileEncodingInstantiatorProbe: probing level 3 interface 1 CSegmentedUDIFEncoding
    CSegmentedUDIFEncoding::isSegmentedUDIFFile backing store is not of type CUDIFEncoding
    DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CSegmentedUDIFEncoding
    DIFileEncodingInstantiatorProbe: probing level 3 interface 2 CSegmentedUDIFRawEncoding
    DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CSegmentedUDIFRawEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIFileEncodingNewWithBackingStore: probe fails to find appropriate CFileEncoding class.
    DIFileEncodingNewWithBackingStore: returning 109
    DIResolveURLToBackingStore: level 3 encoding match failed. 109.
    (continuing)
    DIIsInitialized: returning YES
    DIDiskImageNewWithBackingStore: entry with
    image-path: /dev/disk1
    enable-keychain: true
    legacy-disabled: true
    DIDiskImageInstantiatorProbe: entry
    image-path: /dev/disk1
    enable-keychain: true
    legacy-disabled: true
    DIDiskImageInstantiatorProbe: probing interface 0 CUDIFDiskImage
    CUDIFDiskImage::checkBackingStoreType: backing store is wrong type
    DIDiskImageInstantiatorProbe: interface  0, score    -1000, CUDIFDiskImage
    DIDiskImageInstantiatorProbe: probing interface 1 CSparseBundleDiskImage
    CSparseBundleDiskImage::newProbe: returning 0
    DIDiskImageInstantiatorProbe: interface  1, score        0, CSparseBundleDiskImage
    DIDiskImageInstantiatorProbe: probing interface 2 CSparseDiskImage
    DIDiskImageInstantiatorProbe: interface  2, score        0, CSparseDiskImage
    DIDiskImageInstantiatorProbe: probing interface 3 CRawDiskImage
    CRawDiskImage: checkBackingStoreType score: 100
    DIDiskImageInstantiatorProbe: interface  3, score      100, CRawDiskImage
    DIDiskImageInstantiatorProbe: probing interface 4 CDARTDiskImage
    DIDiskImageInstantiatorProbe: interface  4, score        0, CDARTDiskImage
    DIDiskImageInstantiatorProbe: probing interface 5 CDiskCopy42DiskImage
    DIDiskImageInstantiatorProbe: interface  5, score        0, CDiskCopy42DiskImage
    DIDiskImageInstantiatorProbe: probing interface 6 CNDIFDiskImage
    checkTypeCreator:     /   
    checkTypeCreator: returning     , score 0
    DIDiskImageInstantiatorProbe: interface  6, score        0, CNDIFDiskImage
    DIDiskImageInstantiatorProbe: probing interface 8 CShadowedDiskImage
    DIDiskImageInstantiatorProbe: interface  8, score     -100, CShadowedDiskImage
    DIDiskImageInstantiatorProbe: probing interface 9 CCFPlugInDiskImage
    DIDiskImageInstantiatorProbe: interface  9, score    -1000, CCFPlugInDiskImage
    DIDiskImageInstantiatorProbe: probing interface 10 CWrappedDiskImage
    DIDiskImageInstantiatorProbe: interface 10, score     -100, CWrappedDiskImage
    DIDiskImageInstantiatorProbe: selecting CRawDiskImage
    DIDiskImageNewWithBackingStore: CRawDiskImage
    checkBackingStoreType returned score 100 type *WAR
    CDevBackingStore::setPermission: entry with request 0
    CDevBackingStore::setPermission: CBSDBackingStore granted kDI_PERM_READONLY.
    DIDiskImageNewWithBackingStore: instantiator returned 0
    DIDiskImageNewWithBackingStore: returning 0
    2011-10-24 17:32:54.691 diskimages-helper[331:2503] DIHelperAttach: performOperation: resolving shadow/section options
    2011-10-24 17:32:54.691 diskimages-helper[331:2503] resolveShadowAndSectionOptions: returned 0
    2011-10-24 17:32:54.692 diskimages-helper[331:2503] DIHelperAttach: performOperation: checking in-use (1)
    2011-10-24 17:32:54.692 diskimages-helper[331:2503] performInUseVerification: the disk image is already in-use
    2011-10-24 17:32:54.694 diskimages-helper[331:2503] performInUseVerification: and a mount dictionary was found
    system-entities:
              0:
                        content-hint: Apple_partition_scheme
                        dev-entry: /dev/disk1
              1:
                        content-hint: Apple_partition_map
                        dev-entry: /dev/disk1s1
              2:
                        content-hint: Apple_HFS
                        dev-entry: /dev/disk1s2
    2011-10-24 17:32:54.695 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] entry
    status proc called: attach
    Aktivieren …
    myStatusProc: returning 0
    2011-10-24 17:32:54.696 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] exit
    2011-10-24 17:32:54.697 diskimages-helper[331:2503] performInUseVerification: returned 0
    2011-10-24 17:32:54.698 diskimages-helper[331:2503] DIHelperAttach: performOperation: setting up IDME
    2011-10-24 17:32:54.698 diskimages-helper[331:2503] -[DIHelperHDID initWithDiskImage:]
    2011-10-24 17:32:54.698 diskimages-helper[331:2503] enableCallbacks() entry
    2011-10-24 17:32:54.698 diskimages-helper[331:2503] enableCallbacks() call backs now enabled
    2011-10-24 17:32:54.699 diskimages-helper[331:2503] DIHelperAttach: performOperation: attaching disk image
    2011-10-24 17:32:54.699 diskimages-helper[331:2503] performAttach: entry
    2011-10-24 17:32:54.700 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] entry
    status proc called: attach
    myStatusProc: returning 0
    2011-10-24 17:32:54.700 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] exit
    2011-10-24 17:32:54.701 diskimages-helper[331:2503] setMountFlags: 0x3
    2011-10-24 17:32:54.701 diskimages-helper[331:2503] performAttach: calling remountReturningDictionary
    2011-10-24 17:32:54.701 diskimages-helper[331:2503] -remountReturningDictionary:
    2011-10-24 17:32:54.702 diskimages-helper[331:2503] _mountDevEntries: (DiskArb version)
    2011-10-24 17:32:54.703 diskimages-helper[331:2503] _mountDevEntries: disk1 {
        DAAppearanceTime = "341163045.763455";
        DABusName = PMP;
        DABusPath = "IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0";
        DADeviceInternal = 1;
        DADeviceModel = "DVD-R   UJ-898";
        DADevicePath = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPch SeriesAHCI/PRT1@1/IOAHCIDevice@0/IOAHCISerialATAPI/IOSCSIPeripheralDeviceNub/IOS CSIPeripheralDeviceType05/IODVDServices";
        DADeviceProtocol = SATA;
        DADeviceRevision = HC10;
        DADeviceUnit = 0;
        DADeviceVendor = MATSHITA;
        DAMediaBSDMajor = 14;
        DAMediaBSDMinor = 5;
        DAMediaBSDName = disk1;
        DAMediaBSDUnit = 1;
        DAMediaBlockSize = 2048;
        DAMediaContent = "Apple_partition_scheme";
        DAMediaEjectable = 1;
        DAMediaIcon =     {
            CFBundleIdentifier = "com.apple.iokit.IODVDStorageFamily";
            IOBundleResourceFile = "DVD-R.icns";
        DAMediaKind = IODVDMedia;
        DAMediaLeaf = 0;
        DAMediaName = "MATSHITA DVD-R UJ-898 Media";
        DAMediaPath = "IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0/@0:0";
        DAMediaRemovable = 1;
        DAMediaSize = 1879670784;
        DAMediaType = "DVD-R";
        DAMediaWhole = 1;
        DAMediaWritable = 0;
        DAVolumeMountable = 0;
        DAVolumeNetwork = 0;
    2011-10-24 17:32:54.704 diskimages-helper[331:2503] _mountDevEntries: disk1s1 {
        DAAppearanceTime = "341163045.762737";
        DABusName = PMP;
        DABusPath = "IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0";
        DADeviceInternal = 1;
        DADeviceModel = "DVD-R   UJ-898";
        DADevicePath = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPch SeriesAHCI/PRT1@1/IOAHCIDevice@0/IOAHCISerialATAPI/IOSCSIPeripheralDeviceNub/IOS CSIPeripheralDeviceType05/IODVDServices";
        DADeviceProtocol = SATA;
        DADeviceRevision = HC10;
        DADeviceUnit = 0;
        DADeviceVendor = MATSHITA;
        DAMediaBSDMajor = 14;
        DAMediaBSDMinor = 6;
        DAMediaBSDName = disk1s1;
        DAMediaBSDUnit = 1;
        DAMediaBlockSize = 2048;
        DAMediaContent = "Apple_partition_map";
        DAMediaEjectable = 1;
        DAMediaIcon =     {
            CFBundleIdentifier = "com.apple.iokit.IODVDStorageFamily";
            IOBundleResourceFile = "DVD-R.icns";
        DAMediaKind = IOMedia;
        DAMediaLeaf = 1;
        DAMediaName = MRKS;
        DAMediaPath = "IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0/@0:1";
        DAMediaRemovable = 1;
        DAMediaSize = 17920;
        DAMediaWhole = 0;
        DAMediaWritable = 0;
        DAVolumeMountable = 0;
        DAVolumeNetwork = 0;
    2011-10-24 17:32:54.704 diskimages-helper[331:2503] _mountDevEntries: disk1s2 {
        DAAppearanceTime = "341163045.761972";
        DABusName = PMP;
        DABusPath = "IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0";
        DADeviceInternal = 1;
        DADeviceModel = "DVD-R   UJ-898";
        DADevicePath = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPch SeriesAHCI/PRT1@1/IOAHCIDevice@0/IOAHCISerialATAPI/IOSCSIPeripheralDeviceNub/IOS CSIPeripheralDeviceType05/IODVDServices";
        DADeviceProtocol = SATA;
        DADeviceRevision = HC10;
        DADeviceUnit = 0;
        DADeviceVendor = MATSHITA;
        DAMediaBSDMajor = 14;
        DAMediaBSDMinor = 7;
        DAMediaBSDName = disk1s2;
        DAMediaBSDUnit = 1;
        DAMediaBlockSize = 2048;
        DAMediaContent = "Apple_HFS";
        DAMediaEjectable = 1;
        DAMediaIcon =     {
            CFBundleIdentifier = "com.apple.iokit.IODVDStorageFamily";
            IOBundleResourceFile = "DVD-R.icns";
        DAMediaKind = IOMedia;
        DAMediaLeaf = 1;
        DAMediaName = "Toast 10.0.5 HFS+/Joliet Builde";
        DAMediaPath = "IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0/@0:2";
        DAMediaRemovable = 1;
        DAMediaSize = 1879592960;
        DAMediaWhole = 0;
        DAMediaWritable = 0;
        DAVolumeKind = hfs;
        DAVolumeMountable = 1;
        DAVolumeName = RockyHorror;
        DAVolumeNetwork = 0;
        DAVolumeUUID = "<CFUUID 0x7f86e960afd0> A97C9EAF-E18F-3BE3-80CD-8A8C6FB6E8E7";
    2011-10-24 17:32:54.705 diskimages-helper[331:2503] newMountPoint is going to be (null)
    2011-10-24 17:32:54.705 diskimages-helper[331:2503] _mountDevEntries: issuing mount command with URL (null)
    2011-10-24 17:32:54.705 diskimages-helper[331:2503] 0: automatic
    2011-10-24 17:32:55.069 diskimages-helper[331:2503] _mountDevEntries: mount command returned 0xc059
    2011-10-24 17:32:55.069 diskimages-helper[331:2503] -remountReturningDictionary: _remountDevEntries returned 111
    2011-10-24 17:32:55.069 diskimages-helper[331:2503] _buildReturnDictionary:
    2011-10-24 17:32:55.070 diskimages-helper[331:2503] _dictionaryFromDisk: adding (disk1): {
        "content-hint" = "Apple_partition_scheme";
        "dev-entry" = "/dev/disk1";
        "potentially-mountable" = 0;
        "unmapped-content-hint" = "Apple_partition_scheme";
    2011-10-24 17:32:55.071 diskimages-helper[331:2503] _dictionaryFromDisk: adding (disk1s1): {
        "content-hint" = "Apple_partition_map";
        "dev-entry" = "/dev/disk1s1";
        "potentially-mountable" = 0;
        "unmapped-content-hint" = "Apple_partition_map";
    2011-10-24 17:32:55.071 diskimages-helper[331:2503] _dictionaryFromDisk: adding (disk1s2): {
        "content-hint" = "Apple_HFS";
        "dev-entry" = "/dev/disk1s2";
        "potentially-mountable" = 1;
        "unmapped-content-hint" = "Apple_HFS";
        "volume-kind" = hfs;
    2011-10-24 17:32:55.071 diskimages-helper[331:2503] -remountReturningDictionary: _buildReturnDictionary returned 111
    2011-10-24 17:32:55.071 diskimages-helper[331:2503] -remountReturningDictionary: detaching because no mountable filesystems.
    2011-10-24 17:32:55.072 diskimages-helper[331:2503] -unmountAndDetachWithForce:YES andTryManualDetach:NO
    2011-10-24 17:32:55.072 diskimages-helper[331:2503] -unmountAndDetachWithForce: rootDiskIdentifier not cached yet - trying harder...
    2011-10-24 17:32:55.072 diskimages-helper[331:2503] -_getDiskToDetach: (DA) checking _peekArray
    2011-10-24 17:32:55.072 diskimages-helper[331:2503] -_getDiskToDetach: checking _diskArray
    2011-10-24 17:32:55.072 diskimages-helper[331:2503] -unmountAndDetachWithForce: using disk1
    2011-10-24 17:32:55.075 diskimages-helper[331:2503] -unmountAndDetachWithForce: unmount returned 0
    2011-10-24 17:32:55.079 diskimages-helper[331:2503] -unmountAndDetachWithForce: eject returned 49168
    2011-10-24 17:32:55.079 diskimages-helper[331:2503] performAttach: remountReturningDictionary returned 111
    2011-10-24 17:32:55.079 diskimages-helper[331:2503] -[DIHelperHDIDDA dealloc:]
    2011-10-24 17:32:55.080 diskimages-helper[331:2503] disableCallbacks() entry
    2011-10-24 17:32:55.080 diskimages-helper[331:2503] disableCallbacks() call backs now disabled
    2011-10-24 17:32:55.080 diskimages-helper[331:2503] -[DIHelperHDID dealloc:]
    2011-10-24 17:32:55.080 diskimages-helper[331:2503] DIHelperHDID dealloc: releasing diskimage 0x7f86ea90a400
    2011-10-24 17:32:55.080 diskimages-helper[331:2503] DIHelperHDID dealloc: done releasing diskimage 0x0
    2011-10-24 17:32:55.081 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] entry
    status proc called: attach
    Error 111 (Keine aktivierbaren Dateisysteme).
    myStatusProc: returning 0
    2011-10-24 17:32:55.083 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] exit
    2011-10-24 17:32:55.083 diskimages-helper[331:2503] performAttach: returned 111
    2011-10-24 17:32:55.084 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] entry
    status proc called: cleanup
    Fertigstellen …
    myStatusProc: returning 0
    2011-10-24 17:32:55.084 hdiutil[329:2803] [DIHelperProxy frameworkCallbackWithDictionary] exit
    2011-10-24 17:32:55.085 diskimages-helper[331:2503] DIHelperAttach performOperation: returning 111
    2011-10-24 17:32:55.085 diskimages-helper[331:303] DIHelper _report_results: reporting {
        payload =     {
            "system-entities" =         (
                    "content-hint" = "Apple_partition_scheme";
                    "dev-entry" = "/dev/disk1";
                    "content-hint" = "Apple_partition_map";
                    "dev-entry" = "/dev/disk1s1";
                    "content-hint" = "Apple_HFS";
                    "dev-entry" = "/dev/disk1s2";
        "result-code" = 111;
    2011-10-24 17:32:55.085 diskimages-helper[331:2503] -decrementBackgroundThreadCount: _backgroundThreadCount is now 0.
    2011-10-24 17:32:55.086 hdiutil[329:2803] reportResultsToFramework: proxy has finished operation
    2011-10-24 17:32:55.087 hdiutil[329:2803] reportResultsToFramework: results are: {
        payload =     {
            "system-entities" =         (
                    "content-hint" = "Apple_partition_scheme";
                    "dev-entry" = "/dev/disk1";
                    "content-hint" = "Apple_partition_map";
                    "dev-entry" = "/dev/disk1s1";
                    "content-hint" = "Apple_HFS";
                    "dev-entry" = "/dev/disk1s2";
        "result-code" = 111;
    2011-10-24 17:32:55.087 hdiutil[329:2803] reportResultsToFramework: _threadResultsError is 111
    2011-10-24 17:32:55.088 hdiutil[329:2803] reportResultsToFramework: disconnecting from helper.
    2011-10-24 17:32:55.088 diskimages-helper[331:303] -setCanTerminate: main thread can exit
    2011-10-24 17:32:55.189 hdiutil[329:2803] [DIHelperProxy disconnectFromHelper] entry
    2011-10-24 17:32:55.191 hdiutil[329:2803] disconnectFromHelper: removing observers
    2011-10-24 17:32:55.192 hdiutil[329:2803] disconnectFromHelper: terminating proxy
    2011-10-24 17:32:55.194 diskimages-helper[331:303] DIHelper: terminateHelper: entry.
    2011-10-24 17:32:55.194 hdiutil[329:2803] disconnectFromHelper: terminated proxy
    2011-10-24 17:32:55.195 hdiutil[329:2803] [DIHelperProxy disconnectFromHelper] releasing helper
    2011-10-24 17:32:55.195 hdiutil[329:2803] [DIHelperProxy disconnectFromHelper] exit
    2011-10-24 17:32:55.295 diskimages-helper[331:303] [DIHelper frameworkConnectionDied] entry
    2011-10-24 17:32:55.295 diskimages-helper[331:303] [DIHelper frameworkConnectionDied] releasing connection
    2011-10-24 17:32:55.295 diskimages-helper[331:303] [DIHelper frameworkConnectionDied] releasing frameworkProxy
    2011-10-24 17:32:55.296 diskimages-helper[331:303] -DIHelperAgentMaster terminateUIAgentConnection.
    2011-10-24 17:32:55.296 diskimages-helper[331:303] [DIHelper frameworkConnectionDied] marking _frameworkDisconnected
    2011-10-24 17:32:55.296 diskimages-helper[331:303] [DIHelper frameworkConnectionDied] exiting
    2011-10-24 17:32:56.089 hdiutil[329:2803] [DIHelperProxy workerThread] removing NSConnectionDidDieNotification observers
    2011-10-24 17:32:56.090 hdiutil[329:2803] [DIHelperProxy workerThread] removing NSConnectionDidInitializeNotification observers
    2011-10-24 17:32:56.091 hdiutil[329:2803] [DIHelperProxy workerThread] removing NSTaskDidTerminateNotification observers
    2011-10-24 17:32:56.092 hdiutil[329:2803] [DIHelperProxy threadRunRunLoop] invalidating connection
    2011-10-24 17:32:56.093 diskimages-helper[331:303] DIHelper dealloc.
    2011-10-24 17:32:56.093 hdiutil[329:2803] [DIHelperProxy threadRunRunLoop] releasing connection
    2011-10-24 17:32:56.093 diskimages-helper[331:303] -DIHelperAgentMaster terminateUIAgentConnection.
    2011-10-24 17:32:56.094 diskimages-helper[331:303] helper: child_after_exec returning 0
    2011-10-24 17:32:56.094 hdiutil[329:2803] [DIHelperProxy workerThread] after running runloop
    2011-10-24 17:32:56.094 hdiutil[329:2803] [DIHelperProxy workerThread] waiting for task to terminate to avoid zombies
    2011-10-24 17:32:56.095 hdiutil[329:2803] [DIHelperProxy workerThread] releasing task
    2011-10-24 17:32:56.096 hdiutil[329:2803] [DIHelperProxy workerThread] exiting
    2011-10-24 17:32:56.096 hdiutil[329:d07] [DIHelperProxy performOperationReturning] returning 111
    2011-10-24 17:32:56.097 hdiutil[329:d07] DIHLDiskImageAttach: DIHelperProxy returned 111
    2011-10-24 17:32:56.098 hdiutil[329:d07] [DIHelperProxy dealloc]
    DIHLDiskImageAttach() returned 111
    system-entities:
              0:
                        content-hint: Apple_partition_scheme
                        dev-entry: /dev/disk1
              1:
                        content-hint: Apple_partition_map
                        dev-entry: /dev/disk1s1
              2:
                        content-hint: Apple_HFS
                        dev-entry: /dev/disk1s2
    hdiutil: attach failed - Keine aktivierbaren Dateisysteme

    If a game is testing whether it was run from a CD or DVD then that's part of its piracy protection. Which then implies that you may be trying to run pirated software with which we cannot really help since the Apple Discussions is provided by Apple.
    On the other hand if you have the legitimate disc and are simply trying to run the game without having to insert the disc, then I'm afraid you won't be able to do that if the game software is using this as part of the software protection scheme.
    Assuming you aren't using pirated software, read the user guide that came with the game to see if the game can be copied and run exclusively from the hard drive. If the game has no copy protection, then this should be feasible.

  • Image object getWidth() and getHeight() returning -1

    Hello all,
    I'm currently unit testing a pretty simple utility that calculates a new image position, given a handful of parameters (including image width and height).
    The problem I'm running into is this:
    The image width/height don't always load immediately. My only clue so far from searching the web is this:
    http://download-llnw.oracle.com/javase/6/docs/api/java/awt/Image.html#getWidth%28java.awt.image.ImageObserver%29
    which states Determines the width of the image. If the width is not yet known, this method returns -1 and the specified ImageObserver object is notified later. In my JUnit test harness, I have the following code to load my images, using Toolkit:
    public static final String TEST_IMG_1_PATH = "images/apple_logo.png";
    public static final String TEST_IMG_2_PATH = "images/dude.png";
    private Image testImage1, testImage2;
    @Before
    public void setUp() throws Exception {
         testImage1 = Toolkit.getDefaultToolkit().getImage(TEST_IMG_1_PATH);
         testImage2 = Toolkit.getDefaultToolkit().getImage(TEST_IMG_2_PATH);
         // check the image size to see if they are fully loaded:
         System.out.println(testImage1.getWidth(null));
         System.out.println(testImage1.getHeight(null));
         System.out.println(testImage2.getWidth(null));
         System.out.println(testImage2.getHeight(null));
    }Because the utility method I'm testing heavily depends on the image size, my tests intermittently fail. When I run this, I typically get -1 for all of the image dimension checks (see the above println()s).
    -1
    -1
    -1
    -1Even with these "-1" results, my test still passes... which means at some point before the test assert() statement executes, the images do become fully loaded.
    My question is: What can I do to make sure my image is loaded fully before I do anything with it? Is there any elegant way to handle this? Am I doing something wrong?
    Thanks for your time.
    -Thok

    [http://forums.sun.com/thread.jspa?threadID=5446922]
    db

  • Image getwidth() getheight() problem

    When i run the code below first time it returns like;
    width=-1
    height=-1
    but when i refresh the page and runing code for secad time width and height returns correct;
    why this happen, i couldnt solve....need help,any advice?thank you
    Image resmim = Toolkit.getDefaultToolkit().getImage(klasor_adres+resim_adi);
    int width=resmim.getWidth(null);
    int height=resmim.getHeight(null);

    i have found the problem...the problem caused by this;
    we must control for the image to be fully loaded to servlet and do this by adding a media tracker...
    Image resmim = Toolkit.getDefaultToolkit().getImage(klasor_adres+resim_adi);
              MediaTracker mediaTracker = new MediaTracker(new Container());
              mediaTracker.addImage(resmim, 0);
              mediaTracker.waitForID(0);then we make get width and height operations

  • Image getWidth & getHeight

    I got this problem in getting the size of the image display on the screen. I try to used getWidth & getHeight and print it out but the value is 0. I try many time will different combination but still can't.
    This is the example:
    map = getToolkit().getImage("Map3.jpg");
    MediaTracker track=new MediaTracker(this);
    track.addImage(map,0);
    try{track.waitForID(0);}
    catch(InterruptedException ie){}
    int w=this.getWidth(map);
    int h=this.getHeight(map);
    Actually, I am trying to resize the image to which fit the JPanel I created but fail. Any idea?

    I presume you mean to be using map.getWidth(this) and map.getHeight(this)?
    It's sufficient to use map.getWidth(null) and map.getHeight(null) in this context.
    However, are you sure that the image is being loaded?
    Put the image in the root directory of your project and try using "/Map3.jpg" instead.
    Hope this helps.

  • Image edited in PhotoShop returns to bottom left of PDF page

    Hello,
    When I open an image from my PDF in Photoshop (using the image touchup tool) and then save it, the image returns to the bottom left of my PDF instead of its original position.
    I have searched the forums and knowledge base but can't seem to find a solution.
    I am using Windows XP and CS2.
    Can anyone help me please?
    Russ Jones

    If you update photoshop to 9.0.1 you will solve the problem described.

  • Apex 4.0 display image item :BLOB column returned by SQL statement

    Hello
    I'm creating an display image item in apex 4.0. The source is a BLOB column returned by SQL statement.
    When I'm issuing an sql statement like this:
       select lado.blob_content
       from   large_documents      lado
       ,        large_doc_headers    ladh
       where lado.ladh_nr = ladh.nr
       more criteriait works fine.
    When I create a function inside a package with the same query (in a cursor)
    function get_image(some parameters in) return blob
    Following in apex by:
    select get_image(some parameters) from dualI get a
    ORA-06502: PL/SQL: numeric or value error: character string buffer too smallAnybody any idea why this does not work?
    Regards Erik

    Hi Eric,
    the environment assumes varchar2-output by default, which will be limited to 32767 characters and may have problems with binary formats. You could define a blob-variable to select the value into.
    DECLARE
      l_blob BLOB;
    BEGIN
      SELECT get_image(some parameters)
        INTO l_blob
        FROM dual;
    END;
    /If you expect the BLOB-Content to be text (you should consider CLOB then), you may use UTL_RAW.CAST_TO_VARCHAR2 to convert the content. If your object is larger than the maximum varchar2 size, or you want to convert BLOB to CLOB, you might be interested in some converter like described here: {message:id=559749}
    Hope this is what you were searching for.
    -Udo

  • Print label image in GIF format returned by Web Service XML string.

    Hi All
    I have extremely interesting situations and have been struggling with this for a past week. I have been looking everywhere but nobody seems to have an answer. This is my last resort.
    Detail -
    I am consuming UPS web service from my ABAP program. Everything works fine until I have to print UPS label.  The label image is returned to my ABAP program via XML by the UPS reply transaction as a GIF image.
    When I download this image to my PC I can see it and print it, but for the love of god I cannot print this image from my ABAP program. The GIF image is passed to me as a binary data string it looks like bunch on numbers - (2133FFDGFGFGFHHu2026..) very long string about 89800 bites. I cannot use smart forms since smart form requires to have graphic stored in  SAP before smart form print, so this is not possible. I need help figuring out how print GIF image form ABAP or any other SAP method dynamically.  Any ideas are extremely appreciated. I am just puzzled that I cannot find any info on something like this. I cannot be the first one who needs to print GIF image in SAP.

    Hi all,
    I understand this thread was started long back. But wanted to share this solution since I see the same question in many forums without any particular conclusive answer. So the steps I am explaining here, if it helps in some way, I will be really happy. I won't say this is the perfect solution. But it definitely helps us to print the images. This solution is infact implemented successfully in my client place & works fine.
    And please note there may be  better solutions definitely available in ECC6 or other higher releases. This solution is mainly for lesser versions, for people don't have ADOBE forms or other special classes.
    Important thing here is binary string is converted to postscript here. So you need to make sure your printer supports postscripts. (Ofcourse, if anybody is interested, they can do their R&D on PCL conversion in the same way...and pls let me know). Once the binary data is converted to postscript, we are going to write it in the binary spool. so you will still see junk characters (or numberssss) in spool. But when you print it in postscript printer , it should work.
    First step, assuming you have your binary data ready from tiff or pdf based on your requirement.
    Basically below compress/decompress function modules convert the binary data from lt_bin (structure TBL1024) to target_tab (structure SOLIX). From Raw 1024 to Raw 255
    DATA: aux_tab LIKE soli OCCURS 10. - temp table
    Compress table
                  CALL FUNCTION 'TABLE_COMPRESS'
                    TABLES
                      in             = lt_bin
                      out            = aux_tab
                    EXCEPTIONS
                      compress_error = 1
                      OTHERS         = 2.
    Decompress table
                  CALL FUNCTION 'TABLE_DECOMPRESS'
                    TABLES
                      in                   = aux_tab
                      out                  = target_tab
                    EXCEPTIONS
                      compress_error       = 1
                      table_not_compressed = 2
                      OTHERS               = 3.
    In my case, since I have to get it from archived data using function module, ARCHIV_GET_TABLE which gives RAW 1024, above conversion was necessary.
    Second step: Application server temporary files for tif/postscript files.
    We need two file names here for tif file & for converted postscript file. Please keep in mind, if you are running it in background, user should have authorization to read/write/delete this file.
    Logical file name just to make sure the file name is maintainable. Hard code the file name if you don't want to use logical file name.
                  CALL FUNCTION 'FILE_GET_NAME'
                    EXPORTING
                      logical_filename = 'ABCD'
                      parameter_1      = l_title
                      parameter_2      = sy-datum
                      parameter_3      = sy-uzeit
                    IMPORTING
                      file_name        = lv_file_name_init
                    EXCEPTIONS
                      file_not_found   = 1
                      OTHERS           = 2.
                  IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                  ENDIF.
    Now concatenate with the different extensions to get two different files.
                  CONCATENATE lv_file_name_init '.tif' INTO lv_file_name_tif.
                  CONCATENATE lv_file_name_init '.ps' INTO  lv_file_name_ps.
    Third step: Write the target_tab to tif file.
    Open dataset for writing the tif file.
                  OPEN DATASET lv_file_name_tif FOR OUTPUT IN BINARY MODE.
                  IF NOT sy-subrc IS INITIAL.
                    RAISE open_failed.
                  ELSE.
                    LOOP AT target_tab INTO w_target_tab.
                      CATCH SYSTEM-EXCEPTIONS dataset_write_error = 1
                                              OTHERS = 4.
                        TRANSFER w_target_tab TO lv_file_name_tif.
                      ENDCATCH.
                      IF NOT sy-subrc IS INITIAL.
                        RAISE write_failed.
                      ENDIF.
                    ENDLOOP.
                    CATCH SYSTEM-EXCEPTIONS dataset_cant_close = 1
                                            OTHERS = 4.
                      CLOSE DATASET lv_file_name_tif.
                    ENDCATCH.
                  ENDIF.
    Fourth Step: Convert the tiff file to postscript file.
    This is the critical step. Create an external command (SM49/SM69) for this conversion. In this example, Z_TIFF2PS is created. Infact, I did get help from our office basis gurus in this. so I don't have the exact code of this unix script. You can refer the below link or may get some help from unix gurus.
    http://linux.about.com/library/cmd/blcmdl1_tiff2ps.htm
    Since my external command needs .ps file name and .tif file name as input, concatenate it & pass it as additional parameter. Command will take care of the conversion & will generate the .ps file.
       CONCATENATE lv_file_name_ps lv_file_name_tif INTO lw_add SEPARATED BY space.
    Call the external command with the file paths.
                  CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
                    EXPORTING
                      commandname           = 'Command name'
                      additional_parameters = lw_add
                    TABLES
                      exec_protocol         = t_comtab.
    Fifth step: Read the converted ps file and convert it to RAW 255.
      DATA:lw_content TYPE xstring.
    Open dataset for reading the postscript (ps) file
                  OPEN DATASET lv_file_name_ps FOR INPUT IN BINARY MODE.
    Check whether the file is opened successfully
                  IF NOT sy-subrc IS INITIAL.
                    RAISE open_failed.
                  ELSE.
                    READ DATASET lv_file_name_ps INTO lw_content.
                  ENDIF.
    Close the dataset
                  CATCH SYSTEM-EXCEPTIONS dataset_cant_close = 1
                                          OTHERS = 4.
                    CLOSE DATASET lv_file_name_ps.
                  ENDCATCH.
    Make sure you delete the temporary files so that you can reuse the same names again & again for next conversions.
                  DELETE DATASET lv_file_name_tif.
                  DELETE DATASET lv_file_name_ps.
    Convert the postscript file to RAW 255
                  REFRESH target_tab.
                  CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
                    EXPORTING
                      buffer     = lw_content
                    TABLES
                      binary_tab = target_tab.
    Sixth step: Write the postscript data to binary spool by passing the correct print parameters.
                  IF NOT target_tab[] IS INITIAL.
                    PERFORM spo_job_open_cust USING l_device
                                                         l_title
                                                         l_handle
                                                         l_spoolid
                                                         lw_nast.
                    LOOP AT target_tab INTO w_target_tab.
                      PERFORM spo_job_write(saplstxw) USING l_handle
                                                            w_target_tab
                                                          l_linewidth.
                    ENDLOOP.
                    PERFORM spo_job_close(saplstxw) USING l_handle
                                                          l_pages.
                    IF sy-subrc EQ 0.
                      MESSAGE i014 WITH
                       'Spools for'(019) lw_final-vbeln
                   'created successfully.Check transaction SP01'(020).
                    ENDIF.
                  ENDIF.
    Please note the parameters when calling function module RSPO_SR_OPEN. Change the print parameters according to your requirement. This is very important.
    FORM spo_job_open_cust USING value(device) LIKE tsp03-padest
                            value(title) LIKE tsp01-rqtitle
                            handle  LIKE sy-tabix
                            spoolid LIKE tsp01-rqident
                            lw_nast TYPE nast.
      DATA: layout LIKE tsp01-rqpaper,
            doctype LIKE tsp01-rqdoctype.
      doctype = 'BIN'.
      layout = 'G_RAW'.
      CALL FUNCTION 'RSPO_SR_OPEN'
          EXPORTING
            dest                   = device "Printer name
        LDEST                  =
            layout                 = layout
        NAME                   =
            suffix1                = 'PDF'
        SUFFIX2                =
        COPIES                 =
         prio                   = '5'
           immediate_print        = 'X'
    immediate_print        = lw_nast-dimme
            auto_delete            = ' '
            titleline              = title
        RECEIVER               =
        DIVISION               =
        AUTHORITY              =
        POSNAME                =
        ACTTIME                =
        LIFETIME               = '8'
            append                 = ' '
            coverpage              = ' '
        CODEPAGE               =
            doctype                = doctype
        ARCHMODE               =
        ARCHPARAMS             =
        TELELAND               =
        TELENUM                =
        TELENUME               =
          IMPORTING
            handle                 = handle
            spoolid                = spoolid
          EXCEPTIONS
            device_missing         = 1
            name_twice             = 2
            no_such_device         = 3
            operation_failed       = 4.
      CASE sy-subrc.
        WHEN 0.
          PERFORM msg_v1(saplstxw) USING 'S'
                           'RSPO_SR_OPEN o.k., Spoolauftrag $'(128)
                           spoolid.
          sy-subrc = 0.
        WHEN 1.
          PERFORM msg_v1(saplstxw)  USING 'E'
                               'RSPO_SR_OPEN Fehler: Gerät fehlt'(129)
                               space.
          sy-subrc = 1.
        WHEN 2.
          PERFORM msg_v1(saplstxw)  USING 'E'
                             'RSPO_SR_OPEN Fehler: Ungültiges Gerät $'(130)
                             device.
          sy-subrc = 1.
        WHEN OTHERS.
          PERFORM msg_v1(saplstxw)  USING 'E'
                               'RSPO_SR_OPEN Fehler: $'(131)
                               sy-subrc.
          sy-subrc = 1.
      ENDCASE.
    ENDFORM.                    "spo_job_open_cust
    Thats it. We are done. If you open the spool, still you will see numbers/junk characters. if you print it in postscript printer, it will be printed correctly. If you try to print it PCL, you will get lot of pages wasted since it will print all junk characters. So please make sure you use postscript printer for this.
    Extra step for mails (if interested):
    Mails should work fine without any extra conversion/external command since it will be opened again using windows. So after the first step (compress & decompress)
    Create attachment notification for each attachment
                  objpack-transf_bin = 'X'.
                  objpack-head_start = 1.
                  objpack-head_num   = 1.
                  objpack-body_start = lv_num + 1.
                  DESCRIBE TABLE  lt_target_tab LINES objpack-body_num.
                  objpack-doc_size   =  objpack-body_num * 255.
                  objpack-body_num = lv_num + objpack-body_num.
                  lv_num = objpack-body_num.
                  objpack-doc_type   =  'TIF'.
                  CONCATENATE 'Attachment_' l_object_id INTO objpack-obj_descr.
                  reclist-receiver = l_email.
                  reclist-rec_type = 'U'.
                  reclist-express = 'X'.
                  APPEND reclist.
                  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
                    EXPORTING
                      document_data              = docdata
                      put_in_outbox              = 'X'
                      commit_work                = 'X'
                    TABLES
                      packing_list               = objpack
                      contents_txt               = objtxt
                      contents_hex               = target_tab
                      receivers                  = reclist
                    EXCEPTIONS
                      too_many_receivers         = 1
                      document_not_sent          = 2
                      document_type_not_exist    = 3
                      operation_no_authorization = 4
                      parameter_error            = 5
                      x_error                    = 6
                      enqueue_error              = 7
                      OTHERS                     = 8.
                  IF sy-subrc <> 0.
                    RAISE email_not_sent.
                  ENDIF.
                  COMMIT WORK.
    Hope this helps. I am sure this (print/email both) can be improved further by removing some conversions/by using some other methods.Please check & let me know if you have any such suggestions or any other comments.
    Regards,
    Gokul
    Edited by: Gokul R Nair on Nov 16, 2011 2:59 AM</pre>
    Edited by: Gokul R Nair on Nov 16, 2011 3:01 AM
    Edited by: Gokul R Nair on Nov 16, 2011 3:15 AM

  • Google image search in ipad - returns blank page, what's wrong?

    while searching, under image tab, returns blank page.
    what's wrong?

    Works fine for me. Probably a google problem.

  • Would you mind to implement that when websites attempts to access image data on a canvas, blank image data can be returned?

    Issue: privacy (protection)
    Additional to cookies and so on, canvas imagedata is used to discover information about computers. Then Tor Browser Bundle (TBB) - Firefox ESR 24.7.0 automatically returns blank image data and shows option to switch it of and else.
    Would be nice to have this in Standard Firefox.
    Contained in TBB 3.6.3 en-us for Windows from torproject.org

    Thanks, someone else raised this issue a few weeks ago: [https://support.mozilla.org/questions/1011864 Why is FireFox allowing "Canvas Fingerprinting" to track me?]
    Since this forum focuses on the Firefox available today, a better place to make suggestions for changes to Firefox is the Feedback site: https://input.mozilla.org/feedback
    Also, a formal request for enhancement (bug) was filed in July: [https://bugzilla.mozilla.org/show_bug.cgi?id=1041818 Bug #1041818 – take steps to mitigate canvas fingerprinting].
    It's generally not helpful to add "me too" or "hurry up" comments to bugs, but you can register on the Bugzilla site and "vote" for them to be fixed. See:
    * [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html Bugzilla Etiquette]
    * [https://bugzilla.mozilla.org/page.cgi?id=voting.html Voting]

  • Print label image in PDF format returned by Web Service XML string.

    Hi Experts,
    I have a scenario, where I am sending delivery details through IDOC and receives some labels to print in response from SAP PI. I am planning to print those labels from the inbound proxy.Is there any standard function module to print? I have gone through some function modules but no luck..could anybody help me on this? Give me some sample code..

    Hi Experts,
    I have a scenario, where I am sending delivery details through IDOC and receives some labels to print in response from SAP PI. I am planning to print those labels from the inbound proxy.Is there any standard function module to print? I have gone through some function modules but no luck..could anybody help me on this? Give me some sample code..

Maybe you are looking for

  • Nokia c5-03 usb connecting error

    hi i have nokia c5-03.there is no memory card present in my phone.but when i connect my phone to pc through cable the erroe comes in there (memory card not present usb connection may not work as expected) anyone know what's the reason is this... plz

  • It won't open... at all.

    Recently, while downloading the new version of iTunes, my computer froze and I had to restart it. However, upon trying to open iTunes again afterward, nothing happened. It will highlight, but nothing will open or result from clicking on it otherwise.

  • Need String help!

    I wanted to learn Java, so I bought "Java for Dummies 4th Edition". I think it's a little outdated, but seems fine. I'm creating a text-based game where the user inputs a question, and then that text is put into a string. The problem is, the string w

  • T61 won't undock from docking station

    After a year of not using my mini-dock port replicator/docking station, I tried docking my T61 onto the station. Now it won't release. The eject button goes down part way but it won't release. After prying as much as I could, the right lock would rel

  • Dzen2 and DWM

    I want to get DWM and Dzen2 working. So far, I have figured out how to start with conky and dzen2 and an ABS setup for DWM. How can I get Dzen2 and the DWM status bar to co exist? Especially struts.