?
Solved

PrinterIndex and Qreport

Posted on 1998-12-11
9
Medium Priority
?
282 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
[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
  • 5
  • 4
9 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1350519
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
ID: 1350520
For ZifNab,

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

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1350521
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
Industry Leaders: 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!

 

Author Comment

by:glabax
ID: 1350522
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
 
LVL 8

Expert Comment

by:ZifNab
ID: 1350523
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
ID: 1350524
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
ID: 1350525
Hi glabax, do you still have this problem with the new version?
0
 

Author Comment

by:glabax
ID: 1350526
it works well !!!


thanks again
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 600 total points
ID: 1350527
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

770 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