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 server machine locally. Anybody knows how
to do it?
Thanks,
Peng
Mar 9 '06
56 14065
Paul,
Could you please send the sample code to perform printing?
Regards,
Narahari
*** Sent via Developersdex http://www.developersdex.com ***
I've written an Inventory application and users would like labels
printed after they have added the items to the database. This is done
by filling out a form and then pressing submit. Upon submission I would
like to have a label printed.
I'm using a Zebra printer, connected to the users local machine, while
the application resides on a server and I use the barcodenet dll to
create the barcode to place on labels.
I have successfully been able to print labels as long as I'm in the
application on the server and the printer is located there, but this is
not the scenario that I need to implement. The printers will be located
far away from the server so I need to be able to send the print to the
local label printer.
Does anyone have any ideas how I can access the local printers from
within ASP.NET?
*** Sent via Developersdex http://www.developersdex.com ***
"Joanna Bar" <jo*****@hotmai l.comwrote in message
news:%2******** **********@TK2M SFTNGP02.phx.gb l...
I've written an Inventory application and users would like labels
printed after they have added the items to the database. This is done
by filling out a form and then pressing submit. Upon submission I would
like to have a label printed.
I'm using a Zebra printer, connected to the users local machine, while
the application resides on a server and I use the barcodenet dll to
create the barcode to place on labels.
I have successfully been able to print labels as long as I'm in the
application on the server and the printer is located there, but this is
not the scenario that I need to implement. The printers will be located
far away from the server so I need to be able to send the print to the
local label printer.
Does anyone have any ideas how I can access the local printers from
within ASP.NET?
You can't natively... Modern browsers are designed specifically to prevent
any sort of direct interaction with the hardware or software in the machine
on which they are running, for fairly obvious security reasons...
Does each user absolutely have to have their own Zebra printer?
If not, I would advise you to set up a dedicated print machine with the
printer attached, and write a Windows service which polls your database
server for labels to print...
--
Mark Rae
ASP.NET MVP http://www.markrae.net
Hi Paul,
I'm doing the exact same thing. Was wondering if you would send me the
code also.
thanks
*** Sent via Developersdex http://www.developersdex.com ***
If anyone there is still listening, can you please send me the code to
be able to do this !! I am desperate.
Thanks in advance.
Jenny
*** Sent via Developersdex http://www.developersdex.com ***
Hi Paul,
Can you send me your sample.
Thanks in advance.
Jimmy
--
cheebeng73
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
Hi Paul.
Guess what,
Would you please send me a sample of your code?
I would really appreciate it.
10x
*** Sent via Developersdex http://www.developersdex.com ***
Hi Paul
Would you please send me a sample of your code?
You are helping me out.
Thank you
*** Sent via Developersdex http://www.developersdex.com *** This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: KohlerTommy |
last post by:
In my application I need to give the user the ability to print duplex if the
selected printer supports duplex printing. Many of the printer options do
not make much sense in my application, and many of the settings in the common
printer dialog would have a negative impact on my printing process. To
handle this strict printing constraint on which my application imposes I do
not want to show the common print dialog. I want to be able to...
|
by: Pete Petersen |
last post by:
We are trying to send the results page to a Zebra LP2844 Printer with 4" x 2"
Thermal Transfer Label loaded on the network. The share is \\server01\ups
and it is installed on the Web Server that the clients are accessing.
I need to built a script to send the results page to this printer.
If i open Notepad and select this printer and set the Page Size to 4 x 2 and
the Margin to .01 all around I can send the job successfully from the...
|
by: Tessa |
last post by:
Is there any security reason why you cannot print to a network printer from
ASP.NET under IIS6 on Windows 2003 server?
I'm using ASP.NET code to print to a server print queue using
PrintDocument.Print()
(.NET framework v 1.1)
I can print to a local printer plugged into LPT1 on the web server, but not
to a network printer.
The same printing code to a network printer works in a .NET web app when
|
by: Peter Lin |
last post by:
Hey,
I am just wondering if anyone has got any idea of setting up a new class
so that you could just print like the old ways with the printer class,
since I am writing a program that really requires simple black and white
text printing, but there is alot to print and it's needed at various
places, which is why I find that the new printing style with the
printdocument a bit too clumsy.
Any help would be appreciated.
|
by: Daniel Crespo |
last post by:
Hi to all,
I want to print a PDF right from my python app transparently. With
"transparently" I mean that no matter what program handles the print
petition, the user shouldn't be noticed about it.
For example, when I want to print a PDF, Adobe Acrobat fires and keep
opened. This is what I don't want to happen (and I thing there are a
lot of people who want this too). So I just want to send the PDF to the
right handler and print it....
| |
by: Tony Girgenti |
last post by:
Hello.
Developing a Windows Form program in VS.NET VB, .NET Framework 1.1.4322 on a
windows XP Pro, SP2.
Before printing a document, i want to set the font to a font that is only
available with the printer that i am printing to(Zebra TLP2844).
When i open Word and look at the fonts available for the default printer, it
does not show the fonts i want. If i cahnge the printer to the printer that
|
by: Santosh |
last post by:
Hii..
i am printing crystal reports in asp.net for that purpose i am using
PrintTo Printer method but for that it is needed me to pass printer
name which is installed on my local computer but when i upload it on
server then it gives me an error no default printer . for printing
purpose their is another method in java script window.print() but it
print whole window which includes report toolbar and other buttons but
i want to print only...
|
by: John Smith |
last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of
Crystal Reports. Sometimes the users will preview a report in a
Crystal report viewer, and sometimes they will send the report directly
to the printer bypassing the Crystal report viewer altogether.
When sending the job directly to the printer I use the PrintToPrinter
command
CR.PrintToPrinter(1, False, 0, 0)
|
by: =?Utf-8?B?SmJhcmJlcg==?= |
last post by:
All users in my XP Professional PC were able to print to a network printer
until now. Now, the only account that can print to the network printer is the
admin account. I have an HP PSC 2200 series PC. The PC is shared in a PC
running windows 98. I have printing and file sharing enable in the windows 98
PC. I have also installed Norton 360, but I do not think this is the problem
as I uninstalled Norton 360 and limited user accounts were...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |