question using a menu script

Ian Wood iwood51 at gmail.com
Wed Apr 18 08:41:56 PDT 2012


Why not give them the menu option to print their report, then give them the
option within that menu option to choose destination?

Hit F5 on the menu line to create a batch file and put something like this
in:

@echo off
cls
echo.
echo.
echo.
echo.
echo.
echo                        A. Print Report To Printer
echo.
echo                        B. Print Report To PDF
echo.
echo.                       X. EXIT
echo.
echo.
choice /c:ABX
if errorlevel 3 goto end
if errorlevel 2 goto PDF


\fp\dreport your_file -f report_prt -u -a -v report_sel  ..............

goto end

:PDF

\fp\dreport your_file -f report_pdf -v report_sel  ..............

goto end

:end

On Tue, Apr 17, 2012 at 6:39 PM, Richard Hane <yoresoft at sbcglobal.net>wrote:

> Good afternoon list,
>
> Is it just me or has activity just died?
>
> Anyway, my question.
>
> First our system, 4 server Win 2003 using fpodbc and Print Wizard.
>
> I have 2 users that sometime print report to their printer and then again
> would rather print to a pdf.  We use Print Wizard.
>
> In the past I set up 2 batch files, one for each operation.  I also have
> set up 2 copies of each report; 1 with the pdf defintion and 1 with the
> users HP printer type.
>
> My question is if use only 1 batch file but on the menu line defined a
> script (F5) and added the Print Wizard pfpostprint as seen below, run the
> rreport then added another pfpostprint to set the state back to printer;
> would that work?
>
> I probably would have to set pfprinter 2 times as well.
>
> set pfpostprint=C:\Program Files\Rasmussen Software, Inc\Print Wizard
> 4\printwiz /fpDF://V:\rickpdf\
>
> Thank in advance,
> Rick Hane
> Controller
> Deluxe Stitcher Company Inc
> ISP Stitching Products
> www.deluxestitcher.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.celestial.com/pipermail/filepro-list/attachments/20120417/dddc5234/attachment.html
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20120418/50e782c4/attachment.html 


More information about the Filepro-list mailing list