Under Visual FoxPro 3.0 and 3.0b, the GETPRINTER() dialog is different, and the dialog allows changing portrait/landscape settings, among others. The list of installed printers can be read into an array with the APRINTERS() function, or a single printer name can be returned by the GETPRINTER() dialog. The SET PRINTER TO NAME command allows the currently selected printer within Visual FoxPro to be set to any printer installed under Windows. This article explains some methods for doing this using SET PRINTER TO NAME. However, it is possible to change the desired destination printer without using either of these techniques. In order to specify that a Visual FoxPro report should sent to a particular printer, it is customary to either change the Windows default printer or use the PROMPT clause on the REPORT command to allow the user to select the printer. Original product version: Visual FoxPro Original KB number: 162798 Summary This article introduces how to use the SET PRINTER TO NAME command to print to a specified printer. Use the SET PRINTER TO NAME command to print to a specified printer in Visual FoxPro
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |