I found an earlier discussion related to this topic suggesting using WinWord to create a print file. Then strip form feed and reset codes from the print file and then copy the print file to a printer in RBasic code.
I tried this but I'm still getting an unwanted form feed that causes the logo to print on a sheet by itself.
I'm using WordPad rather than Winword and I use a hex editor to strip the hex codes. What could be the problem?
Somewhere you are printing a char(12)=\0C\
Filter this out, and use colons at the end of each printed string
Steve
I have tried this and had two results, one good and the other bitmap by itself prints ok with no form feed, but if I put my print statements after it, nothing but the bitmap prints. I tried it to file and it's all there?
Are you doing this under DOS or Windows? It can work just fine if configured correctly so there is obviously a problem here.
World Leaders in all things RevSoft
We print both bitmaps and digitised signatures for merge documents by doing the following
First, create a bitmap and print it to a file. Strip out the initial printer control codes at the front and back of the document (the ones at the end often are forgotten and thus force a pagethrow). Once this is done….
1) merging the documents to a file in which the bitmap should be inserted.
2) OSOPEN the file. In the file, put a dummy code, , for example, which is SWAP with the printer control codes which are created above. Then re-direct this new file, after an OSCLOSE, of course, to the printer.
We do all of this online within a shell program which calls the MERGE command.
Hope this helps…