Solved

About the Printer setup of QReport

Posted on 2000-04-19
1
407 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 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 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