Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left margin too far to the right
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Titre:
Left margin too far to the right
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
01101134
Message ID:
01101134
Vues:
72
When I preview a report and then print, all is OK. The left margin is 1/2 inch from edge of page.

However, if I print without previewing, the left margin is too far over to the right - about one and a quarter inches from the edge of the page.

If I increase LeftMargin, it does change the left margin, but I can never get it left enough, even with LeftMargin = 0.

Below is the code used to print the reports. Using Crystal 9.
cPrinter = 'HP network - LaserJet 2420'

With This

	.crReport.SelectPrinter('', cPrinter, '')
	.crReport.PaperOrientation = 2   && landscape = 2

	.crReport.TopMargin = 238
	.crReport.BottomMargin = 238
	.crReport.LeftMargin = 0

	.crReport.ReadRecords()

	.crReport.PrintOut(.F., 1, .T., 1)

Endwith
Any suggestions?
Cyril
Répondre
Fil
Voir

Click here to load this message in the networking platform