I'm trying to figure out a way to programmatically determine a printers inputslot tray to number definitions for use in generating postscript.
I have gathered a collection of PPD files and collated information that way but it seems stupid to be limited to only the printers i have the PPD's for - would be better to interrogate the printe...
Is there any solution to disable Javascript style changes in print?
For instance, if I'm hiding something through Javascript but I want to include that hidden info in print.
I hid a div using Javascript and I want to show that div if Javascript is disabled. Now the problem is, because div is hidden using Javascript it's also not showin...
I'd like to read the Rails 3 source code on printed paper (and preferably in color).
For example, xv6 (http://pdos.csail.mit.edu/6.828/2009/xv6-book/index.html) did a nice job printing their code (http://pdos.csail.mit.edu/6.828/2009/src/xv6.pdf). It even has line numbers and an index. The only thing I would like to add is syntax highli...
In GAP (http://www.gap-system.org/), I want to print large numbers to files without line breaks (to match the format for the b-files at Sloane's encyclopedia, for example: b000186.txt).
However, if I use AppendTo("<filename>",n," ",f(n),"\n"); when f(n) is a large number, it adds linebreaks, which I don't want. Is there an easy way to ...
We have a business application where users can upload documents and where admins later review them. These admins want to print these documents, preferably by just ticking checkboxes in the file list form and clicking a "print button".
My problem is how to append the different documents, which of course can be of different formats, and s...
I have a Windows 32 bit app written in Delphi that is giving problems when running under Windows Server 2008 64-bit.
Details are sketchy ("having all kinds of printing issues" was the best report I could get so far) and the app behaves fine on all the Win64 platforms I have access to, but aside from that, I would have thought that an ap...
I have wpf based application, just wondering how to get print/print preview of wpf controls.
like some window/page has panel control which has multiple controls in it like chart + graph + data grid (data grid can have hell of records so coming with scrollbar)
i wanted to have print version of it but dont want to just print visual par...
I'm trying to print an Image and/or Canvas with ActionScript - however scaling doesn't work. I'm trying to scale down the image/canvas to have it fit to page. During testing it seems that Flex doesn't care if I set the size of the Image/Canvas trough width/height properties or scaleX/scaleY properties, it just chooses to print the conten...
Hi there!
At my company, we had developed a athletes management solution, were each athlete is inserted in the application by administrators users. For the referred solution, it was used the symfony admin generator.
On the second project iteration, one of the clients request was to turn the printed athletes list more legible. To accomp...
I'm trying to find some sense in some old code related to printing.
When drawing a form to the printer, every size and position property get multiplied by a scale factor. The factor is calculated by the following code:
{ Printer device-specific information }
FXScale := (GetDeviceCaps(Printer.Handle, LOGPIXELSX)/96) -
...
Currently using a HTML to PDF converter written in PHP to attach a printable readonly page to an email.
This can be a little temperamental at the best of times, producing strange results. I was wondering if there was perhaps a better option to achieve this end result?
(Granted the end PDF is not entirely "un-editable", but it does the...
In R, I use the print function for output but I always get an ugly output. If I do
print("hello world")
the output is
[1] "hello world"
Is there a function/way to print output and just get the text I want ?
Thanks
...
private void printCard() {
PrinterJob printjob = PrinterJob.getPrinterJob();
printjob.setJobName("Label");
Printable printable = new Printable() {
public int print(Graphics pg, PageFormat pf, int pageNum) {
if (pageNum > 0) {
return Printa...
I have a flash movie which produces a certificate for participants in an online course.
It gets the pageHeight, pageWidth from the printjob then scales the certficate image to fit nicely in the middle.
This is working fine on windows and linux, but on the mac it is not behaving. It is chopping of the right and bottom edge of the certif...
Hi
I'm new to Graphics and Graphics2D in Java.
Now i have a project where i have to print an Invoice to an A4 sized sheet.
I've been reading Sun's tutorial on printing.
I realized I'll need to first render the bill on a JFrame so i know what it'll look like.
Now, how do i go about setting the right sizes?
I mean - if i design the bil...
Can someone tell me how to stop IE8 printing the value of the href for an A tag next to the text. For example this markup
<a href="/site/page.html">Some Link</a>
When printed comes out as
Some Link(/site/page.html)
when printed. How can I stop this?
...
Hi
If i design a JFrame/JPanel with labels, tables, textfields etc, is it possible to print it as it looks on screen?
If so, what size parameters should i keep in mind? Considering it's an A4 page, how should i go about sizing my JFrame/JPanel?
Thank you. : )
...
I have some Delay to access My remote printer, a RICOH offimatic point.
I think this delay become from domain autentification.
When I call PrintDialog, this delay is about 3 to 5 seconds.
I use some .Net programs. Then when I print a report, delay becomes 4x the PrintDialog Delay (15-20 seconds).
Standard Programs (c++) get a 1x del...
Hi.
I'm trying to print a JFrame using the PrintUtilities Class:
package util;
import java.awt.*;
import javax.swing.*;
import java.awt.print.*;
public class PrintUtilities implements Printable {
private Component componentToBePrinted;
public static void printComponent(Component c) {
new PrintUtilities(c).print();
}
publ...
Is there an easy way to overwrite all text/header styles to let the browser handle the text formatting in the print stylesheet?
Edit:
I have lots of styles such as
#id .class .class #id .class p{}
...