Solved

PrinterIndex and Qreport

Posted on 1998-12-11
9
275 Views
Last Modified: 2012-05-04
When i use PrinterIndex to print to a specific printer, i lose all parameters (page size ...) but when i put this printer by default in windows before i keep the parameters

Here is my code :

r_facture.PrinterSettings.PrinterIndex:=2;  //r_facture is a Qreport
r_facture.print;

Have you a solution for this !!!

thanks
0
Comment
Question by:glabax
  • 5
  • 4
9 Comments
 
LVL 8

Expert Comment

by:ZifNab
Comment Utility
which version of QR are you using 2.0k? or 3.0?
Are you using the latest version?

Are you sure that both printers can handle these parameters in a same way?
0
 

Author Comment

by:glabax
Comment Utility
For ZifNab,

The version of Qreport is the 2.0C with Delphi 3 pro

0
 
LVL 8

Expert Comment

by:ZifNab
Comment Utility
glabax,

 First download free upgrade of QR 2.0. Latest version is 2.0k (http://www.qusoft.com/scripts/download.dll)
 Try your code again and watch if problem persists.

Regards, Zif.

0
 

Author Comment

by:glabax
Comment Utility
For ZifNab,

i can't get the free upgrade i need a password to download. I don't know where i can get it.

Do you know how i can use the printer.setprinter function ?

Regards
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 8

Expert Comment

by:ZifNab
Comment Utility
heh? Try this link : (no password!) You have to go to the Free section of that page

http://www.qusoft.com/scripts/download.dll/getfile?Filename=QR20K.EXE

Zif.
0
 

Author Comment

by:glabax
Comment Utility
To Zif,

Thanks a lot!!
I though that there was a problem with Qreport but as couldn't download the release 2.0K, i hadn't any hope ...

Thank you again for this help

Best regards
0
 
LVL 8

Expert Comment

by:ZifNab
Comment Utility
Hi glabax, do you still have this problem with the new version?
0
 

Author Comment

by:glabax
Comment Utility
it works well !!!


thanks again
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 150 total points
Comment Utility
Ok, then I'll answer this q'n.

It seems (see comment-thread of this question) that with upgrading to version QR2.0k, the problem is no more.

Regards, Zif.


0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 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

15 Experts available now in Live!

Get 1:1 Help Now