23,239 questions
2
votes
1
answer
4k
views
Monitoring a printer [closed]
I've written a DLL that monitors our netowork printer. The printer is connected to the server via USB cable. When I print something directly from the server, it displays information about pages sent/...
2
votes
3
answers
219
views
Printing from the web with few steps
I need to add functionality to my J2EE-based wep application:
1) Take some page, probably with form controls, convert it to some printer friendly format.
2) Print this rendered format a) without ...
4
votes
4
answers
2k
views
Persisting Printer Settings
What is the best way to persist/save printer settings in .Net?
There used to be a bug in .Net 1.1 in the serialization of the PrinterSetting object and there were some workarounds but I'm wondering if ...
5
votes
5
answers
20k
views
How do you control printer tray selection for printer in Windows
We need to be able to change the default selected print tray of a given printer. Does anyone have VC++/win32 code for doing this?
In case it matters, I believe we have to change the default setting ...
13
votes
10
answers
18k
views
Printing barcode labels from a web page
I am working on an ASP.Net web application that must print dynamically created labels on standard Avery-style label sheets (one particular size, so only one overall layout). The labels have a variable ...
4
votes
9
answers
10k
views
How do you convert pixels to printed inches in JavaScript?
I want to resize the font of a SPAN element's style until it the SPAN's text is 7.5 inches wide when printed out on paper, but JavaScript only reports the SPAN's clientWidth property in pixels.
<...
2
votes
2
answers
5k
views
Remote print module in Java
I am working on an application that will sport a web-based point of sale interface.
The point of sale PC (I am not sure as of now whether it will run on Linux or Windows) must have a fiscal printer ...
4
votes
1
answer
590
views
How to capture the "Print" button from the menu bar in a macro
I have a sheet with a custom button on it from where I control the printing process.
Now the user clicks on the menu bar's print icon and this produces an "undefined" output.
How can I intercept ...
3
votes
3
answers
5k
views
Eclipse C++ pretty printing?
The output we get when printing C++ sources from Eclipse is rather ugly.
Is there are way/a plugin to pretty print C++ source code like e.g. with a2ps (which is probably using yet another filter for ...
4
votes
5
answers
9k
views
Sending raw data to FedEx Label printer
I'm working on a .NET WinForms app that needs to print a FEDEX shipping label. As part of the FedEx api, I can get raw label data for the printer.
I just don't know how to send that data to the ...
5
votes
8
answers
5k
views
What is the best way to generate and print invoices in a .NET application?
I'm working on a billing system for a utility company, and we have the following requirements:
Batch-generate and print approximately 1,500 bills per day that we then mail to customers
Save the bill ...
11
votes
13
answers
11k
views
How can you make a web page send to the printer something different than what's in the browser window?
Google Maps used to do this bit where when you hit the "Print" link, what would be sent to the printer wasn't exactly what you had on the screen, but rather a differently-formatted version ...
1
vote
4
answers
410
views
What is the best way to print screens from an ASP.NET page .NET1.1/.NET2.0
I have seen examples of printing from a windows application but I have not been able to find a good example of any way of doing this.
2
votes
4
answers
626
views
Printings using CUPS, when can my app quit?
I have an linux app that uses cups for printing, but I've noticed that if I print and then quit my app right away my printout never appears. So I assume that my app has to wait for it to actually come ...
4
votes
2
answers
23k
views
Easiest way to add a Header and Footer to a Printing.PrintDocument (.Net 2.0)?
What's the easiest way to add a header and footer to a .Net PrintDocument object, either pragmatically or at design-time?
Specifically I'm trying to print a 3rd party grid control (Infragistics ...
6
votes
4
answers
8k
views
Printing in Adobe AIR - Standalone PDF Generation
Is it possible to generate PDF Documents in an Adobe AIR application without resorting to a round trip web service for generating the PDF? I've looked at the initial Flex Reports on GoogleCode but it ...
8
votes
5
answers
5k
views
How do I make an HTML page print in landscape when the user selects 'print'?
We generate web pages that should always be printed in landscape mode. Web browser print dialogs default to portrait, so for every print job the user has to manually select landscape. It's minor, but ...
10
votes
2
answers
10k
views
Does Mono support System.Drawing and System.Drawing.Printing? [closed]
I'm attempting to use Mono to load a bitmap and print it on Linux but I'm getting an exception. Does Mono support printing on Linux? The code/exception are below:
EDIT: No longer getting the ...
6
votes
2
answers
977
views
Printers not available unless shared
We are using classic asp to call a C# dll and in the C# dll we are using System.Drawing.Printing.PrinterSettings.InstalledPrinters to get a list of availabe printers. If the printers are not shared ...
86
votes
6
answers
18k
views
How do I print an HTML document from a web service?
I want to print HTML from a C# web service. The web browser control is overkill, and does not function well in a service environment, nor does it function well on a system with very tight security ...