?
Solved

printing to different printers with Qreport

Posted on 1998-10-22
1
Medium Priority
?
273 Views
Last Modified: 2010-04-03
Hi,
How can we print the same report to two different printers with code when using the Qreport.
0
Comment
Question by:jbsjbs
1 Comment
 
LVL 8

Accepted Solution

by:
ZifNab earned 200 total points
ID: 1343962
Hi jbsjbs,

change this to change from printer :

QuickRep.PrinterSettings.PrinterIndex

so you can do this :

QuickRep.PrinterSettings.PrinterIndex := {your printer}
QuickRep.Print;
QuickRep.PrinterSettings.PrinterIndex := -1 {default printer}
QuickRep.Print;

Zif.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Loops Section Overview
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

807 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