Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing logo on receipt printer
Message
From
22/07/2012 19:16:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
20/07/2012 19:13:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01548835
Message ID:
01548970
Views:
96
>>Anyone ever used a receipt printer where logos could be printed before a report is printed on it.
>>
>>How do those work? How do you insert the logo in the printer?
>>
>>When the logo is there is it printed before every report that gets printed?
>>
>>Anything that complicates things with VFP?
>
>You send the logo once to the printer with a tool like TMFLOGO.EXE for EPSON printers.
>
>When you initialize the printer (Serial commands or OPOS), add the ESC command to invoke logo printing before you sen data to the printer (something like this: http://forum.pcsoft.fr/thread.awp?groupid=pcsoft.us.windev&v=2&postid=216362)

And the command may as well be in the output of anything that can print a logo to it, captured into a file. Then including the file inside what you're printing may just mean one ...+filetostr("logo.prn")+...somewhere inside the report. I did that once (for a dot matrix printer), and had only to remove the printer reset codes from the beginning of the file, and the eject code from its end. Knowing your printer codes and having hex literacy may help here.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform