Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer Codes and Page length
Message
De
20/02/1998 11:18:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/02/1998 10:00:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00080097
Message ID:
00080123
Vues:
20
>I am currently producing a report via code and I am experimenting with printer command codes. I am experience some difficulties using the command codes and/or _PLENGTH. THe length of my forms are 4.25 inches. Thus, I want to set the length of the form to 4.25 so that when I EJECT the form it will start in the appropriate position on the next form. I believe the command code for the page length is "27 67 n" where 'n' is the specified length of the form. I would greatly appreciate anyones help ASAP. Thanks.
>
>P.S. If you have a suggestion could you please email me at j.sturgeon@sk.sympatico.ca. Thanks again.

This method is easier than sending codes directly :
clear all
select contact, company ;
     from home()+"samples\data\customer" ;
     into cursor tc where .t.
create report myreport1 from alias() column
select 0
use myreport.frx     && A dummy report with desired print settings
scatter memvar fields expr, tag,tag2
use
use myreport1.frx
gather memvar fields expr, tag,tag2
use
select tc
report form myreport to printer
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