Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Label printing problems 1

Status
Not open for further replies.

David8Moore

Programmer
Jan 30, 2001
3
US
I have a client running a Visual FoxPro 5.0 application. They are using a Citrix server for remote access. In the Citrix sessions, using the command "set printer to" does not seem to work. The label is still sent to the default printer, regardless of what printer it was set to. Citrix is running on Windows NT, so I don't know if the problem is related to Citrix in particular or NT. The code I am using looks like:

set printer to "Label printer name"

label form "Label name" noconsole to printer

Any help would be appreciated.
 
Hi David,

Try:

set printer to name "label printer name"

For more info, refer to the SET PRINTER command in the VFP help.

Also, search for a file named "label printer name" on your drive. Jon Hawkins
jonscott8@yahoo.com

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
Thanks Jon, but your suggestion is actually what I have in my code. I am using:

set printer to name "label printer name"

I did not type in in correctly when posting my question. I do appreciate your help though.

David Moore
 
This may not be the problem but remember that the fields EXPR, TAG, TAG2 in FRX file can have a bearing on this.


Don
dond@csrinc.com

 
Clearing out the tag and tag2 fields appears to have cleared up the problem. Thanks for the help.

David Moore
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top