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 

duplex, and select a certain printer problem

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





PostPosted: Thu Feb 03, 2005 4:58 pm    Post subject: duplex, and select a certain printer problem Reply with quote



The following code runs but the output still goes to my default printer. I
am trying to print a credit card size report to a printer that prints on
plastic cards. If I use the printer setup I can choose that printer and
click the duplex box but still only the front will print. I created the
report with Rave but I do have the BEX version so if it would be easier to
do writing code I could do that.

Thanks,
Gary


procedure TfmScuba.BitBtn2Click(Sender: TObject);
begin
try
RPDev.selectPrinter('\IT2377SMARTDRIVER',True);
RPDev.Duplex :=dupHorizontal;
rvSystem1.DefaultDest := rdPrinter;
rvScuba.SelectReport(lbReports.Items[lbReports.ItemIndex], true);
rvScuba.execute;
except
On E:Exception do
showmessage('Exception = '+ E.message);
end;

end;


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.