Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview a LABEL
Message
From
10/10/2013 17:30:06
 
 
To
10/10/2013 17:05:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
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:
01585217
Views:
44
>>>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
>>
>>Hi,
>>have you tried FoxyPreviewer already? This application will perform what you want.
>>Regards,
>>Koen
>
>It's nice, but I still can't figure out how to preview to a different window. Right now it's displaying within the space of the form and my form is tiny and I want to keep it that way.
>
>Thanks,
>
>Yossi

Hi,
Foxpreviewer is showing a preview in his own p. This form can not be bigger than your form, unless your form is not showwindow=2
what are the dimensions of your form? Can you show a picture of FP in your form in action?
Rgds,
Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform