Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PrinterIndex and Qreport

Posted on 1998-12-11
9
Medium Priority
?
285 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

597 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