Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 20th, 2006, 06:45 PM
Mangler
Guest
 
Posts: n/a
Default Print - Size of Page

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>

  #2  
Old December 26th, 2006, 09:15 AM
Mike Brind
Guest
 
Posts: n/a
Default Re: Print - Size of Page


"Mangler" <dwaldman@directwireless.comwrote in message
news:1166640208.249392.119760@79g2000cws.googlegro ups.com...
Quote:
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

--
Mike Brind


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles