printing

ReportBuilder 7.x - Controlling Print to File at Print Time

Using ReportBuilder 7.X Question Is it possible to Control Print to File. I need to change the Length of a field at print time Example: label2 In the setup - I set its length to 800 which is the max possible this field should ever be. However, in many cases the record is less than that and i need to set it to the calculated size be...

How are the page-break properties in CSS supposed to work?

Modern browsers are supposed to support the CSS page-break properties to some degree. However I haven't been able to get any browser to print any differently when I use avoid, widows, or orphans. Am I doing something wrong, or is the browser support just not as solid as advertised? <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html...

GDI To XPS

In his blog entry Printing documents to Microsoft XPS Document Writer without user interaction Feng Yuan says If you're printing from your own applications, it's easy to specify MXDW as the printer driver and provide a file name for the XPS document to be saved to Can anyone explain how to do that and provide a code sample? The m...

How do I print a pdf from within an iframe?

At cbjsonline.com, I'm trying to have a pdf in an iframe print automatically with javascript. Currently, my code is - (connected to the onclick of the link that opens the iframe) - document.getElementById('fancy_frame').onload = setTimeout('window.print()',2500); Any suggestions? This method only works in safari. ...

Printing ASP.NET 3.5 Chart Control

Hey Everyone, Any info out there on how to print the generated charts in say PDF format? They look fabulous on screen but the end users want to print them and file as needed. ...

How can I install a printer driver from an inf, then set up a printer using said driver in vbscript

I'm working on a script that needs to set up a Xerox Phaser printer using the postscript driver. The computers currently have the PCL driver on them (though the printers aren't set up on them yet.) I want to install the PS driver using the specified INF, and then install the printer using the driver provided after the INF is installed (s...

How can I install a printer using .NET?

I have an .INF for a virtual printer that I need to install from a .NET Application. I have done this before using batch scripts, but I am looking for a snippet of code to do this in the .NET Framework. There's nothing particular about the printer .INF, so any code that installs a printer from an INF in C# or VB.NET will work. ...

How to validate a cck field before printing?

I have a custom content-type with a text field that has several allowed values. There also is a printer friendly link to print.node-XXXX.tpl.php. If one particular allowed value is selected, I do not want the user to be able to print the content without going back and editing / re-selecting a different value. How can I set up a valida...

transparent pdf printing/preview in VB6

I am working on a legacy app in VB6 and am wondering what the easiest way would be to implement this requested feature - client wants ability to preview a document being sent to the printer as a PDF. No problem - there are plenty of PDF printer drivers out there that one can use. However, a necessary condition of this feature is absolute...

Printing Bitmap Images Using PCL

Dear Team, I am trying to communicate with hp 102 laserjet printer directly using pcl language. Using pcl5 technical quick reference guide, I can print the text, set margins, select supported fonts, print monochorme images (of 1 bits per pixel). In the reference guide, there is no sample provided to print images of other formats like ...

Printing contents of a dynamically created iframe from parent window

Hi, I have a page with a list of links and a div which serves as a placeholder for the pages the links lead to. Everytime user clicks on a link an iframe is created in the div and its src attribute gets the value of the link href attribute - simple and clear, sort of external web pages gallery. What i do have a problem with is printing ...

Is there a way to set the DPI of a QPicture?

Is there a way to set the DPI of a QPicture? ...

grabbing windows forms, pop-ups and menus

Hello guys, I'm developing an application the screen grab a thrid party app. Right now I've no problem in finding all the belonging forms, menus and popups in the 3rd party app I plan to grab, but i don't know how can I findout if the window I'm grabbing is a popup or a menu or whatever. Is there any function that given the window handl...

Print Web page with background colors

I have a javascript backed 'print' button on my webpage where the user can print the webpage. This works ok except the background color of various elements does not print. Is there a method of printing a web page whereby the background color of the various elements will print? ...

Printing from servlet, why does this not work

I want to print from a servlet. I believe I have the correct syntax. But I get the message "delete these tokens" in Eclipse. PrintWriter out = response.getWriter(); out.println("<html><head><title>Woohoo</title></head><body>\n" + "<form id="report_form" name="report_form" method="post" action="AgReportServlet">\n"+ "<table bo...

Math programming help for a gimble-based painting machine

Hi - I'm an artist involved with building various sorts of computer controlled machines. I've started prototyping a gimble-based XY painting machine and have realized that the maths needed are out of my reach. I'm a decent enough programmer but not strong in math- esp. 3D math. To get a sense of what I'm needing to do, it might be help...

Excel, Word, PDFs AND PowerPoint print dialogues...

Hello All Anybody know how to get all of these in a C# app that leads the user to a print dialogue screen? What I mean is this: In the gui the user selects a document, right clicks on the doc, chooses Print. Instead of immediately printing out the doc, the print dialogue comes up. Anybody know the syntax for all of this? I tried us...

How to print a list of strings using 'unwords' in Haskell?

I want to print list of strings like shown below. |Name|Country|Age| ------------------ |1 |USA |20 | |2 |UK |19 | I was able to achieve this using the following. printfieldName :: [String] -> String printfieldName [] = [] printfieldName (x:xs) = "|" ++ x ++ "\t" ++ printfieldName (xs) Is it possible to achieve this usi...

Opening serial port used by a printer...

I'm sending ESC/P codes (http://webpages.charter.net/dperr/links/esc_p83.htm) to an Epson LX-300 printer which is connected to the COM1 and the pc already has the correct driver installed because someone else needs it. So i wrote this: using System.IO.Ports; public class EpsonPrint { private char esc = (char)27; private char ...

Some advice how print in WPF with good result.

Hi all, next month I will begin to develop a project and I'm studying about that (I'm a novice). In this project I will create many report storing data from a Database so I'm concentrating about how print the report using WPF. I need to use many features as follows: page header, page Footer, multi page, page number and so on. I ask yo...