I just reread your post. The PRNSETUP does not set the printer selected to
the DEFAULT printer, it makes the printer the CURRENT printer.  You set the
default printer in windows dialogs, if that is what you meant.


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of TOM
> HART
> Sent: Monday, February 09, 2015 11:03 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - RE: Prnsetup
> 
> I load the column comprecprinter in a form with the choose command so
> it is the correct printer
> 
> Tom Hart
> 
> 
> 
> On Monday, February 9, 2015 9:39 PM, MikeB <[email protected]>
> wrote:
> 
> 
> 
> Tom,
> 
> Do:
> set var vPrinters = (cval('Printers'))
> write .vPrinters
> 
> from the comma separated list, make certain that your value in the
> table is exactly the way it appears in the separated list.
> 
> For example, on my local machine the list looks like this:
> 
> Microsoft XPS Document Writer,HP LJ300 color MFP PCL 6 Fax,HP LJ300
> color MFP PCL 6,HP LaserJet 8100 Series PCL6,HP LaserJet 400 M401 PCL
> 6,Fax,Adobe PDF
> 
> 
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]] On Behalf Of TOM
> > HART
> > Sent: Monday, February 09, 2015 7:55 PM
> > To: RBASE-L Mailing List
> > Subject: [RBASE-L] - Prnsetup
> >
> > I have the following code to set up a receipt printer for a receipt.
> > For some reason this will not set it to the default
> printer(vprinter1).
> > Comprecprinter has a valid printer captured.
> >
> >
> > SET VAR vcompname = (CVAL('computer')) SELECT comprecprinter INTO
> > vprinter1 INDICATOR iv2 FROM storecomputer + WHERE compname =
> > .vcompname PRNSETUP .vprinter1 PRINT consignbuyreceipt WHERE COUNT =
> 1
> >
> > Tom Hart
> 
> 
> 
> 


Reply via email to