1 Reply Latest reply: Nov 6, 2013 5:48 PM by Mike Kutz RSS

    How to avoid scrollbar while printing a page

    Lecc23

      Hi partners,

       

      I´m building an application using Oracle Application Express version 4.1. I created a page with several regions showing data from a oracle database tables. It contain also a subregion with some items (Texarea).When the page is rendered, the items are showed with scrollbar given that it fetch text from column tables with a maximun of 4000 characters. The problem shows up when the user try to print the report since it does not print all content of fields but scrollbar are printed instead, triming the field´s content. The user excecute the print action using a button executing a URL with a URL target "javascript:window.print();"

      I dont know if the issue can be solved modifing the textarea´s attributes or is necesary to complete the javascript instruction´s parameters. Following are the items configuratios:

       

       

      Page Item:

      Application:109 SCSG_oficial_Fll

      Page: 103 Consulta de Fichas

      Name: P103_XOBJETIVO_AGRAVIADO

      Display As: Textarea

       

      Displayed:

      Sequence:10

      Region:Ficha(1)4

      Begin On New Line: Yes, Field:Yes, ColSpan:1, RowSpan:1

      Width:100, Maximun Width:100

      Height:1

       

      Label:

      Label:Objetivo Agraviado

      Horizontal/Vertical Alignment: Right

      Template:Optional

      HTML Table Cell Attributes:

       

      Settings:

      Value Required: No

      Resizable:No

      Auto-Height: Yes

      Character Count: No

       

      Element:

      Horizontal/Vertical Alignment: Left

      HTML Table Cell Attributes:

      HTML Form Element Attributes: readonly="readonly"

      Pre Element Text:

      Post Element Text:

       

      Source:

      Source Used:Always, replacing any existing value in session state

      Source Type: Database Column

      Maintain session state: Per session

      Source Value or Expression: XOBJETIVO_AGRAVIADO

       

       

      The print button located at the nabigation Bar has the following configuration:

       

      Entry Display:

      Sequence:30

      Begin in the new Line: No

      Cell Column span:1

      Entry Label: Imprimir

       

      Target:

      Target Type: URL

      URL Target: javascript:window.print();

       

      I appreciate any help since I dont know where to fix this issue,

       

      Thanks in advance,

       

      Luis Contreras