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!

VB 6.0 - Parsing PCL and Writing to File

Status
Not open for further replies.

muxerr

Technical User
Apr 10, 2002
2
0
0
US
Having trouble reading, more specifically writing PCL print stream. I am trying to read (sequentially), parse and write PCL to a new file. The problem is x'00' values are not being written to the output file. Below is an abbreviated code example I am trying:

open for binary as #1
open for output as #2

do
if eof(1) end
input #1,rec
' ..... parsing ... search and replace

print #2,rec
loop

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top