Solved

printing to different printers with Qreport

Posted on 1998-10-22
1
251 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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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