printing

How do I keep a <td> element from appearing across multiple pages when printed from IE?

I have an HTML table of data where each cell can have multiple lines of text. When the table is printed, it's possible for a row to be broken up so that some of the data appears at the bottom of the first page and some appears at the top of the next. Is there an equivalent to Word's "keep together" functionality that will prevent a page ...

Sending Documents to a Network Printer using .NET

We have large IBM Infoprint printers. I need to read a bunch of PDF files off a database, merge them together, and send it to one of these printers. I need to be able to specify many options such as what tray to use, with/without staple, etc. All of these options can be manually set when I try to print something off my computer (via t...

System.Windows.Forms.WebBrowser.Print() displays print dialog

From MSDN: This method prints the current document without requiring further user input. To display the Print dialog box prior to printing, use the ShowPrintDialog method. But when I execute .Print() in my code, I always get the normal Windows printer dialog box. My question is simply: how do I avoid display of the printe...

printing a hidden form in C# -- reports

I'm not entirely sure what is the best approach to this problem, so hopefully you guys can help me out. I have a lot of data that needs to be formatted in a manner which is yet to be determined (I'm thinking many tables will be needed to display this data properly) and printed out to a printer. My first idea was to create a new form an...

sending page from form to printer vb.net

hai cud any one tell how to send a picture or data from a form in vb.net to printer ...

Setting correct printer in MS Word through automation

I have the following automation code: lPrintSetup := fWordObject.Application.Dialogs.Item(wdDialogFilePrintSetup); lPrintSetup.Printer := 'MyPrinter'; lPrintSetup.DoNotSetAsSysDefault := True; lPrintSetup.Execute; lPrintSetup := Null; The Printer property is giving me some problems, sometimes Execute crashes with an EOleException (0x8...

XpsDocumentWriter.WriteAsync not working

I am trying to use XpsDocumentWriter.WriteAsync to write to a printer. Write works perfectly but as soon as i use WriteAsync nothing happens. Do i need to do anything special to use WriteAsync ? ...

how to print tiff files automatically

I'm having a folder which will contain only one tiff file at a time, so the moment i receive one i should be able to print it to the default printer, i have a small windows application which is looking for any tiff files in the particular folder i just have to print it to the default printer the moment a tiff file is received, how to do...

Detecting browser print event

Is it possible to detect when a user is printing something from their browser? To complicate matters, if we are presenting a user with a PDF document in a new window is it possible to detect the printing of that document ( assuming the user prints it from the browser window)? The closest I've been able to find is if we implement custom...

~/Library/PDF Services gone in Snow Leopard

Hey Y'all - I'm using the ~/Library/PDF Services directory to inject an item into the PDF Workflow sub-menu (Print dialog box) in OS-X/Leopard. I got an indication that the PDF Services directory is gone in Snow Leopard. Does anyone know the correct way to hook into the Print dialog's PDF Workflow going forward? Thanks! [Note: I got s...

Reporting Tool or Software for Printed Forms?

We are creating a new HR application (.NET) that requires printing of complex forms (IRS documents, employment forms, pay checks, etc). Some of these would be printed on preprinted stock (i.e. W-2s) while others would need to save the formatting within the report/form design. In our OLD legacy applications, we have used C programs to...

Printing Issues under Terminal Services (Win32)

For our application, we need to be able to print output at a specific location on a page. For example, we need to be able to print some text at exactly (1.00", 1.00") relative to the top left corner of the page. The problem lies in the fact that all coordinates in the various GDI calls are not relative to the upper left corner of the d...

using ensript to print project dir

Hi, I've installed enscript on my mac. But don't get it to print the complete project directory (with subdirectories). Which command would I use to print all *.as and *.mxml files including subdirs? thx daniel ...

Print .net coordinates units

Hello, please help me. I want to print some reports from .NET app. I read how to use PrintDocument class and Graphics object to draw my report. But i don`t know which units are used in methods, for example: Protected Overrides Sub OnPrintPage(ByVal e As System.Drawing.Printing.PrintPageEventArgs) MyBase.OnPrintPage(e) Dim g A...

What can cause garbage on prints with reportserver?

I develop a Winforms application written with framework 2.0, which has some Server Reports in Report Server (SQLServer 2005). This reports in the test enviroment are printing just right, but in production weird things happens (as ussual). Sometimes, the windows spooler sends the print job to the printer and the printer acknowledge the ...

alternative to page-break-inside:avoid because of compatibility issues

Hi I have a php file with 's and the things in the div should stay on one page, for this possebillity i found this: http://www.w3schools.com/css/pr_print_pagebi.asp However like you can see its only compatible with opera and nothing more. I dont want to demand my users to use opera so I was wondering if there was a alternative to the...

How do i get link that contains string of detected printer?

Hi, I have developed an applet which detects the printers and outputs the list. here's the code for that. import javax.print.*; import java.awt.*; @SuppressWarnings("serial") public class Test extends java.applet.Applet { public void paint(Graphics g) { PrintService[] printServices = PrintServiceLookup.lookupPrintServices...

How does the Javascript print function work? Can I create a document using javascript and print it off?

I know you can use window.print() to print the current page... but what I want to know is can I build a document using javascript in order to populate it with data and print it off? Just like you can have html/xml as a javascript object, can you do something similar to this: var name = "Matt"; var htmlDocumentToPrint = "<html><body><di...

Event trigger print using VC++

I have requirement to print log data continuously whenever an event trigger (Without showing print dialog, using default printer). Event may occur twice a second or minit or hour. Also i don`t bother about printer status. example out of paper, communication problem. Printer should not leave empty page. Example event 1 have 4 lines of dat...

how do I print an itf barcode in c#

I need to print and interleaved 2 of 5 barcode (18 digits no checksum) using GDI+. I have done this for code 128 barcode using some code found on web. The barcode scanner unfortunatley does not read code 128 so I have to resort to ITF barcodes. Thanks, Ken ...