Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing logo on receipt printer
Message
De
22/07/2012 19:16:34
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
20/07/2012 19:13:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01548835
Message ID:
01548970
Vues:
98
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform