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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change printer from Foxbase/Foxpro program undex SCO Unix 1

Status
Not open for further replies.

kosta5

Programmer
Oct 10, 2001
2
0
0
MK
Some reports are A4 , some A3 format. How to change printer from within Foxpro 2.6 or SCO Foxbase aplication under SCO Unix, with minimum changing code.

I try to make procedure (which is assign on any function key or which is call from menu) like:
Code:
procedure whichprinter
*
* section where user will choice which printer he likes
* 
myprinter=<printer name> && var myprinter contains string- printer name

! LPDEST=&myprinter; export LPDEST

return

but it didn't work.

Have any other idea?
 

we are also using SCO + foxplus combination.

for changing, try set printer to &quot;printername&quot; in your procedure.

Madhu
madhu_ekm@rediffmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top