Print - Size of Page

M

Mangler

This is probaly a dumb question but I cant find the answer. I need to
print some data to a label from a web page. The label is 2.25" x 1.25"
and when the page is printed the printer spits out 2 pages. I assume
the page can be sized but I dont know how. Can anyone give an example
or refer me to a place where I can get some help? Below is my page, its
displays a barcode and some info above and below it.

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Barcode Breakdown</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<script language="javascript1.2">

function autoClose() {
setTimeout("window.close()", .2 * 1000) // 30 is seconds



}


</script>
</head>


<body onLoad="autoClose()">

<p>
<%
RMABarCode = Request.QueryString("rma")
response.write Request.QueryString("phmodel") & "<div><img
src='barcode.asp?code=" & RMABarCode &
"&height=25&width=1&mode=code39'></div>" & Request.QueryString("rma")
& "-" & Request.QueryString("idlot")
%>
</p>

<script language=JScript>
window.print();
</script>
<p>&nbsp; </p>
</body>
</html>
 
M

Mike Brind

Mangler said:
This is probaly a dumb question but I cant find the answer. I need to
print some data to a label from a web page. The label is 2.25" x 1.25"
and when the page is printed the printer spits out 2 pages. I assume
the page can be sized but I dont know how. Can anyone give an example
or refer me to a place where I can get some help?

Try a CSS group for advice on sizing.

comp.infosystems.www.authoring.stylesheets
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top