Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

About the Printer setup of QReport

Posted on 2000-04-19
1
Medium Priority
?
414 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
1 Comment
 
LVL 1

Accepted Solution

by:
ronvp earned 150 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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

876 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