Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't print after @ r,c say...
Message
 
 
To
08/12/2000 08:42:57
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00450751
Message ID:
00450753
Views:
30
Andy,
Add
SET DEVICE TO SCREEN
after printing is done. Maybe that will help.

Also I think that SET PRINTER ... command has no effect on @ ... SAY. From Foxpro help:
"Output formatted with @ ... SAY isn't routed to the printer when SET PRINTER is set to ON. Use SET DEVICE TO PRINTER to direct output from @ ... SAY to the printer."





>Hi all
>
>After I print using "@ Row, Col Say " to print, I can't get the regular REPORT FORM to print. When I look at the print status, it says the printing is at "Pause". When I get completely out of FoxPro, then it prints my REPORT FORM report.
>
>My code to print "@ Row, Col Say " is:
>
>select order
>set order to ticket
>if seek(lcTicket)
> set console off
> set device to printer
> set printer on
> lnTags=1
> do while ticket=lcTicket and !eof()
> @lnTags,3 say lcTicket+" "+allt(service.descr)
> lnTags=lnTags+1
> select order
> skip
> enddo
> set printer to lpt1
> set printer off
>endif
>
>
>After this statement I cannot print using REPORT FORM.
>
>Any help will be appreciated.
>
>Thanks
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform