Command line/shortcut printing

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Shane
Posts: 3
Joined: Tue Oct 10, 2017 12:44 pm

Command line/shortcut printing

Post by Shane » Wed Sep 17, 2003 9:42 am

I^m having a problem when trying to print a report from a command line/shortcut. The error is "Control table not specified". I^m using R&R SQL Ed. Ver. 10. The data source is an ODBC connection.__Here is an example of my command:____"C:Program FilesRRVER10 swrun.exe" /R"C:Documents and SettingsShane.ASIMy Documentsstarship 1"____Thanks

Nick
Posts: 103
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Command line/shortcut printing

Post by Nick » Wed Sep 17, 2003 7:22 pm

trying changing the /R to /T if you have a text control file -__if you have a DBF control file - then remove the /R completely.__/R is the path to the reports (RSW files) - ____your command line-__"C:Program FilesRRVER10 swrun.exe" /R"C:Documents and SettingsShane.ASIMy Documentsstarship 1"______corrected - for a dbf control file- to run the 1st report-__C:Program FilesRRVER10 swrun.exe "C:Documents and SettingsShane.ASIMy Documentsstarship 1"____corrected - for a text control file-__C:Program FilesRRVER10 swrun.exe /T"C:Documents and SettingsShane.ASIMy Documentsstarship.txt"____(starship.txt would have the options available in a text control file example: RI_REPPICK=? to allow choice of the correct report. )____read the RR help file for "developing applications" for more info about using both types of control files - ____

Shane
Posts: 3
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Command line/shortcut printing

Post by Shane » Thu Sep 18, 2003 11:35 am

Got it, thanks!____>trying changing the /R to /T if you have a text control file __> - __>if you have a DBF control file - then remove the /R __>completely. __>/R is the path to the reports (RSW files) - __>__>your command line- __>"C:Program FilesRRVER10 swrun.exe" /R"C:Documents and __>SettingsShane.ASIMy Documentsstarship 1" __>__>__>corrected - for a dbf control file- to run the 1st report- __>C:Program FilesRRVER10 swrun.exe "C:Documents and __>SettingsShane.ASIMy Documentsstarship 1" __>__>corrected - for a text control file- __>C:Program FilesRRVER10 swrun.exe /T"C:Documents and __>SettingsShane.ASIMy Documentsstarship.txt" __>__>(starship.txt would have the options available in a text __>control file example: RI_REPPICK=? to allow choice of the __>correct report. ) __>__>read the RR help file for "developing applications" for more __>info about using both types of control files - __

Post Reply