printing

Copy Current Webpage Into a New Window

I need to be able to copy the current webpage into a new popup window for a print preview. There is a grid on the page with children, so if they expand one of the rows to see the child rows, I need to show this in the new window. Is this possible? I currently have the popup window open up the same page, but all none of the rows are ex...

Printing multiple images with System.Diagnostics

I'm trying to print multiple images using the default Windows dialog for printing images. Basically I'm trying to accomplish the same thing as when you select a couple of images in explorer and right-click + Print, but from code. I need to be able to specify multiple file names so multiple images can be printed on the same page (so not j...

How to write xhtml and css printer friendly? How to save printer ink with print css?

I'm not talking about just to mke print css or media=print Questions: I am talking what other things we should do in XHTMl and screen css and print css (other than disply:none in print css) we should care to get good print from website pages. And do we need any special care for images, background images in css, flash, silverlight, ifr...

In Firefox, when printing a page with anchor tags, the link location is printing after the text.

For example, <a href="../somepage/page.aspx?qs=asdf">Text Here</a> will print out as... Text Here(../somepage/page.aspx?qs=asdf) In IE, it looks normal (doesn't print the url). Any ideas why this is acting in this fashion? ...

C# Winfoms Printing

i have a winform, i want to print all the available data on the winform, lets say i have form full of labels, how to print it. ...

Exception on printing: The device is not ready

I have a report document created by Microsoft Reporting but instead of using its viewer to show the document and print it, I used PrintDocument class to print it directly without showing user any windows. It worked perfectly until I installed a thermal printer and disabled its Spooler. Now once in a while i receive a Win32Exception ind...

Printing a Pattern with While loops and only using three output statements in C

Hello Everyone! I have an assignment for school that is really got the best of me. Here is the question: (2) Write a C program using while loop(s) in combination with only the following three output statements (Each one appearing ONLY ONCE in your program): printf("* "); printf("\n"); printf(“^“); to print the pattern: ...

ASCII raw symbols to control a printer from a .txt file

A label printer is controled by sending a string of raw ASCII characters (which formats a label). Like this: string s = "\x02L\r" + "D11\r" + "ySWR\r" + "421100001100096" + date + "\r" + "421100002150096" + time + "\r" + "421100001200160" + price + "\r" + "E\r"; RawPrinterHelper.SendStringToPrinter(printerName, s); This hardcoded v...

Printing of WPF Window on one page

Hi. I am able to print the current Window using the following code: PrintDialog printDialog = new PrintDialog(); if (printDialog.ShowDialog().GetValueOrDefault(false)) { printDialog.PrintVisual(this, this.Title); } However if the Window does not fit the page it get truncated. How do I make ...

Direct Printing in Asp.net

In my application,i need to print my reports without converting to pdf or any other formats.I need to print the record as soon as the user clicks the print button.i have used the following code.but unfortunately,this is not direct print,it is converting into pdf and then printing.converting to pdf takes a lot of time which makes our life...

PDF printer without user intervention

Hi, I'm looking for a PDF printer that doesn't ask the user to choose a filename and directory, but simply saves it to a predefined folder with a unique filename. Thx. ...

What is the easiest way to print text to screen in OpenGL?

I need to print 3 lines of text to a window as a menu. 1 - Menu 2 - Pause 3 - Exit ...

How can we print docs from SWING application

We have swing application. It includes documents(PDF, MSWord documents) Can we call system's print dialog form our program to print this documents? Target operating system is Windows XP. And, id it is impossible, how can we process PDF and print PDF from java? ...

Printing at a specific location using Java

Hi, I am developing a application which basically prints data on a cheque. The data is obtained from a database and the Java application (or an applet) has to print the data (name, amount, date etc) at appropriate positions on the cheque. How can I print at a specific location on a paper using Java? ...

Printing from asp classic to Star Printers?

I am working on a site that prints receipts to Star printers. Right now we are using ActiveX controls to do this (ASPPrinter from VBGold). Is there any better way to print to these things from a website? We were thinking about having a program that polls a web service for print jobs, but that seems iffy and a little kludgie. That said...

Virtual Printer Driver for Windows

Hello, can you please help me with the following questions... If I need a virtual printer that will convert a PostScript stream to a different format, do I have to implement a virtual printer from scratch or implement a rendering plug-in? The rendering plug-in seems to support only certain customizations. Also the data invariably goes ...

How to print PDFs automatically

We have a number of systems that produce PDFs that need to be printed. These are stored on a central document store. A message then goes onto a JMS queue that the document needs printing. A service, written in Java , picks these up and then invokes a native command. This is to call Adobe Reader with the /t flag. This causes the docu...

Tips for debugging likely Crystal Reports hang in ASP.NET

Attempting to keep this short: our shipping personnel use a Windows Mobile-enabled barcode scanner to scan the serial numbers of items shipped on customer orders. That data is submitted via asmx web service and a report is automatically printed to a networked printer showing customer info and the details of items shipped. All of this h...

CSS/HTML Print Background Images/Styles without Browser Page setup tweaking...

Is there any way to print out something like, when the user Prints out the page? <div id="test" style="background:#000000; color:#FFFFFF"> Black Stripe </div> I'm trying to create a page with row striping in the printout the same way it appears on screen. When they go to print , it of course drops the background. Besides telling ea...

Mac Printing : programatically can not set printQuality, mediaType, paperSource, outputBin

I have a Mac application that supports customising field values programatically for Print dialog. However, I could not find any API in Mac (Cocoa/Carbon) to set the values for printQuality (Best/Normal/Low/Draft), mediaType(Standard/Glossy/Transparent), paperSource or PaperFeed(Auto/Manual/Casette/Env) and outputBin(Auto/Bin1/Bin2). Thou...