Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with printer margins
Message
 
 
À
24/08/2002 11:33:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00693293
Message ID:
00693314
Vues:
19
There're only three printer related lines in EXPR you've to remove
DRIVER=
DEVICE=
OUTPUT=
Help for PRTINFO() Function has descripton for the printer options in this field.
The value of Left Margin is stored in the first record of the report table in the HPOS field in 1/10000 of inch or 1/1000 of cm.
In addition, the custom paper size works differently under WIndows 2000. See Mskb#Q304639 HOWTO: Find PaperSize for Custom Print Sizes Under Windows NT and Windows 2000 and mskb#Q157172 How to Create Custom Forms in Windows NT 4.0 and Windows 2000

>It worked fine when EXPR and TAG fields in report file were deleted. There were some troubles sometimes, because I must manually set the left margin of printed page, since the report was printed too much on the right side of the paper and the most right characters were cut from the print area.
>It wasn't a big problem to set the margins of the printed output in a control panel. Some HP drivers doesn't allow to do it, so I usually change them with some MS drivers for that HP printer and it works for that moment.
>
>But - in the Windows 2000 (and it seems in XP too) I can't do it. Since MS Word and Excel prints fine with that drivers, there must be something I don't know to set up. So, any idea about setting left, right or top/bottom margins programatically from VFP6?
>
>Thank's, Zlatko.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform