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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Surpress extra formfeed

Status
Not open for further replies.

anrver

Programmer
Jun 24, 2002
12
0
0
CH
I'm using the follow code in Providex (a Basic language) to print a RTF file. This will open Word, load the file and print it out. This works fine except for the fact that a formfeed is generated after the print.

06480 DEF OBJECT WD,"[file]"+RTF_FIL$
06490 PRINT WD'PRINTOUT()

Can anyone give me a hint to tackle this problem ? Visual Basic code is welcome.

Many Thanks
Erik
 
Are you convinced the extra FF is coming from the Basic, not from the print server, or operating system?

If it's coming from your Basic, study up on the arguments/switches of the involved commands. Perhaps it's simply an issue of changing an argument.

Another thing to check is to set up diagnostic code to see if your RTF_fil$ has a FF appended to it. vbFormFeed is Ascii 12.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top