Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Point Of Sale receipt printing
Message
 
 
À
20/07/2001 13:06:38
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00533095
Message ID:
00533262
Vues:
21
There is no command to shut off the cutter. There is only a method call to the OCX CutPaper method [at least in my OPOS OCX Control]
PROCEDURE CutPaper
   WITH THIS.oleOpos
      IF .CapRecPaperCut
         .CutPaper(90)  && 90% cut
      ENDIF
   ENDWITH
   RETURN
ENDPROC
>Thanks Mark.
>
>The printer acts like it is pre-programmed to cut at a certain point.
>
>Do you shut the cutter off before printing and activate it when you are ready to cut?
>
>I tried the VFP label generator to print receipt. It printed ok, but there was too long of a pause before it actually started printing.
>
>>Yes OPOS is an industry standard. I just hava a SCAN/ENDSCAN that loops through all the records in my InvoiceItems cursor and prints all the lineitems on the receipt. After the ENDSCAN, I send lines for the sub-totals and receipt total and some other info lines. Then I issue the PaperCut command. There is absolutely no limit on the number of lines you can print for 1 receipt.
>
>>You can not use a VFP report form to send output to the receipt printer. You write code that calls OPOS OCX methods to do all the outputting to the printer.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform