>I am testing on how to print to a Brother QL-570 printer from VFP application.
>
>I see that this printer is in my printer list. I created a test label in the VFP project, defining the label size matching the size of the Brother labels.
>
>Then I do the following:
>
>
>cLabel = "Brother QL-570"
>SET PRINTER TO (cLabel)
>label form MyLabelName noconsole next 1 to printer
>
>
>But the printing goes to the default printer (InkJet).
>
>How can I check (after the SET PRINTER command) that the printing should go to the Brother printer? Anything else I do wrong above? TIA.
In addition to Sergey's response you can also try using NAME clause. Although saving the printer's info is the most common cause for the problem.
set printer to name (cLabel)
If it's not broken, fix it until it is.
My Blog