Tom

   Does your table have the exact printer name as Windows

 

Buddy

 

 

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