Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: .Bat file syntax for printing in Crystal XI Post Reply Post New Topic
Author Message
grego
Newbie
Newbie
Avatar

Joined: 22 Feb 2008
Location: United Kingdom
Online Status: Offline
Posts: 16
Quote grego Replybullet Topic: .Bat file syntax for printing in Crystal XI
    Posted: 02 Jul 2008 at 5:59am
I am trying to generate a .bat file that prints off the results of a Crystal XI report called ROLLUSD.rpt.   I have the code below which opens up the relevant file - but I cannot get the report to print - any ideas would be very much appreciated
 
C:\CML\CML.exe
"\\Server Name\quantum$\Program Files\SunGard\AvantGard-Quantum\Reports\Oracle\RollUSD.rpt"
 
thanks
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet Posted: 02 Jul 2008 at 11:34am
I don't believe it can be done from a .bat file.  You would have to write a program that would open the report and send it to a printer.
 
-Dell
IP IP Logged
grego
Newbie
Newbie
Avatar

Joined: 22 Feb 2008
Location: United Kingdom
Online Status: Offline
Posts: 16
Quote grego Replybullet Posted: 03 Jul 2008 at 12:42am
I wouldn't know where to start on this one! Can you point me in the right direction?
 
thanks for your help
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet Posted: 03 Jul 2008 at 11:47am
Actually, there are a number of 3rd-party tools that are available for this - some that aren't that expensive.  Check out the list on http://www.kenhamady.com/bookmarks.html for a good selection.
 
-Dell
IP IP Logged
grego
Newbie
Newbie
Avatar

Joined: 22 Feb 2008
Location: United Kingdom
Online Status: Offline
Posts: 16
Quote grego Replybullet Posted: 03 Jul 2008 at 11:56pm
thanks very muchSmile
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

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



This page was generated in 0.031 seconds.