Output From Web To Label Printer

I need to take text from a database, turn it into a barcode from the Web and print to a Zebra Z4M barcode printer. I am stuck at two separate approaches. 1. Use ZPL II (Zebra's proprietary language to command the printer) which is executed at a DOS Prompt with "COPY BarCode.txt LPT1" Is there any way to run that from the web. Also, is there any other method of sending the information in the text file to the printer?

Use some sort of ActiveX object to compile a barcode label image, then use another ActiveX object to remove the Header/Footer and Margins from the IE printout. I have found ActiveX objects that can compile the image, but have not found anything to block out the Header/Footer and Margins.

View Replies


ADVERTISEMENT

Output Printer

i m giving link print this article to my users to print the page.

Code:

<A HREF="javascript:window.print()">Print this article</A>

but it is printing whole window but i want to print only news part. i want to make the printed output "printer friendly". means stripped off the left and right side crap. And the banner ad at the top.

View Replies View Related

Label Without <span>

How do you write pure text out from a label? I don't want the <span> tags.

For example:

<script>
Owner_FullName.Text = "Lynn Solomon"
</script>

<html>
<asp:label id='Owner_FullName' runat='server' />
<html>

YEILDS:
<span id="Owner_FullName">Lynn Solomon</span>

I would like it to yield:
Lynn Solomon

View Replies View Related

Text Box, Label

A user selects a date from some select boxes on a page, an his selection is shown on a text box, so this content is changed dinamically each time the user changes the date. Can I show this text in a label instead of a text box (or text box without borders) how do I do that?How do I do labels or text boxes without borders?

View Replies View Related

ASP - Attach Label To FormElements

I need to attach a label to each form element on an html form as I can not use the element names. For instance, my element is

<input name="DT_Ctl">

in the asp I use,

For Each FormElement in Request.Form
mail_body = mail_body & FormElement & ": " & Request.Form(FormElement) & vbCrLf
Next

However this means I would get,

DT_Ctl: 1

in my email.

I need to re-label the element without changing the element name so that I would get something like,

Daytona: 1

I am guessing I could attach some sort of variable to each form element but how do I do that.

View Replies View Related

Asp Word Label Automation

I'm about to create an ASP script which will essentially parse SQL
tuples (rows) into a Word file, creating labels, although would need
to use the pre-defined label templates within word.
Can anyone direct me in the right direction?

View Replies View Related

Avery Label Wizard And ASP?

Does anybody know if the Avery label wizard included in Microsoft Word can be used in an ASP page? Basically I want to be able to set the content type on the ASP page to Application/MSword and fill out mailing labels using records pulled from a SQL Server DB.

I know that mail merge is available, but I need to use the extra logic provided via programming this myself. I was also thinking to just make a table and page the recordset so that each page can just be printed out. That brings me to my next point. If I set the content type to "application/msword" and use HTML is there any way to force a page break?

View Replies View Related

How To Change The Value Of Asp:label Dynamically?

I got this .aspx page with no access to the source code.(apparently it was lost)

anyways. I have this form with a datagrid that access values from a database.

<TD align="left" width="293"><asp:dropdownlist id="DropDownList16" runat="server" AutoPostBack="True"></asp:dropdownlist></TD>
<TD align="middle" width="127">$<asp:label id="Label32" runat="server">0</asp:label></TD>

If you look at the code above, asp:dropdownlist is a string, but I'm not sure if asp:label is a numeric. Since I don't have the source code, how can I change the numeric value that gets to the asp:label within the aspx page.

lets say i get a number 20, and I want to add 15 to it, how can this be done.

View Replies View Related

Text Field Value & Label

Is it possible to make the following codes Value = idSpecies but its Label TimberSpecies?

<input name="f1" type="text" id="f13" value="<%=((rsResults.Fields.Item("idSpecies").Value))%>" size="33">

I have a database with the following...

Table Name.....Query1
Field Name......idSpecies..........Auto Number
Field Name......TimberSpecies...Text Field

View Replies View Related

White Label Site Problems

I have two sites, one is a white label version of another. they both use exactly the same code.

The site that isn't white label works fine. Hover the white label site gives the following error:

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument: 'left'

/list.asp, line 234

I've looked at line 234 in list.asp and it is just a SQL expression that doesn't appear to have any problems: Code:

View Replies View Related

Convert Text Content To Label

I wish to convert the message received in the text box to be
replaced by the label with the same message as in the text box, After
upload button is clicked this action should be carried on.

So the data in the text box is stored to the database after the button
is clicked and also the textbox is converted to label with message in the
text box.

View Replies View Related

IE Printer

In my WEB application (developped in ASP), i would like to be able to print
a report with data extracted from DB.

I would like to have a button that when i click on it, i launch action like
IE - > FILE -> print.

how can i do this ?
I think that one way is to use activex but i would like to be able to not
use activex too.

View Replies View Related

Printer Friendly

Just looking for an affective and easy to use free 'Printer Friendly' script for an Intranet.

View Replies View Related

Printer Setup

Is there code that I can write that will change the user's printer setup so that my web page will always print out on one page. I would like the output of the page to look the same no matter who is printing the page. How do I do this?

View Replies View Related

Printer Orientation

I wanted to set one of printer friendly pages to landscape, where the user do not need to set it manually.... I tried adding this code to my page, but it doesn't seem to work:

<style type="text/css">
@page { size:landscape; }

</style>

View Replies View Related

Printer Friendly

I have an asp application that generate reports. The reports are a list of tables that contain information about users. each user has his own table. how do I get the tables to be printer friendly using either css or a script.And how do I page break the tables.

View Replies View Related

Printer Command

In Vb6 i use Printer.print command with coordinated printing... Is there any
way to use it also in ASP or how.

if creating server.createobject("param") what will be the param.

View Replies View Related

Buffer To Printer

Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objTemplateFile = objFSO.OpenTextFile(Server.MapPath("template.txt"))

strTemplateText = objTemplateFile.ReadAll
objTemplateFile.Close
Set objTemplateFile = Nothing

strTextToPrint = strTemplateText
strTextToPrint = Replace(strTextToPrint, "{date}", Date())
strTextToPrint = Replace(strTextToPrint, "{time}", Time())
strTextToPrint = Replace(strTextToPrint, "{message}", strMessage)
Response.Write strtexttoprint

How do I send strTextToPrint to my default printer?

View Replies View Related

Communication With The Printer

i need a asp coding to communicate with the printer.here i need to get printouts of the selected data from the system .inside my interface i give the printer port in the network,printer path and the username password,after checking these things it specify the print job .

View Replies View Related

Pause Printer

I am printing a payslip contains nearly 22 lines. Each time i am generating one employee payslip. If i print using window.print() prints the payslip and aligns to next page. I want to stop the printer and go back and generate next emp payslip. so that i can save paper.

How can i do this. I can generate 3 payslips but there are many calculations for each emp. so i want to generate one by one.

View Replies View Related

Printer Dialogue Box

I have print icon on a page and when clicked it goes to a page which is the same but without any buttons etc that do not need to be printed.

The client now wants that instead of clicking file print etc that the printer dialogue box pops up automatically.

View Replies View Related

Duplex Printer

Anyone had any fun with setting page breaks with a duplex printer? Example, you have one document with several sections each with a different number of pages.

But you always want each section to start on the front side of the paper not on the back of the last page of the previous section. I have seen information on setting left/right but I have not been able to get it to work.

View Replies View Related

Printing To The Host Printer ??

I am writing a website in asp for a take out restaurant. Customers can place order from their website. What I want to do is, print out the order form from the restaurant's printer when an order is placed, so none is required to manually print out the order list. Is it possible and how??

View Replies View Related

Printer Friendly Form

I have developed a client based form using vbscript for a web page to run on IE and would like to make this form printer friendly. Anyone have some ideas?

View Replies View Related

Printing From ASP To Network Printer

I have 2 questions :

1. - I want to print from my ASP page directly to my network printer. For this i use the following code, but everytime, my document to print is sent to local and physical port LPT1 not to network printer : Code:

View Replies View Related

Page Breaks To Printer

I am creating some reports with ASP and have come to a bit of a problem. Does anyone know how can I send a page break to the printer? I need to be able to start different items fresh on a new page and I really have no idea how to do it.

View Replies View Related

Printer Friendly Page

Just want to ask if anyone here has experience with doing printer friendly page. I have done a printer friendly page but the problem is if the line overflow, the printer friendly page will 'run' because my code count line by line, but by charactar or pixel.

View Replies View Related

Printer Friendly Pages

my data all can display.but when link it 2 printer friendly pages no data display

View Replies View Related

Printer Friendly Code

Is there a way to get a printer friendly page using ASP. And when I say this I do not mean removing banner, picture etc and print the page.

The problem I face is, an ASP output is a big table with say 10-15 columns and it would not print even in landscape mode. So if I print the output from the IE browser the right side of the table gets cut. I want to know if there is an ASP code to over come this problem.

View Replies View Related

To Send The Resultset To Printer

I want to send the whole resultset i retrieved. now i am retrieving the resultset and able to print 15 records in one frame. if i want to print whole the dump records what i have to do.?

View Replies View Related

Printer Connection From ASP Page

I'm using an ASP page to display all our office printers, I want the users to have to possibility to install the network printer with just one click on the page. Is this possible. ?? PS all information is retrieved from SQLServer.

View Replies View Related

Printing To A Network Printer

I have a string of text that needs to be sent verbatim to a printer. The text string is generated via ASP. I can't simply print from a client mahcine on our intranet through internet explorer to the printer as the IE headers and other formatting gunk cause problems. I want to set it up to print the data server-side to the printer.

That avoids people trying to send the data to the wrong printer, etc. Of course, the printer in question is a shared printer connected to a machine in a different office (It's a tag printer, is very loud, and is essentially being put somewhere where we won't have to listen to it).

I can't find a way to get this setup to work. Does anyone have any ideas?

View Replies View Related

Locate Printer In Server

I try to use ASP call to call a batch file and print report to the server's printer. But error message displayed to point out that ASP cannot locate printer in Server.How to do?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved