Skip to Content
avatar image
Former Member

Call print function from ABAP/BSP

Hi all,

I've an holiday map that is called from portal as a bsp, it open in a new window without the functions "file", etc.. an window only with the top bar (minimize, maximize and close), then, if I press CTRL-P it opens print functionality, how can I call it from a buttom in the BSP !?!?

Thanks all for the help,

Best Regards,

Pedro Rodrigues.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 29, 2006 at 03:42 PM


    this can be done via Javascript, use something like:


    You can place this behind a link like:

    <a href="javascript:this.window.print();">print this</a>

    if you place this on the page and click, the standard print options dialog will appear.



    Add comment
    10|10000 characters needed characters exceeded

    • Hello Pedro,

      the problem here is, that the Internet Explorer provides this image with a given size for the Windows Pinting environment. The easiest way to go is surely to have image wich can fit on the paper, or many printers support "scaling". You should find this on the print dialog >> preferences >> paper / quality >> advanced. /* E.g. oure HPLJ 4050 printer supports this */

      I hope it helps.