473,900 Members | 4,979 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to print label on network shared printer in ASP.Net

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 14096
Paul,

I am working on an application in c# trying to do the same thing you
have done. Can you send me your sample code.

Thanks,
Zewdi
*** Sent via Developersdex http://www.developersdex.com ***
Aug 4 '08 #51


Hello Paul,

Is the code still avaliable? I would really appreciate if you send me a
copy.

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Aug 18 '08 #52


Hi Paul,

It would be greate if you can share this code with me. Actually I stuck
this issue for the last 2 days.

I don't know how to make an interop call back to the Win32 API to
execute direct printing to a printer share.
Thanks
Roshan

*** Sent via Developersdex http://www.developersdex.com ***
Aug 20 '08 #53


Hi Paul,
CAn you please send me your ASP.net code to print to a network shared
printer?

Thanks in advance.
Matique.

*** Sent via Developersdex http://www.developersdex.com ***
Sep 24 '08 #54


paul can you send me the code please .

*** Sent via Developersdex http://www.developersdex.com ***
Oct 12 '08 #55
Hi Paul,

Could you also send me a sample of your code please? I am facing the
same problem. Actually, I am getting the response from UPS in the binary
format but i do not know , How to print it on zebra thermal printer. i
am using LP2844 thermal printer.

Thanks in Advance,
Ishwar

*** Sent via Developersdex http://www.developersdex.com ***
Nov 7 '08 #56
Hi Paul,

Could you please provide me with the sample code. Also if the zebra
printers are wireless is there a way to identify the nearest active
zebra printer when printing? Thanks in Advance!

Salma

*** Sent via Developersdex http://www.developersdex.com ***
Nov 18 '08 #57

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3299
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...
0
1658
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...
0
3261
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
12
2462
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.
13
3050
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....
24
2858
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
3
9543
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...
0
2990
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)
1
3883
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...
0
9997
marktang
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...
0
9845
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,...
0
11276
Oralloy
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...
1
10976
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,...
0
9671
agi2029
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...
0
7204
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();...
0
5891
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...
0
6082
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4721
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 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.