Razz,
I tried the exact code you sent and it still pulled up the printer preview
Tom Hart

On Tue, Feb 7, 2017 at 9:03 PM, A. Razzak Memon <raz...@rbase.com> wrote:

> Tom,
>
> No worries!
>
> Here's the code behind the [Continue] button.
>
> Feel free to reach out to me if you need further help.
>
> Razzak.
>
> -- Start here ...
> -- Continue ...
> -- Author: A. Razzak Memon
> -- Date Created: February 6, 2017
> -- Last Updated:
> IF vReportOutput IS NULL THEN
>    PAUSE 2 USING 'You MUST Select Report Output' ICON WARNING +
>    BUTTON 'Click here to continue ...' +
>    OPTION BACK_COLOR WHITE +
>    |MESSAGE_FONT_NAME Tahoma +
>    |MESSAGE_FONT_COLOR RED +
>    |MESSAGE_FONT_SIZE 11
>    RETURN
> ENDIF
> SWITCH (.vReportOutput)
>    CASE 'Screen'
>      CLS
>      PRINT Conditional_Check_Boxes +
>      OPTION SCREEN|WINDOW_STATE MAXIMIZED|ZOOM_TYPE PERCENTAGE +
>      |ZOOMPERCENT 90|PREVIEW_CAPTION 'Total Sales by Company'
>      BREAK
>    CASE 'Printer'
>      CLS
>      PRINT Conditional_Check_Boxes OPTION PRINTER
>      BREAK
>    CASE 'PDF'
>      IF (CHKFILE('PDF')) <> 1 THEN
>         MD PDF
>      ENDIF
>      CLS
>      PRINT Conditional_Check_Boxes OPTION PDF +
>      |SHOW_CANCEL_DIALOG OFF +
>      |FILENAME PDF\Conditional_Check_Boxes.PDF +
>      |TITLE Total Sales by Company +
>      |SUBJECT Total Sales by Company +
>      |AUTHOR Total Sales by Company +
>      |KEYWORDS Total Sales by Company +
>      |OPEN ON
>      BREAK
>    CASE 'XLS'
>      IF (CHKFILE('XLS')) <> 1 THEN
>          MD XLS
>      ENDIF
>      CLS
>      PRINT Conditional_Check_Boxes +
>      OPTION XLS +
>      |SHOW_CANCEL_DIALOG OFF +
>      |FILENAME XLS\Conditional_Check_Boxes.xls +
>      |ALL_TEXT_IN_GENERAL_FORMAT ON +
>      |CELL_ATTR ON +
>      |INCLUDE_IMAGES OFF +
>      |INCLUDE_LINES OFF +
>      |INCLUDE_RICH_TEXT OFF +
>      |INCLUDE_SHAPES OFF +
>      |LINE_SPACE 0 +
>      |ONE_SHEET_PER_PAGE OFF +
>      |OPEN ON
>      BREAK
>    DEFAULT
>      BREAK
> ENDSW
> RETURN
> -- End here ...
>
>
>
>
> At 07:35 PM 2/7/2017, you wrote:
>
> Razz,
>> I am really lost on what is happening, could I see your code for the
>> printer dialog, because I checked everything I know.  My sample app I
>> created only has 1 report and 1 external form so I do not know what other
>> resources I would need.
>>
>> Tom Hart
>>
>> On Tue, Feb 7, 2017 at 7:48 AM, A. Razzak Memon <<mailto:raz...@rbase.com
>> >raz...@rbase.com> wrote:
>> Tom,
>>
>> So, my sample application worked. Did you expect anything different?Â
>> What does that explain to you?
>>
>> I suggest to re-visit your entire compiler project (.rcp) and review each
>> section under [Additional Resources] and verify "Source", if applicable,
>> including:
>>
>> . External Form Files
>> . R:BASE Forms
>> . R:BASE Reports
>> . R:BASE Labels
>> . Themes
>> . Runtime Licenses
>> . Plugins
>> . Misc. Files
>>
>> Very Best R:egards,
>>
>> Razzak
>>
>>
>> At 08:37 AM 2/7/2017, Tom Hart wrote:
>>
>> Razz,
>> Your sample app worked, but I had made a very simple app to print
>> something and John got same results, did not print directly.  He then
>> recompiled it and said it worked, so I tried his app but still would not
>> print directly.  I also tried on my older laptop with same results.
>> This is my eep
>>
>> print PR_Testreport option printer
>> return
>>
>> This still sends it to printer screen not directly to the printer
>>
>> On Tue, Feb 7, 2017 at 12:49 AM, A. Razzak Memon <<mailto:
>> raz...@rbase.com><mailto:raz...@rbase.com>raz...@rbase.com> wrote:
>> Tuesday, February 7, 2017
>>
>> A sample application to illustrate the use of most commonly used report
>> output options is now available.
>>
>> R:BASE Sample Applications: <<http://www.Razzak.com/SampleApplications/>
>> http://www.Razzak.com/SampleApplications/>http://www.Razzak.com/SampleA
>> pplications/
>>
>> Application Title: Report Output Options - R:BASE X Enterprise (Version
>> 10)
>>
>> Please Note:
>>
>> . There are no pre-requisites to install and run this sample application.
>>
>> . There is no need to have any version of R:BASE installed on your
>> computer.
>>
>> . This application is designed and intended to illustrate the use of most
>>   commonly used report output options
>>
>>   In addition ...
>>
>> . This compiled and fully secured database and self-running application is
>>   provided to demonstrate the use of R:Compiler for R:BASE X Enterprise
>>   (Version 10) and the suggested method to design, develop, and
>> distribute
>>   your compiled applications for mobile devices, such as Tablet PCs.
>>
>> . This compiled application also demonstrates the speed of loading your
>>   project using R:Compiler for R:BASE X Enterprise (Version 10).
>>
>> . You may install this application in a network and MS Cloud environment
>>   to really see the performance and capabilities of R:BASE X
>> Enterprise.
>>
>> . Mobile PC and/or Touch Screen users will also enjoy the new interface.
>>
>> Have fun!
>>
>> Very Best R:egards,
>>
>> Razzak.
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "RBASE-L" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to <mailto:rbase-l%2bunsubscr...@googlegroups.com>rbase-l+unsub
>> scr...@googlegroups.com.
>> For more options, visit <https://groups.google.com/d/optout>
>> https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "RBASE-L" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to <mailto:rbase-l+unsubscr...@googlegroups.com>rbase-l+unsubsc
>> r...@googlegroups.com.
>> For more options, visit <https://groups.google.com/d/optout>
>> https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rbase-l+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to