Print the Label in Right bottom corner

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajujrk
    New Member
    • Aug 2008
    • 107

    Print the Label in Right bottom corner

    HI All,

    I have a html page that prints some information like in the attached image:
    [imgnothumb]http://bytes.com/attachments/attachment/6562d1345101705/loaner-paperwork.jpg[/imgnothumb]
    There I have a Label Section, this section should print Right-Bottom Corner of the paper (not in Webpage).

    I herewith attached the image that shows how it should print in the paper.

    Can anyone please give me a solution How to set the printer paper settings using Javascript and ActiveX object

    See the below post for the attached image

    Thanks in Advance
    Last edited by Frinavale; Aug 16 '12, 04:56 PM.
  • ariful alam
    New Member
    • Jan 2011
    • 185

    #2
    I have no idea about setting position using JavaScript and ActiveX object for printing a content in a webpage. But i think you can do this using CSS @media print setting.

    CSS @media print is used to set up a web page for printing.

    The Label may be set using CSS margin-top and margin-left.

    Hope works for you. :)

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      I don't think that you need to use JavaScript or ActiveX for this.

      Use the print CSS that ariful alam mentioned and set the style for the label to be have position:absolu te and bottom:0 and right:0.

      -Frinny

      Comment

      Working...