Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export report as paginated text

Status
Not open for further replies.

SlothKiwi

Programmer
Jan 16, 2002
7
NZ
I have a Cyrstal 8 report which I export to a paginated text file from vb6 using the following code:
Code:
Set InvRpt = Appl.OpenReport(App.Path & "\Invoice.rpt", 1)
InvRpt.ExportOptions.DiskFileName = strFilePathOnly & _
     adoRsAccess.Fields("OrderID") & ".prn"
InvRpt.ExportOptions.DestinationType = crEDTDiskFile
InvRpt.ExportOptions.FormatType = crEFTPaginatedText
InvRpt.ExportOptions.NumberOfLinesPerPage = 60
InvRpt.Export False
The problem I have is that the resulting file is in a 12 character per inch format when exported by some computers, and 10cpi on others. Is there anyway to force it to always export as 12cpi?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top