Solved

About the Printer setup of QReport

Posted on 2000-04-19
1
409 Views
Last Modified: 2010-04-04
I want to print some page at Qreport Preview, Ex.Page 2 to 3. I have select the page at Printer setup. and then Press Print Button. the job has sent to Print queue (these task can be found at windows Printer). But the task has disappeared soon, and I can't get any page from the printer.Do U know why?

thanks

0
Comment
Question by:kelvinyu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
ronvp earned 50 total points
ID: 2733519
I suspect that Qreport uses is not the same as your windows default printer or the printer that you have selected with the print setup dialog

What works for me is for Qreport to use the printer that you select with the printer setup dialog, you must use the following statement before you use the qreport print or preview method..

Report.PrinterSettings.PrinterIndex := Printer.Printerindex;

the Printers unit must be in your uses clause for this to work
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question