PDF conversion with windows 2000 not working

Hello all, I have a BSP application that is up and running.  When I print with an XP machine, I have no problems.  When I print with a windows 2000 machine, I am looping and never getting to the PDF open screen.  It just keeps looping but if I try from a XP machine, everything works.
Any help would be appreciated.  i have included some of the code.
* Conversion of output format OTF into PDF format
* now convert the final document (OTF format) into PDF format
  call function 'CONVERT_OTF'
       exporting
         format                      = 'PDF'
*         MAX_LINEWIDTH               = 132
*        ARCHIVE_INDEX               = ' '
*        COPYNUMBER                  = 0
       importing
         bin_filesize                = l_pdf_len
         bin_file                    = l_pdf_xstring       " binary file
       tables
         otf                         = ls_output_data-otfdata
         lines                       = lt_lines
       exceptions
         err_max_linewidth           = 1
         err_format                  = 2
         err_conv_not_possible       = 3
         err_bad_otf                 = 4
         others                      = 5
  if sy-subrc <> 0.
*   error handling
*    message id sy-msgid type sy-msgty number sy-msgno
*            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.
* Fill HTTP request
  response->set_header_field( name  = 'content-type'
                              value = 'application/pdf' ).
* response->delete_header_field( name = 'pragma' ).
* response->delete_header_field( name = 'expires' ).
* response->delete_header_field( name = 'cache-control' ).
* some Browsers have caching problems when loading PDF format
response->set_header_field(
                    name  = 'cache-control'
                    value = 'max-age=0' ).
* start PDF viewer either in the Browser or as a separate window
  if pdf_in_browser is initial.
     response->set_header_field(
                        name  = 'content-disposition'
                        value = 'attachment; filename=BenConf.pdf' ).
  endif.
* finally display PDF format in Browser
  l_pdf_len = xstrlen( l_pdf_xstring ).
  response->set_data( data   = l_pdf_xstring
                      length = l_pdf_len ).
  navigation->response_complete( ).

You must remove all the no-cache headers and definitely disable GZIP compression for PDF files.
Look at <a href="https://wiki.sdn.sap.com/wiki/display/BSP">BSP Wiki</a>:
Handling Binary Data
PDF

Similar Messages

  • PDF conversion with PDF2ID; Hypertext not working when exported back to pdf.

    I have done a PDF conversion with PDF2ID, however Hypertext is not working when I exported it back to pdf. I am using the PDF2ID plug-in program to redo all the product booklets for our company as the hypertext did not work when downloaded to any smart phone. All that appeared were blank placeholders in each booklet index page.
    According to the PDF2ID people the program plug-in recovers all URLs static and dynamic and bookmarks and local links and suggested I check with Adobe ID5 for help, but Adobe says my $1,000 ID5 is no longer supported and that I should go to the forums.....so here I am.
    This is the first time I've even opened my ID5, so I'm a bit lost. Now I need to improve the quality of the PDFs, as we also need to convert all images to TIFF-CMYK in order to have the booklets printed & bound professionally. they tell me ID can do that.
    Any help is greatly appreciated.
    David

    Daveorne wrote:
    they tell me ID can do that.
    Ugh...in some companies, that is training.
    Don't take this the wrong way David, but of course ID can't do anything. PDF2ID conversions can be sketchy in the hands of the experienced. The same can be said of properly preparing matials for print. As Bob has already alluded, you're in an unfair position there. It's not uncommon for "management" types to just throw some sophisticated tools at a need and expect someone to make it work. In order to do what's being asked of you, you'll have to learn a fair bit about InDesign and production. It's too soon to ask about the output when you haven't learned to manage the input.

  • SGD 4.6 - PDF Printing on Windows Clients not working

    Dear all
    Installed SGD 4.6 with Win2008 Terminal Server.
    PDF printing works from Mac clients, but not from Windows XP.
    Is this a known issue?
    kind regards
    Werner

    Please be aware of the following:
    http://download.oracle.com/docs/cd/E19351-01/E23103-01/cjbchfdj.html#z40000061595090
    New Default PDF Printer Driver for Windows Applications
    The default printer driver used for Portable Document Format (PDF) printing from Windows application servers is now HP Color LaserJet 2800 Series PS. This change was made to provide support for Windows 7 and Windows Server 2008 application servers.
    In previous releases, the default PDF printer driver was HP Color LaserJet 8500 PS. If you are upgrading from an installation that uses this printer driver, SGD is reconfigured automatically to use the new default printer driver. If you are upgrading from an installation where you have configured SGD to use a different printer driver, your existing configuration is preserved on upgrade. If you are using using Windows Server 2003, Windows Vista, or Windows XP application servers, the new default printer driver results in the PDF printer not being mapped.
    Regards,
    Arno Staal
    Divider B.V.

  • Zen Micro with Windows 2000 Not Recogni

    Help!! My computer operating Windows 2000 no longer recognizes my Zen Micro. It used to but no longer. I have searched through all the help loading everything under the sun with no success. My Micro is operating with Version ..0 that I understand should and has worked in the past with W2000.
    Please help. This is ridiculous - no Zen here.

    I finally figured that out. With ME or 2000, I needed to:
    ) download the version firmware to my memory stick
    2) take the player and V firmware to an XP machine
    3) have the older firmware flashed into the player
    4) reinstall the player on the ME machine
    I did all that, had Best Buy do the reflash, and it's working now.
    A few more questions:
    If I later update the computer to an XP, any problem with reinstalling Version 2 firmware (other than loosing stored data in the player)?
    Exactly how many features are not supported by version firmware? I'm aware that it won't support subscription services, e.g., Napster To Go, and audible format. Are there any other missing I should be aware of?
    TIA
    JRC

  • Javac windows 2000 not work

    I instaled Java 1.4.1_01 but my new windows 2000 don't let me compile .java
    so, javac do not work
    please help

    that's done, do I suppuse to have javac.exe on my /bin
    directory?Yes! Are you sure you downloaded the JDK? If you downloaded only the JRE, you will not have any development tools. The JDK is available from the same download page as the JRE.

  • PDF link with page ref not working in Chrome, Firefox

    http://1234321.abc/media/homestudy.pdf#PAGE=22
    Does not go to the proper page in Chrome v33.0.1750.154
    Does not go to the proper page in Firefox v27.0.1
    Works in IE v11.0.9600
    Works in Opera v12.16
    Works in Safari v5.1.7
    PC/Windows 7 Professional
    Cp 7
    Acrobat X v10.1.9

    Sachin,
    Thanks for getting backt to me. Upon further investigation, I realized that the tablet version of the site was being pulled up instead of the desktop, but only on certain systems and browsers.
    In the instance above it happened when it was opened in Window 8 and 8.1 using Chrome 32 and Chrome 33 (dev). I reproduced the problem using the testing simulators in BrowserStack.
    The tablet version also loads up when using a new MacBook Pro 15inch Retina, OS X 10.9.1 and Chrome 32.0.1700.77 (listed as the latest). Again, I reproduced the problem using the testing simulators in BrowserStack.
    I cleared cache, cookies, and history and tried it again, and found the same problem.
    Furthermore, using that same MacBook, when it is plugged into a Thunderbolt display, it pulls up the correct version (the desktop version) when using Chrome.
    Seems to works fine in Safari, IE, and Firefox.
    The website is www.cookbrite.com. But currently we are redirecting traffic to the test version of the site on Business Catalyst as it works fine there. So entering cookbrite.com takes you to cookbrite05.businesscatalyst.com.
    Zak Williamson (Adobe Staff member) sent this link in response to another post I placed yesterday once I realized what was really going on. This clued us into the temp fix we now have of redirecting traffic to the BC site.
    See <http://forums.adobe.com/message/6019998>
    However, I haven't heard a permanent solution yet. Is Adobe really suggesting, as implied by the response from Zak, that in order to fix this that any site developed via Muse should be hosted on BC to insure it will work? Or is there a way to fix or change how different devices are detected so sites not on BC will work properly with the latest Chrome products?
    Thank you. I hope all this detail helps.

  • Printer and File Sharing with Windows is not working

    I have a MacBook Pro, Vista machine, and an XP machine on my network.
    The MacBook Pro is running 10.5.2.
    The Windows machines can see the MacBook Pro and access files on it, but I cannot see the Windows machines in Finder - thus I can't access the printers on those machines.
    If I goto 'Finder> Go> Connect to Server' and enter smb://ipadress I am able to mount the shares and access them.
    But obviously this does not help me with Printer sharing.
    Any help is appreciated, but FYI I have been reading many suggestions and none have worked.

    Go to "System Preferences/Security/Firewall" and change settings to: "Set access to specific services and applications". "File Sharing" and "Printer sharing" were already present for me, I don't know how to get them if they are not, and I don't know what the ramifications for security are. I can now see Windows computers and printers.

  • Satellite A300-20P - Games with Windows 7 not working in full screen

    I have Satellite A300-20P and VGA ATI 3650
    I made upgrade to Windows 7 Professional
    All games working well but not in full screen. I installed the last driver for ATI for Windows 7. It was working in full screen in Vista before I make upgrade.
    Same problem on my brother`s laptop after he make upgrade to Windows 7.

    Hi
    Normally you can change the screen resolution in every game and if they should run in full screen mode or not. Check this!!!
    Can you also tell us what display driver you have installed? The drivers from the Toshiba page are for desktop cards and not for mobile cards. So please use only the Toshiba drivers.

  • TC Fileshare with windows xp not working

    I am trying to get the TC to show up as a fileshare for windows machines. I was told its capable of it. Can someone help.
    Regards

    Try adding the workgroup that your Windows machine is a part of in AirPort Utility. Enter Manual Setup > Disks > File Sharing, and you should see a workgroup field. Then you need to add your Time Capsule's IP address to the list of trusted networks/zones on any software firewalls you have installed. The default IP is 10.0.1.1 Your TC's HDD should appear in My Network Places. If that doesn't work, you can install AirPort Utility for Windows which comes on the TC's CD. It includes AirPort Base Station Agent, which mounts in your taskbar and allows you to connect to your Time Capsule's HDD.

  • PDF conversion to Excel spreadsheet not working properly

    I purchased the Adobe ExportPDF yesterday.  I have tried to convert PDF into an Excel spreadsheet and it does not recognize any of the formatting and it just converts into one big mess in the spreadsheet. 

    Any one?

  • Pdf conversion down load is not working for cheinees language

    kindly help me to solve the issues.
    is there any way to convert the spool request which is in chinese langauge,
    Requirement is to download SAP Script to PDF, where the PDF file should be in Chinese format.
    i used the following FM
    1)CONVERT_OTFSPOOLJOB_2_PDF
    2)CONVERT_ABAPSPOOLJOB_2_PDF
    in the spool the chinese format is visible, but in the PDF instead of the chinese language, v r getting Junk values. we r using program rstxpdft4  for pdf download
    Thanks in Advance. 
    prakash

    hi,
    try this:
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = lc_pdf
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = lv_filesize
        TABLES
          otf                   = pv_otfdata
          lines                 = li_pdfdata
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.

  • Labview 2009 .exe not working with windows 2000

    I created a simple vi with Labview 2009 to reset a counter in registry key. I changed it to an exe. The program runs fine on any machine with XP but it does not work on the machine I need it on which is running Windows 2000 SP4. I installed the 2009 runtime but I continue to get an error when it starts up saying the vi is not executable and that I need the full development to fix the errors. But like I said it works every where else. I've tried other exe wrote in LV2009 on this machine and they work. Is there something in my vi that is not compatible with Windows 2000?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Serial Number Reset Cell 2.vi ‏15 KB

    There was an issue with building DLLs on Windows 2000 - http://digital.ni.com/public.nsf/allkb/431C9BD8F3482033862576A90073441F. Since you say you are trying an EXE, this may not be applicable.
    George M
    National Instruments

  • Working with Windows 2000 ?

    Hello, I'm new to Java but been programming 15 years, hell knows why I waited till now to use Java but it is great !
    I want to write some applications that control and work with Windows 2000. I realise they would not be platform independent but is this sort of thing possible ?
    or .... just as an example what if I wanted to control some feature of the linux os ?
    thanks
    C

    It is possible. All you need to know is how to use JNI. I think there are only two books out there about JNI, I would recommend the one from Sun.
    You can download it here: http://java.sun.com/docs/books/jni/index.html

  • AT-AO-10 doesn´t work with Windows 2000

    I have an AT-AO-10 board that doesn’t work with Windows 2000. I have reserved two IRQs for legacy devices (non plug and play) in BIOS. The AT-AO-10 has got assigned these IRQs, a DMA and a base address that are free, and there aren’t any hardware conflicts, but the board doesn't pass the MAX's text.
    In Windows 'Information System', the board is shown in 'Forced hardware', but I don’t know that is a problem.
    If the board is unplugged, error messages are the same.

    Hello;
    You didn't mention what version of the NI-DAQ driver you are using over there. Anyway, my suggestion to you is to uninstall the NI-DAQ driver you have installed, remove the board, reboot the machine, download and install the latest NI-DAQ version (6.9.3) from NI web site.
    Try the installation with the new driver, and if that is still not working, the best bet is to try the same installation on a different machine to double check if the hardware is not defective.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • TS1363 "An iPod has been detected but it could not be identified properly"  iPod Nano 7g and 3g won't work with Windows 8 PC. worked fine up until a month or so ago and now they are not recognized.

    "An iPod has been detected but it could not be identified properly"  iPod Nano 7g and 3g won't work with Windows 8 PC. worked fine up until a month or so ago and now they are not recognized.

    Hi cueball819,
    Thanks for using Apple Support Communities.  This article has steps to try if your iPods aren't recognized by iTunes or Windows:
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/TS1369
    Cheers,
    - Ari

Maybe you are looking for

  • How to change the contextPath of JSP?

    Hi all, I feel this is a common problem all new JSP developers will experience. But I couldn't find a feasible direct solution over the net. Before explaining the problem let me display my directory structure: the war file has the following structure

  • CFMAIL in MX7

    I recently moved from CF5 to MX 7. When going through a CFMAIL query if an email address in to "To" field is malformed, the entire application appears to stop. In previous versions, it would continue sending email but would simply throw the malformed

  • Plz increase performance of this report

    hi all i want to know how can i improve the performance of my report. the code is given below and it takes so much time on production even for single record plz help HERE COMES THE CODE *& Report  ZGRSTATUS REPORT  ZGRSTATUS. TYPE-POOLS slis. TABLES:

  • URGENT: tabular form based on multiple tables

    Hi All, Its very urgent.......Can anybody tell me how to create a single tabular form to insert/update values from different tables. I want to create a tabular form with 3 cols. 1st col should be from one table and another two cols from other table.P

  • How do I connect my ipad to my car stereo without the ipad screen message 'Accessory connected'

    How do I connect my ipad to a car stereo without the screen message showing, 'Accessory connected', which prevents me being able to select the music I want from ipad screen.