Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer Control
Message
From
29/10/1997 14:17:43
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
 
 
To
29/10/1997 14:10:13
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00057242
Message ID:
00057246
Views:
28
>>I am trying to gain control over the printer for the purpose of cheque printing on a laser ( probably an HP or compatible ) . I have been unable to control _plineno through the report writer and so I have had to resort to hand coding the report. This is less than attractive for although I have the cheques sort of printing properly, I am getting some escape codes printing as well. If anyone has any suggestions I would appreciate your help.
>>
>>Thanks
>>Carmen
>
>Carmen,
> Why not use the Report Writer for this?? It is a lot simpler, and more maintainable this way.. Sending escape sequences, try using ??? and the sequences.. This will force FP to send them directly to the printer..
>
>Thanx!
>
>Tony Miller
>Vancouver,Wa
Tony
I have tried to use the report writer, and the problem I encounter is that after the cheque advise is printed ( this consists of data groupings based on an index and then subtotals ), I can't get the printer to advance to that area of the report where the actual cheque itself will be printed. This is approximately line 44 of an 8.5 X 11 page. I would love to use the report writer to keep everything consistent in the application. Maybe I'm missing something obvious, but I can't seem to control _plineno. After the advise for the cheque, the cheque info itself is printed immediately following regardless of which line the printer is at. I would have to ensure that the printer starts printing the actual cheque info. ( the Pay to stuff that is actually on the cheque ) at the same line number for each cheque, because these are being printed on pre-printed cheques with the bank number already encoded on them. Any ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform