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