How To Automatically Send Print Job From "Cloud" Server To Printer
Aug 20, 2010
A picture is supposed to be worth a 1000 words, so let's see if that can shorten this post up a bit... Essentially, I'm looking into "how" to code a solution that runs on the web server within the cloud that will send a print command to a printer within office 1 (label printer).
The print job is really part of work flow within the ASP.NET web application and I would like to keep all of the code within a single application if possible. How can I go about doing this?
Due to security, I should avoid creating a new application within Office 1 that pulls data from the "cloud" and have the "cloud" be used to push the command downward. I'm really looking at this from a code standpoint within the ASP.NET app and also potentially transcending into more of a serverfault/superuser question on the printer. I'll save that for a future question there though.
I want to be able to automatically print a document to a selected printer at a given time, i.e. printer 1 @ 10:00, Printer 2 @ 10:15, this is to be unatended once the setting have been made.
In our solution we have a crystal report displayed on screen, we also have a copy of the report saved in temp file on the server.
We have tried using the Crystal Report ActiveX for printing and it works fine if the user has the proper access rights to their PC but in the environment it will be deployed there is no guarentee this would be the case.
I'm looking for a method (that doesnt involve ActiveX) of printing a file saved on the server (example a PDF file) to the users local printer.
The printer could be a shared printer on the network or a printer connected to their PC.
We have ported an existing ASP app to ASP.NET and are now having problems printing from the server to network printers, e.g. to\hereprintername.
This used to work with our ASP app, and printing to server-locally installed printers still works.
I suspect that there is some security or Group Policy object that must be changed to allow printing from an ASP.NET web application to a network printer?
Or perhaps, accessing Active Directory from an ASP.NET application is a problem?
I have an ASP.NET application where user is Anonymous when he connects to website. Also I have a printing server inside network. I want to let this user to print to the network printer.
In order to print I have to use File.Copy command. When I do this I get "Access denied". So I tried to impersonate the user with credentials of user that is inside domain and has the rights to print to that specific printer.
The problem is this user has to be Administrator, and I cannot let him be the Administrator. When this user is not Administrator then the printing is not working ("Access denied").
I tried to use Network Credentials but I don't know how to set credentials to command File.Copy. This command doesn't have any extensions or overloading for credentials.
Is there anyway that I can print a file (either word, excel, or pdf) to a network printer using C#? I tried to search around but I haven't find an answer yet
I want to create method in web application ASP.Net + C# to take as input parameters PDF files paths then print all of it without showing Selection printer dialog so it print using default printer
How to use IDAutomationHC39M Barcode from Text Box And Button Click ... i want to write number in text box and print using this barcode font in zebra printer...
In VS2008 C# web applications when using Microsoft Reportviewer to create an embedded rdlc report you can generate a report on the screen but when you try to send that same report to the printer by clicking the printer icon on the toolbar you get an error stating:
"unable to load client print control"
How do you get the report to print on the printer?
I have designed a report for printing cards and am able to print it on my local machine but when i upload on the server, i can preview the report but when i click print through a pdf its coming out blank.
I want to Find the Printer under the Local Area network(intranet).
After press print button, its give printout with out popup the print-window. is it posible in web allplication. if its posible means how can i approch.
I have a webpage that activates a print job on a printer. This works in the localhost environment but does not work when the application is deployed to the webserver. I'm using the PrintDocument class from the .net System.Drawing.Print namespace. I'm now assuming the printer has to be available to the application on the remote server?
PrintDocument pd = new PrintDocument(); PaperSource ps = new PaperSource(); pd.DefaultPageSettings.PaperSize = new System.Drawing.Printing.PaperSize("Custom", 1180, 850); pd.PrintPage += new PrintPageEventHandler (this.pd_PrintPage); // Set your printer's name. Obtain from // System's Printer Dialog Box. pd.PrinterSettings.PrinterName = "Okidata ML 321 Turbo/D (IBM)"; //PrintPreviewDialog dlgPrintPvw = new PrintPreviewDialog(); //dlgPrintPvw.Document = pd; //dlgPrintPvw.Focus(); //dlgPrintPvw.ShowDialog(); pd.Print();
I would like to create a print button to send a .rdlc report to the users printer. Since i'm not using report viewer to view my reports using it's controls is not an alternative.
I have a button that generates a .pdf file from the report, and now i would like to make a similar button, but to print the report.
I want to make sure my theory of an upcoming project will work. Online ordering form for a restuarant. Order will be for pickup or delivery. no payment online. so gather order information and call web service which lives on a computer at the restaurant, this web service will log the order information into a file then send the order information to a ticket printer in the kitchen.
Our client has a Canon iR/3235 PCL5 printer that they want our asp.net mvc web application to print to. But the printer requires a department id and password interactively.
Is there a way to set the id and password in code with the application when printing to it?