473,320 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Print the Label in Right bottom corner

107 100+
HI All,

I have a html page that prints some information like in the attached image:


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
http://bytes.com/topic/web-applicati...-bottom-corner
Thanks in Advance
Aug 16 '12 #1
2 1949
ariful alam
185 100+
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. :)
Aug 16 '12 #2
Frinavale
9,735 Expert Mod 8TB
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:absolute and bottom:0 and right:0.

-Frinny
Aug 16 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: jrlen balane | last post by:
i am working on an MDIParentFrame and MDIChildFrame. Now, what i want to do is make the ChildFrame not that easy to close by removing the close button (the X on the right most corner of the window)...
2
by: csgraham74 | last post by:
Hi guys, I ve created a web control - i want to make sure that it always sits at the very bottom of the browser screen. How can i achieve this. Ive been playing about with tables etc.. in html...
5
by: Richard Shewmaker | last post by:
Hi. I've been using CSS for basic stuff, mostly concerning fonts. I want to get going with using CSS fully. Two days ago I purchased O'Reilly's "Cascading Style Sheets" and "CSS Cookbook." I've...
1
by: tradmusic.com | last post by:
Hi, Is it possible to set a border to only be on the right, bottom and left? I tried this, but it isn't working: border: 0px 1px 1px 1px solid #000000; Any help would be greatly...
2
by: jj | last post by:
I have a single threaded application in c# that scans through a file system. While doing this if I try to minimize, maximize buttons on the top,right hand corner of my form do not do as they are...
56
by: peng | last post by:
Hi, I am development a project using C#.Net. Inside application, it needs to print labels on different Zebra label printers on the network. I used a shell script, but it only worked on the...
3
rblaettler
by: rblaettler | last post by:
Hey I need to position an Icon OVER the right bottom corner of an other CSS element, but with variable height and width. So just absolute positioning would not work. I have something working with...
3
zybernau
by: zybernau | last post by:
Hi everyone, how to find the position of the right bottom corner of the screen i need to design a form and make it display in the right bottom corner , this should work even in various...
2
by: Eng Teng | last post by:
How do I set my form start at the right bottom site in any monitor resolution? Regards, Tee
0
by: zacks | last post by:
On May 2, 11:37 am, "Eng Teng" <engt...@gmail.comwrote: System.Windows.Forms.Screen.PrimaryScreen
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.