Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spooling Printing Problem
Message
From
19/07/2007 05:34:24
 
 
To
19/07/2007 05:08:10
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01241790
Message ID:
01241793
Views:
31
First of all, it's very important that you tell us which version you use.

Secondly, I suggest that you don't do it this way, I suggest that you use the report writer. But, if you use a dot matrix printer, the report writer is not easy to use. In thsi case I suggest that you print to a file, and then copy the file to the printer. Something like this
set alternate to dummy.txt
set console off
set alternate on
@  7,8 say "Date"
@  8,8 say "Payee Name"
@ 10,8 say "Amount In Words"
set alternate off
set alternate to
set console on
copy file dummy.txt tp lpt1:
>Hi,
>
>I have this printing codes:
>
>
>
>set device to printer
>set printer on
>
>@  7,8 say "Date"
>@  8,8 say "Payee Name"
>@ 10,8 say "Amount In Words"
>
>eject
>set printer off
>set device to screen
>
>
>
>It prints ok, but the problem is that it shows 1 of 2 pages in the printer's document(s) in queue (Spooling Printing) when it suppose to be only 1 page. This cause the other documents not being printed until you delete the previous documents that says it has a second page where it suppose to have NO 2nd page, or you quit the program/application then the document on queue will be deleted.
>
>What might have cause this? or is there something missing in my code?
>
>Thanks a lot
>
>Sonny
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform