Solved

PrinterIndex and Qreport

Posted on 1998-12-11
9
281 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 150 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

728 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