BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

QuickReport without a printer question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Joe
Guest





PostPosted: Mon Sep 29, 2003 2:44 pm    Post subject: QuickReport without a printer question Reply with quote



Hello,

I'm using QuickReport 3.5 Standard with Delphi 7, Windows XP Pro. I use a
custom preview form to display my report. This report was designed to be
displayed in landscape orientation. However, if no printer is installed on a
client's machine(if he uses a laptop for example), the report still
displays, but in portrait. I've tried many different ways to set the page
orientation to lansdcape, from TQReport.Page.Orientation to the
TQRPreview.QRPrinter.Orientation, to no avail. When no default printer is
installed, the TQRPreview.QRPrinter.Orientation's default value is
poPortrait, but changing it to poLandscape has no effect.

Has anyone achieved setting this property without a default printer?

Thanks in advance.
Joe.


Back to top
Brad White
Guest





PostPosted: Tue Sep 30, 2003 10:28 pm    Post subject: Re: QuickReport without a printer question Reply with quote



Joe,

What's the problem with installing a default printer?
You don't actually have to have a printer attached
to the machine.

--
Thanks,
Brad White
"Joe" <gco (AT) mtl (DOT) feric.ca> wrote

Quote:
Has anyone achieved setting this property without a default printer?

Thanks in advance.
Joe.





Back to top
Joe
Guest





PostPosted: Wed Oct 01, 2003 3:57 pm    Post subject: Re: QuickReport without a printer question Reply with quote



Thanks for the suggestion. Never thought of it. Seems to work. But I was
actually looking for a solution inside my application. I didn't wanna depend
on a user knowing he can install a default printer without actually having
one installed.

Thanks anyway.
Joe.

"Brad White" <bwhite at inebraska.com> wrote

Quote:
Joe,

What's the problem with installing a default printer?
You don't actually have to have a printer attached
to the machine.

--
Thanks,
Brad White
"Joe" <gco (AT) mtl (DOT) feric.ca> wrote in message
news:3f78453f$1 (AT) newsgroups (DOT) borland.com...
Has anyone achieved setting this property without a default printer?

Thanks in advance.
Joe.







Back to top
Brad White
Guest





PostPosted: Wed Oct 01, 2003 10:40 pm    Post subject: Re: QuickReport without a printer question Reply with quote

Actually your situation is news to me.
Historically QR hasn't worked at all
without a default printer installed.
So I haven't tried it without for a long time.
What you are getting is a big improvement.

--
Thanks,
Brad White
"Joe" <gco (AT) mtl (DOT) feric.ca> wrote

Quote:
Thanks for the suggestion. Never thought of it. Seems to work. But I was
actually looking for a solution inside my application. I didn't wanna
depend
on a user knowing he can install a default printer without actually having
one installed.

Thanks anyway.
Joe.




Back to top
Guest






PostPosted: Sat Jan 03, 2004 8:29 pm    Post subject: Re: QuickReport without a printer question Reply with quote

Does anyone know how to detect the presence of a default printer on
application startup so a message can be displayed advising them that a
default printer needs to be installed? This would seem to be the most
logical workaround for this sitatuion.

DJS


"Joe" <gco (AT) mtl (DOT) feric.ca> wrote

Quote:
Hello,

I'm using QuickReport 3.5 Standard with Delphi 7, Windows XP Pro. I use a
custom preview form to display my report. This report was designed to be
displayed in landscape orientation. However, if no printer is installed on
a
client's machine(if he uses a laptop for example), the report still
displays, but in portrait. I've tried many different ways to set the page
orientation to lansdcape, from TQReport.Page.Orientation to the
TQRPreview.QRPrinter.Orientation, to no avail. When no default printer is
installed, the TQRPreview.QRPrinter.Orientation's default value is
poPortrait, but changing it to poLandscape has no effect.

Has anyone achieved setting this property without a default printer?

Thanks in advance.
Joe.





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.