I don't use getprinter() when I call set printer to name (lcPrinter) I have a workstation settings page that the user can select where to print various reports and labels and that is where they select the printer.
When I print the report or label, I retrieve the printer selection from the workstation table. I solved the problem by going into each report and label in VFP9 and removing the check mark to "Save Printer Environment" This is the same as removing the Tag and Tag2 info from the report.frx but much easier. Thanks to everyone for their help, Kent > > Devendra, > > Excellent tip and welcome to Profox! > > Malcolm > > <snip> > This is a problem when Getprinter() is called. > > You can provide a printer name otherwise also. Provide a combo with > installed printerlist on report screen. Populate the combo with > Aprinter(). For all report get printer name from this combo value. Now > you do not require to call Getprinter(). This should work. > > Bottom line is that do not call Getprinter(). Provide a printername > without a call to Getprinter(). > </snip> > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

