Jim

  You are missing a pipe in the option for the print command.

 

  PRINT ....... +

  OPTION PRINTER +

  |SHOW_CANCEL_DIALOG OFF

 

Buddy

 

   

 

From: [email protected] [mailto:[email protected]] On Behalf Of Jim
Belisle
Sent: Monday, May 18, 2009 11:54 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - printing report

 

I set up a bit button to automatically print a series of reports.  I use
a pause 3 using gauge on the report and have the report print directly
to the printer.  

 

Here is the code:

 

SET MESSAGES OFF

SET ERROR MESSAGES OFF

PAUSE 3 USING 'Calculating ... Please Stand By ...'  +

CAPTION '               Open Orders Printing for In House '  +

ICON WINDOWS  OPTION GAUGE_VISIBLE ON  +

|GAUGE_COLOR RED  +

|GAUGE_INTERVAL 10  +

|MESSAGE_FONT_NAME VERDANA  +

|MESSAGE_FONT_SIZE 10  +

|MESSAGE_FONT_COLOR WHITE  +

|THEMENAME Steel Blue

PRINT KayParkOpenOrder WHERE SORTONE IN (BL,BR,LR,FP,OT,PB,PC,PT,RP) AND
SHIPDATE +

IS NULL AND MODEL# NOT CONTAINS 'SPBL' ORDER BY TRANSDATE CONTROL# +

OPTION PRINTER +

SHOW_CANCEL_DIALOG OFF

CLS

 

This morning when the bit button was used, the reports came up with the
normal print box and the PDF option was checked.  I do not show the PDF
option as being in my default settings or anyone's that I know of. It
was not doing this when I set it up.  Where do I look to turn the PDF
default option off? I already looked on the main menu| Settings|
printer/label.  I read the Help files.  I do not see that option in my
code.

 

Jim

 

 

Reply via email to