On 10/3/2014 5:09 AM, Jeff Johnson wrote:
On 10/2/2014 5:53 PM, Tracy Pearson wrote:
On 2014-10-02 20:16, Tracy Pearson wrote:
If you're using the API, there is a way to set the current printer in
the control.
I checked the code I use.
IF DL.SelectPrinter(lcPrinterName) = .F.
MessageBox("printer unavailable")
ENDIF
lcPrinterName is the name in Windows. It can include spaces.
HTH,
Tracy
I added the above test and also SET PRINTER TO. Everything is a go
except the printing.
So sorry to bother all of you, but the problem was an incorrect variable
name. I thought I assigned to printer properly and the printer was
ready, but because of the incorrect variable name it was the wrong
printer. After correcting it, everything works great!
When you look at and modify code all day long every day year after year,
it is surprising I don't make more mistakes.
Thanks for your help.
--
Jeff
Jeff Johnson
[email protected]
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675
Visit our forum at www.san-dc.com/forum
Register and join in the discussion
www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** 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.