Solved

About the Printer setup of QReport

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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 an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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