 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Gary Ellch Guest
|
Posted: Thu Feb 03, 2005 4:58 pm Post subject: duplex, and select a certain printer problem |
|
|
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 |
|
 |
|
|
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
|
|