AndrewMozley
Programmer
This is a continuation of a thread from August.. The user has specified the printer which he wishes to use. I do not want to prompt for the printer when I print a sales order, because the work station is unattended.
My default printer is “Cutepdf Writer”, but for these sales orders the user wishes to use “Brother MFC-J5910 Printer”
I execute these instructions :
I find that my Testfile does indeed go to the Brother printer, but the Sales order is still going to the default printer – the Cutepdf Writer. Why is this? It seems that the REPORT FORM command is not taking note of the SET PRINTER command. How can I get my sales order to go to the Brother printer, without displaying the dialogue box?
Thanks. Andrew
My default printer is “Cutepdf Writer”, but for these sales orders the user wishes to use “Brother MFC-J5910 Printer”
I execute these instructions :
Code:
SET PRINTER TO NAME “Brother MFC-J5910 Printer”
TYPE Testfile.txt TO PRINTER
REPORT FORM salesord.frx TO PRINTER NOCONSOLE
I find that my Testfile does indeed go to the Brother printer, but the Sales order is still going to the default printer – the Cutepdf Writer. Why is this? It seems that the REPORT FORM command is not taking note of the SET PRINTER command. How can I get my sales order to go to the Brother printer, without displaying the dialogue box?
Thanks. Andrew