Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Length
Message
From
29/09/1998 11:56:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00140714
Message ID:
00141969
Views:
39
>
>Thanks Again
>
> In the Generic/Text Only driver Doesn't exist option to personalized paper size. Therefore I use escape sequences to control paper size. When send the sequence from command window
>???chr(27)+'C'+chr(43) &&You are right in sintaxis :-)
>later, I need execute
>Set printer to
>To clean the spooler.
>From command window all works fine, the preview report and printing are good. But if I send it from my application don't works. I do next:
>In click method of my printing button
>???chr(27)+'C'+chr(43)
>Set printer to
>Report form ....
>But the report form take the default size. If you will have known, I'll thank you very much.
>
>Thanks A LOT
>
>Enrique
Hi Enrique,
This was ASCII (should be) ? If you don't have a title, create one. There change (add) your very first upper-left label, or field to a field expression like chr(27)+"C"+chr(43)+your_existing_label_field_if_any.
report form ... to printer ascii nowait
set printer to
This should work. I can't test it for the moment unfortunately.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform