Tom, What happens when you leave the option code out? print CashDrawerRec where DrCompID = .vCashDrID Also, it is possible that the problem is with the report itself; can you display it from the report designer? I would suggest that you set: SET MESSAGES ON SET ERROR MESSAGES ON SET DEBUG ON And then, on the fist line of code within your form you enter the following command
DEBUG SET TRACE ON You can always create a "Before Display" or "Before Generate" routine to include the code above if necessary. Actually, you can place the code before the print statement. This will allow you to trace the flow of the report, one line at a time, and hopefully figure out what is causing the problem. Javier, Javier Valencia, PE 913-829-0888 Office 913-915-3137 Cell 913-649-2904 Fax <mailto:[email protected]> [email protected] _____ From: [email protected] [mailto:[email protected]] On Behalf Of TOM HART Sent: Wednesday, September 08, 2010 10:01 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: 9.0 printing issue I thought of that so I actually typed 'option printer' and 'option screen' with same results. _____ From: Mike Byerley <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Wed, September 8, 2010 9:20:28 AM Subject: [RBASE-L] - Re: 9.0 printing issue values passed are dotted vars. Embedded command strings are ampersand variables. try: print CashDrawerRec where DrCompID = .vCashDrID option &vprnscrn if that fails, try the command from the R> and see what happens. ----- Original Message ----- From: "TOM HART" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Wednesday, September 08, 2010 10:06 AM Subject: [RBASE-L] - 9.0 printing issue > I have a form to enter some data and a button to print a receipt. Why would > this EEP lockup Rbase. Under 7.6 there was no problem. It locks up right as > the little window comes up saying it is printing. All the variables are > defined. The var vprnscrn I can set to 'printer' or 'screen' and it locks up > either way. > > saverow > prnsetup .vprinter1 > print CashDrawerRec where DrCompID = .vCashDrID option .vprnscrn > return > > Tom Hart >

