Solved

PrinterIndex and Qreport

Posted on 1998-12-11
9
278 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
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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 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