Leemi
Wed Jun 29 08:56:43 CDT 2005
Hi Mark:
You are nearly always better off in the long run using a report form
instead of question marks or @...SAY commands. Regarding switching printer
trays, Cathy Pountney's book The Visual FoxPro Report Writer: Pushing it to
the Limit and Beyond (www.hentzenwerke.com) has a technique to switch the
paper tray. See page 235 and a program call Changetray.prg.
The best way to print a signature is to have the signature stored in an
image and then print the image in the report.
Sending escape sequences through a report form does not work. All
information sent to the printer from a report goes thought the Windows
printer driver first.
You can use question marks and @...SAYs to print reports, and many people
do so. However, sending control codes to printers under Windows
NT4/2000/XP/2003 can be problematic. The system security is much tighter
under those operating systems than under the Windows 9x series.
While I don't recommend you using question marks and @...SAY commands, here
are some articles we have:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;99542
http://support.microsoft.com/default.aspx?scid=KB;EN-US;99595
There may a third-party solution for printing checks, but I am not sure.
You might want to search the download section of www.universalthread.com or
check the software for sale a www.hallogram.com.
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/
*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
>I need to print checks with a stub. The information on the stub may cause
>it to go to a second page. I wish to use standard check stock in bin 1 of
a
>printer and place standard paper in bin 2 of the same printer. I wish to
>print page 1 from bin 1 (check stock) and any subsequent pages from bin 2
>(standard paper). I also want to print a signature graphic.
>Is this possible using a standard FoxPro report? (Specifically the
>switching of bins).
>If not would the @SAY method of printing be a better solution?
>Would the ??? method of printing be the best choice?
>Is it better to print the MICR and check image on plain paper using
magnetic
>toner (any suggestions for a printer)?
>or, Is there a third party solution I am unaware of that would help?
>The trick is the switching of bins. I have tried many ways to do the
report
>form, but the escape sequences are sent to the report (and printing as
>qarbage) instead of controling the printer.
>TIA
>Mark