Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 To: Terrence Ho
  Where is Terrence Ho?
 Hong Kong
 Hong Kong
 Terrence Ho
 Tags
Subject: RE: How can I send a Printer Code before REPORT...
Thread ID: 16216 Message ID: 16231 # Views: 0 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Sunday, October 13, 2002 9:15:38 AM         
   


> Hi,
>
> How can I send a Printer Code to Printer before running the statement REPORT FORM FormName TO PRINTER, I have tried _pscode and _pecode, those did'nt work.
>
> Thanks in advance
>
> Terrence

try this:
set printer on
set device to print
?chr(27)+"YourPrinterCode"+chr(13)
set device to screen
report form MyReprt.frx


Boudewijn.Lutgerink@Foxite.com
www.foxite.com - EFFORT is too often seen as PRODUCTIVITY. Therefore programming jobs are too often experienced as sword-dancing in a hot fire.

ENTIRE THREAD

How can I send a Printer Code before REPORT FORM Posted by Terrence Ho @ 10/12/2002 12:18:48 PM
RE: How can I send a Printer Code before REPORT... Posted by Boudewijn Lutgerink @ 10/13/2002 9:15:38 AM