Print Code - Replace With Script Follow
I want to replace something in the print code.
So I added a script in Visual Basic Scripting:
codepage = PCM.CodePageDo Until PCM.FileAtEOFvariableLine = PCM.ReadLine(codepage)PCM.WriteLine variableLine, codepageLoop
Very easy - just looping throug the code and write it again, nothing replacing, just a 1:1 copy (I thought).
Now I have added an image to the label (that's the only element), the image is embedded.
When I print now, the print code is different (I print to file)! Something must go wrong or I miss something im my code?
When I send the "original" file to the printer, everything's fine.
When I send the "manipulated" one, printer says that something's wrong with the embedded image.
I compared both files - I can't see the difference exactly ('cause it's only something in HEX) but I can see there's a difference...
Do you have any ideas what I'm doing wrong?
Please sign in to leave a comment.