At 07:45 PM 9/24/2001 -0400, Bob Powell wrote:
>
>I've been searching through the (CVAL) printer functions
>and don't seem to be able to find a function that allows
>you to change the default printer in windows on the fly.
>Does anyone know if this is possible, and if so, how to
>do it. I'm using R:BASE 6.5++.
Bob,
Following CVAL Functions are related to the Windows Printer
(Build: 1.842xRT03):
01. To find the Current printer during R:BASE for Windows
session:
(CVAL('CurrentPrinter'))
02. Get complete list of all installed printers:
(CVAL('Printers'))
03. Get the Windows default printer:
(CVAL('WindowsPrinter'))
TGRB2000 (ver 6.5++) for Windows, Build: 1.843 and
higher ...
If you know the name of printer, then, try PRNSETUP command
to change the default printer on the fly!
For complete details with examples:
http://www.RSyntax.com
or
Check out the NewStuff Sample Database with examples
or
Read RBW65PP.TXT for sample code to automate PRNSETUP
routine and more ...
Very Best Regards,
Razzak.
===================================-============================
R:BASE Developers's Conference: http://www.rbase.com/conference
Official R:BASE List Server: mailto:[EMAIL PROTECTED]
RBTI Events/Training: http://www.rbase2000.com/events
R:DCC Members: http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================