Solved

About the Printer setup of QReport

Posted on 2000-04-19
1
401 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 77
Delphi Form ownership 4 54
select query - oracle 16 82
control image tags in a string ? 12 65
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…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now