Jun 24, 2006 #1 jpbhatt Programmer Aug 24, 2002 8 IN Dear All, I have wrote program as follows splfile = 'report.txt' set device to print set printer to $splfile @ row(),col() say 'Hi' set device to screen set printer to after enerating text file i want to spool with pritner dialog. thanks, jayesh
Dear All, I have wrote program as follows splfile = 'report.txt' set device to print set printer to $splfile @ row(),col() say 'Hi' set device to screen set printer to after enerating text file i want to spool with pritner dialog. thanks, jayesh
Jun 25, 2006 #2 michel392 Programmer Dec 17, 2001 54 BR I use the following commands to allow the user to choose a printer he wants to send output: @10,10 SAY "Which printer ... (1-HP, 2-Epson, etc) " GET WhichPrinter ... DO CASE WhichPrinter CASE=1 SET PRINTER TO LPT1 CASE=2 SET PRINTER TO LPT2 ... ENDCASE Of course, the printers have to be named in your network environment. Michel Masstec Software http://www.masstec.com.br Upvote 0 Downvote
I use the following commands to allow the user to choose a printer he wants to send output: @10,10 SAY "Which printer ... (1-HP, 2-Epson, etc) " GET WhichPrinter ... DO CASE WhichPrinter CASE=1 SET PRINTER TO LPT1 CASE=2 SET PRINTER TO LPT2 ... ENDCASE Of course, the printers have to be named in your network environment. Michel Masstec Software http://www.masstec.com.br