Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page Length
Message
De
29/09/1998 11:56:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00140714
Message ID:
00141969
Vues:
40
>
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform