printing

Printing an HTML page (the FULL page!)

Hi all, I have a web page which has many divs (listed like table rows), and the rows exceed the length of the page (within view, before you have to scroll down). I am using some JavaScript to toggle what information is displayed on my page (for example, number of rows.) I have made a print.css file and have manaed to edit the style tha...

Flex: Auto-resize contents of a group to fit a printed page

Hello all, I have a large Group which contains two rulers and labels for distances, and a varied amount of smaller groups consisting of images and labels. Now my task is to print the large group on a page with a header and a footer. The large group extends outside the edge of the page and pushes the footer off the page. If I was printin...

My web page only prints onto 1 page (there is no break)

I'm having trouble printing a web page of information, which should span onto about 3 pages. Currently, only 1 page is printed, and the rest of the data is not visible anywhere? Is there some JS or HTML I can use to break the page, and allow the information to continue being printed on the next pages. ...

javax print vs java awt print api

Can i use java awt print to print a document/file instead of using javax print? I could find that in java awt print there is an option to set the content to be printed only as string using AttributedString. Is there an option to use awt and print document/file from input stream instead of String? ...

Problem with DEVMODE.dmCopies field.

Hi. I'm writing a printing application and i having trouble with dmCopies field of DEVMODE structure. This field specifies number of document copies printed. When i print multipage document (two pages and more) - setting up dmCopies works fine, but when one-page document printed dmFields ignored. First i think that problem in my applicat...

Printing in Java using PS file

The have a generated post script file and i want to print using it. How can it be achieved in java either using java print API or awt. Is it possible? ...

Print Photo ID Card to a plastic card printer from web site

Does anyone have experience with printing directly to a Photo ID Card printer in a web browser? I have a web application that manages user data, photo, and so forth. I'd like to add a Print ID Card feature to it. The web application is a single page javascript application that talks to a RESTful web service via JSON. I'd like to display...

Java print service API: send job to printer spool?

I am using Java print service API to select PrintService and then pass it to JasperReport's JRPrintServiceExporter. The basic idea is to just send a document to the provided PrintService. It is actually using java.awt.print.PrinterJob.print(). It seems like you cannot send a print job to a printer that has PrinterIsAcceptingJobs.NOT_ACC...

printing tab-separated values of a list

Here's my current code: print(list[0], list[1], list[2], list[3], list[4], sep = '\t') I'd like to write it better. But print('\t'.join(list)) won't work because list elements may numbers, other lists, etc., so join would complain. ...

Adding a text footer to the bottom of every printed page when a web page is printed

Is there a technique for adding a text footer the bottom of each page when it is printed? For example "Copyright My Company 2010" - I know there is probably a way to do this with a background image using CSS, but I would really like to use text for this portion so the client can edit it. Any ideas? ...

Flex: Printed data grid makes huge files

Hi all, I've an AIR app which prints a couple of DataGrids with approximately 3 pages worth of data each. I get great-looking printouts, but the printing is slow - I noticed that printing these 6 pages + a title page and a page of lightweight images was sent to the printer in a file of almost 50 MB (on Windows). Is this a normal size fo...

Interface a microcontroller and a printer .. code it in C programming.

Hi friends.. Guide me how to program in "C" to interface a microcontroller with a printer.?? Also explain me the procedure of how actually printing is related to a micro controller.?? ...

printing to a dot matrix printer on a mac

So i am designing an art project that will print to a dot matrix printer the contents of my internet history. i have found info online to parse out a plist (what os x uses to store internet history) so im all set on that front but what i am looking to find out is how to send a request to the printer to print a new line, which would happe...

Print a DataGridView

Hello. I want print a DataGridView with report viewer & RDLCs. Actually I want a document about RDLC & print. Please help me. Thanks alot. ...

How to quickly add a single printout to a simple .net winforms app?

I've nearly completed a tiny winforms app (.net 3.5) and the last thing remaining is a printout. The printout is pretty simple. It is printed on an A4 landscape page and consists of three identical columns (those are 3 copies of a support ticket). Each column has a bit of fixed text, a logo image, and a few fields from an object. In case...

Why does invoking print in a subroutine append 1 to the string?

I have created the following subroutine gender to randomly print string MALE or FEMALE. When subroutine is invoked, the print command suffixes a "1" at the end of the string. See the sample code and output below: sub gender { if ( (int rand(100)) >50) { print "MALE "; } else { print "FEMALE"; } } fo...

Print on continuous paper using c#

Hi everyone, I write a one POS system. I want to print on continuous paper but I don't figure out how I can accomplish this. I use the .net (C#). I try with crystal report as well as System.drawing classes. Any idea will be helpful for me... ...