Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview a LABEL
Message
From
10/10/2013 13:43:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Preview a LABEL
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01585183
Message ID:
01585183
Views:
59
Hi All:

I'm trying to print a label. But before printing, I want the user to preview and then choose the printer.

Usually I would use
LABEL FORM barlabs TO PRINTER PROMPT PREVIEW
But in this case, my form is small and I do not have the VFP main screen, since I'm compiling to an exe and I put screen=off in config.fpw.

So I tried the following:
DEFINE WINDOW joe FROM 1,0 TO 40,180 IN DESKTOP GROW 
ACTIVATE WINDOW joe

*!*	LABEL FORM barlabs TO PRINTER PROMPT PREVIEW in window joe
LABEL FORM barlabs TO PRINTER PROMPT in window joe

RELEASE WINDOWS joe
The problem is that with the following, the toolbar with the little print icon is missing:
LABEL FORM barlabs TO PRINTER PROMPT PREVIEW in window joe
And with this, I don't get a chance to preview:
LABEL FORM barlabs TO PRINTER PROMPT in window joe
How can I accomplish what I want?

Thanks,

Yossi
Next
Reply
Map
View

Click here to load this message in the networking platform