Print Preview of Browser(IE) does not show the image, Printer doesn't print

Hi,
I am using a servlet to stream image (GIF) to the browser.
Image is accessed by browser using the img tag. src attribute points to the servlet which send the image stream.
Servlet has the image as the array of bytes. It simply write these bytes on the response object's output stream. It does not use any encoder.
I get the image on the browser. But when I try to see the properties of the image I don't see the type of image. I also don't see the created time, modified time and size of the image. When I do Save As on this image it tries to save it as BMP instead of GIF. Also when I do the print preview I don't see the image in the preview window. When I try to print the web page, it prints everything except this image. I get small cross(image missing) on the printed page.
I would like to know why the image attributes on browser go missing and why can't I print the image?
I would like to add that I am getting the image as the array of bytes from a different application on which I do not have control?
Thanks.

I don't know much about Java Image API , but I could offer a few hints:
- set the type of the image explicitly as GIF
- similarly there might be a feature to set the data / time.
Someone in the File I/O forum or Java Image forum might know better than me.

Similar Messages

  • ME23n , Does not shows the values correctly in print preview

    Hi,
    When viewing a PO using ME23n , it does not shows the values correctly in the print preview.
    For example;
    This is the vendor & its address.  (check attached image img1.jpg)
    ZERANDIB BUSINESS APPLIANCES
    Number-122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO-04
    When displaying the print preview, it shows only some parts of the above address
    Shows only; (check attached image img2.jpg)
    ZERANDIB BUSINESS APPLIANCES
    PO BOX 41,112,REID AVENUE
    These values are getting from a table called LFA1. I have checked that table & in that table all the values exists correctly.
    I have noted issue is with, having only a single word. (If address or name having only a single word, that is without spaces, it will not going to show in the print preview) -
    In the above example, it is not showing Number-122/A and  COLOMBO-04 (Its a single word. No spaces there)
    If its like --> Number - 122/A   &  COLOMBO - 04 ,  then it will display in the print preview correctly (where there are spaces after - mark)
    check img3.jpg
    If its having more than one word, then it will display correctly in the print preview.  As below;
    ZERANDIB BUSINESS APPLIANCES
    Number - 122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO - 04
    If its 2 or more words, it shows correctly.
    If its 1 word, then its not showing!
    Why it is happening like that? Any ideas how to resolve this issue?
    regards.
    zerandib

    It turns out that this problem went away after the program crashed.  Everything seems to be working well now.

  • HT4075 when i drag the pdf file over other (in previewer) to merge it does not show green circle with plus one. what to do?

    when i drag the pdf file over other (in previewer) to merge it does not show green circle with plus one. what to do?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • BBP_MON_SC : does not show the details of the Shopping cart

    Hi,
    We are in SRM4.0 and Stack 11.
    when we use the transaction:BBP_MON_SC to check the Shopping cart and get into the details, the system does not show the "details of the shopping cart".
    The sequence of the steps :
    1) click on the "monitor shopping cart"(BBP_MON_SC) in our web browser
    and search the SC by date.
    2) The list of the SC created on the specific date come up.
    3) when we select a SC to get into the details the system shows
    a "BLANK SCREEN".
    Thanks in advance.
    Regards,
    RK.

    Hi,
    First check whether you have implementedany custom BADI at the SC item level.If the BADi is wrongly implemented then you may not be able to see the item details.
    Also Make sure that BASIS Team has assigned correct roles and profiles to the administrator user. Ask BASIS to use SAP provided roles and then you can try out again. (Try this role - SAP_EC_BBP_ADMINISTRATOR / SAP_BBP_STAL_ADMINISTRATOR )
    Here are the related links ->
    http://help.sap.com/saphelp_srm50/helpdata/en/a0/10213862f7bd47e10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/9f/a47c3c989d501fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/15/46d19e4069d14e92decb87d6a56b9c/frameset.htm
    Incase it does not help, then, Without assigning any other roles, try logging to the transaction - BBP_MON_SC via SAP GUI instead of webpage and then do once you get some authorization issue /error, using SU53 Transaction, you can get the required Authorization objects need to attached to the user profile.
    Alternatively, For time being, Try assigning SAP_ALL and SAP_NEW to the Administrator Buyer user role of that user.
    Also have a look at these notes:
    Note 636270 Shopping cart monitor: Display of SC if user is deleted
    Note 764135 Shopping cart monitor: Selection according to 'Created by'
    Note 865179 BBP_MON_SC: Search for shopping carts shows wrong results
    Note 683524 Shopping cart monitor does not display all shopping carts
    Note 1045386 BBP_MON_SC: No DELETED Event after deletion
    Note 829529 BBP_MON_SC: Displaying shopping cart of a locked user
    901427 BBP_MON_SC: Requester instead of creator in overview list
    859012 BBP_MON_SC: Deleted shopping carts are not found
    882884 BBP_MON_SC: Deleting items in the status I1116
    792542 Shopping cart monitor: incor. return URL from shopping cart
    672764 Shopping cart monitor: Display of deleted shopping carts
    Note 522620 Shopping cart monitor: Customer enhancement / BADI
    Note 889942 BBP_MON_SC: Service item can't be searched by perform.period
    949399 SC monitor: Search help does not display all catalogs
    972697 bbp_mon_sc: No result for limit shopping cart search
    901608 BBP_MON_SC: Service Item search is incorrect
    813434 Shopping cart monitor and internal ITS:Shopping cart display
    669720 BBP_MON_SC: Follow-on document is not found
    625694 Not possible to search for SHB based on some docs in monitor
    596089 SHP Monitor: problems with search functionalities
    Note 561186 Monitor shopping cart: Selection of large datasets
    BR,
    Disha.
    Pls reward points for useful answers.

  • Field Explorer in Crystal Reports does not show the same names as Bex Query

    Hi
    I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
    In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
    It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
    I would like it to display the field explorer as shown in this blog.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Thanks in advance

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
    Ingo

  • HT1338 i lost my iphone and my macbook pro does not show the icloud in system pref. What do i do? how do i download icloud?

    I lost my iphone and my macbook pro does not show the icloud in system pref. how do i get icloud on my mac?

    iCloud is only available in Lion, 10.7. You will have to upgrade to Lion in order to get into iCloud. If you transfered a .mac or .me address to iCloud through mobile me, or you have another device iCloud enabled, then you can log into the iCloud.com website.

  • Why this query does not show the result?

    Why the query with the schema prefixed does not show the result and the query without schema display the correct results?
    SQL> select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS';
    select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS'
    ERROR at line 1:
    ORA-00933: SQL command not properly ended
    SQL> select data_object_id,object_type from dba_objects where object_name='HR.JOBS';
    no rows selected
    SQL> select data_object_id, OWNER, object_type from dba_objects where object_name='JOBS';
    DATA_OBJECT_ID     OWNER                          OBJECT_TYPE
    69662              HR                                 TABLE
                       OE                                 SYNONYM
    SQL> SELECT USER FROM DUAL;
    USER
    SYS

    Hi,
    the column object_name refers to a object_name which is 'JOBS', the column owner refers to the owner 'HR', the value isn't stored together, so you have to select the two columns. It is the same behaviour as every other table/view. Have a look at the values in the view DBA_OBJECTS.
    Herald ten Dam
    Superconsult.nl

  • Report does not show the main section while calling from forms 6i

    Hi
    I am running report from report from forms 6i but is does not show the data in main section, where as the data in the header section is ok.
    But when i run the same report independantly from report builder it show the both header and main section with relevent data.
    pl solve the matter
    thanks in advance

    can you tell me more about this, you might check if you are using different users when you call this report or if the user has all privileges to see all tables in this report

  • My Iphone5 does not show the picture location after upgrading to ios 7.0.4 - why?

    my Iphone5 does not show the picture location after upgrading to ios 7.0.4 - why?

    I change Settings>Privacy>Location Services>Camera to OFF and then ON and the locations start to appear !!!!.
    It seems to be Apple bug.
    Thanks for you efforts

  • I am installing snow leopard on a new drive unformatted but it does not show the disk to install it on.? do i need to format first with one partition?

    I have installed a new drive on my mac book and more ram but the snow leopard install asks which to install the system on but then does not show the drive.
    do I have to partition it and name it first. -- if so just one partition?

    Do this:
    Drive Preparation
    1.  Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    When formatting has completed quit DU and return to the installer.  Complete the OS X installation.

  • Acrobat Pro "save as" function in the file menu does not show the current directory of the file

    I have installed CC but Acrobat Pro gives me headaches.
    The "save as" function in the file menu does not show the current directory of the file but something I have worked on in the past.
    It forces me to navigates through my hard disk for this very straightforward thing in normal conditions. I precise: Acrobat is the only software reacting like that.
    I use Windows7 professional 64bits.

    I use what seems to be the latest version available on the Cloud:
    To illustrate my point, I open a directory with explorer and double-click on the only PDF in there:
    So here it is, open:
    When I do a "Save as", it takes me to a totally different place on the disk!
    Very annoying...
    Thanks for your time!
    JJ

  • My playlists show how many titles are in the playlist but does not show the list of titles

    my playlists show how many titles are in the playlist but does not show the list of titles. Is there a setting that I hit by mistake to hide the content?

    Perhaps you have made one column extra wide and the window isn't currently showing the Name column. Try resizing columns, turning off those that you don't need, or scrolling sideways.
    tt2

  • I have an I phone 4s and I have many contacts in my phone.  However, whne my phone rings or I receive a text, the phone does not show the name of the contact person only the phone number.  I have checked every setting I can think of ?

    I have an I phone 4s and I have many contacts in my phone.  However, when my phone rings or I receive a message.  The phone does not show the name of the caller.  It only shows the phone number that is calling.  I am sure this is a setting problem, but I have checked every setting I can think of.  Any suggestions??

    If you are a Verizon user try this:
    Open the phone and dial *228. This is a Verizon over-the-air programming number.
    When the system answer press 1 for "Program or activate your phone"
    Wait for the call to disconnect. You should get a prompt stating "Settings updated."
    Double tap the Home button to bring up the recently used apps list at the bottom.  Locate the Phone, Message, and Contacts apps, swiping if necessary, and press and hold until they jiggle then press the red minus sign to stop them.
    Wait a 3-5 minutes.
    Try your phone again and see if it's fixed.

  • Trying to add 2 slideshows to one page, how can I make a slideshow so it does not show an image...

    Trying to add 2 slideshows to one page, how can I make a slideshow so it does not show an image until they click on the thumbnail?

    You can do this with "composition" widgets.

  • ' delete an app. All apps wiggle incl. the one in questions. However the app I want to delete does not show the x button. I reseted, also restrictions are on with on for apps delete. Suggestions?

    ' delete an app. All apps wiggle incl. the one in questions. However the app I want to delete does not show the x button. I reseted, also restrictions are on with on for apps delete. Suggestions?

    mardemar wrote:
    ... - the only one without an x delete button.
    What is the name of this App and where did you get it...?

Maybe you are looking for