Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Printer coding!
Name: GhosT Date: December 19, 2007 at 11:25:48 Pacific OS: XP SP2 CPU/Ram: 2600Sempron Product: AMD
Comment:
hi, i wrote a POS program in VB6 and it has a part that it will print the the receipt. can someone tell me a sample code for print command in VB6 alone... coz my friends are telling me to use crystal report10 and i obviously dont wanna do that...
Summary: Epson Printer ESC/P2 codes are the typical basic printer codes. Each printer often has it own set of commands. But you just need the Graphics subset. 1) Get the data from source. 2) Look up each char...
Summary: That will depend on the 'escape' codes for that printer. I put the word escape in quotes because not all printers use the ascii number 27 to issue commands but many do and that is just one nick name ...
Summary: the printer code for form feed is 0x12 or ^L. Make sure this is outside any HTML blocks so the printer sees it. The problem with HTML reports is that they format themselves onto whatever device you d...