Check out the PRNSETUP commands. This is in the “before generate eep” on 
invoice and packing slip reports for the file copies. There is a disclaimer 
that prints o the back of the invoice and packing slip that goes to the 
customer. The line just before RETURN reads PRNSETUP DUPLEX HORIZONTAL. The 
reports are portrait on US letter paper (8.5x11”). The user prints with a 
button.
The command on the button to print reads "PRINT InvoiceP OPTION PRINTER"
****************
  SET VAR vInvoicePrinter TEXT = NULL
  SELECT InvoicePrinter INTO vInvoicePrinter INDICATOR i1 FROM FormTable +
    WHERE ColumnZZ = 1
  PRNSETUP .vInvoicePrinter
  PRNSETUP DUPLEX SIMPLEX
  RETURN
*****************


Albert

> On Feb 4, 2017, at 12:10 PM, Tom Hart <[email protected]> wrote:
> 
> I have even tried putting printer instead of the variable same result
> 
> Tom Hart
> 
> On Sat, Feb 4, 2017 at 12:56 PM, Tom Hart <[email protected] 
> <mailto:[email protected]>> wrote:
> That did not seem to make a difference, still same will work on my work copy 
> but not on compiled
> Tom Hart
> 
> On Sat, Feb 4, 2017 at 12:02 PM, Doug Hamilton <[email protected] 
> <mailto:[email protected]>> wrote:
> Would &vprintscreen work instead of .vprintscreen?
> Doug
> 
> 
> On 2/4/2017 11:58 AM, Tom Hart wrote:
>> Well I found something out everything works fine on my design computer it 
>> only fails when I try a compiled version
>> 
>> On Sat, Feb 4, 2017 at 10:36 AM, Tom Hart <[email protected] 
>> <mailto:[email protected]>> wrote:
>> has something changed in the prnsetup in XE. I have done the following for 
>> years
>> set var vprintscreen(which I can set to printer or screen)
>> set var vprinter(which I can set to the default printer)
>> 
>> print myreport option .vprintscreen
>> 
>> This has always sent to doc directly to the printer, but on XE it always 
>> sends it to the screen whether my vprintscreen is set to printer or screen
>> 
>> Tom Hart
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "RBASE-L" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "RBASE-L" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> 
>   <https://www.avast.com/antivirus>   
> This email has been checked for viruses by Avast antivirus software. 
> www.avast.com <https://www.avast.com/antivirus>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to