Using OPOS

Hi

Iam designing a receipt using L&L13, the project is in VS2008(coding in VB). I want to print it through a thermal printer using Microsoft POS for .NET SDK.

How will I use the OPOS commands with L&L13 ?
For example I wish to use the ‘CutPaper’ function of OPOS in my Print subroutine. Do I have to use any L&L13 commands to utilise it ?
Please help!

Regards
Arijit

Hi,

I use a Samsung with LL13.
I do a normal print subroutine and after finish it I send a final command to
open the cash drawer.

(I program in Visual DataFlex, but…)

    // open cash drawer on Epson TM- series
    Procedure Do_AbrirCajon
        String nDisp
        Integer iVal
        String sSec_Escape

        Move (Trim(TPV_D008.NOMBRE_CAJON)) to nDisp
       Direct_Output nDisp
      // assemble a string:
      //       (esc) hey, attention printer
      //        (p)  tell printer this is a cashdrawer command following
      //        (0)  which connector pin?
      //        (2) (100)  length
      //        (4) (250)  duration
      //   char 27  -  char 112 -  char 0  - char 100 - char 250
      If (TPV_D008.CAJON01<>256) Write (character(TPV_D008.CAJON01))
      If (TPV_D008.CAJON02<>256) Write (character(TPV_D008.CAJON02))
      If (TPV_D008.CAJON03<>256) Write (character(TPV_D008.CAJON03))
      If (TPV_D008.CAJON04<>256) Write (character(TPV_D008.CAJON04))

      Close_Output
    End_Procedure

Regards,
Antonio Jiménez
Granada (Spain)

"ARIJIT " <arijit_manna@hotmai…> escribió en el mensaje
news:14041772008144440@combit.net…

Hi

Iam designing a receipt using L&L13, the project is in VS2008(coding in
VB). I want to print it through a thermal printer using Microsoft POS for
.NET SDK.

How will I use the OPOS commands with L&L13 ?
For example I wish to use the ‘CutPaper’ function of OPOS in my Print
subroutine. Do I have to use any L&L13 commands to utilise it ?
Please help!

Regards
Arijit

Antonio

Thanks for answering my query.

Could you please suggest a general way by which I could use OPOS commands for printing documents(.lst files) prepared by using LL13 ?

Iam using LL13 commands for printing currently, but I want to integrate OPOS commands with it, for generating reports of POS.

Regards
ARIJIT

Hi,

I use a Samsung with LL13.
I do a normal print subroutine and after finish it I send a final command to
open the cash drawer.

(I program in Visual DataFlex, but…)

    // open cash drawer on Epson TM- series
    Procedure Do_AbrirCajon
        String nDisp
        Integer iVal
        String sSec_Escape

        Move (Trim(TPV_D008.NOMBRE_CAJON)) to nDisp
       Direct_Output nDisp
      // assemble a string:
      //       (esc) hey, attention printer
      //        (p)  tell printer this is a cashdrawer command following
      //        (0)  which connector pin?
      //        (2) (100)  length
      //        (4) (250)  duration
      //   char 27  -  char 112 -  char 0  - char 100 - char 250
      If (TPV_D008.CAJON01<>256) Write (character(TPV_D008.CAJON01))
      If (TPV_D008.CAJON02<>256) Write (character(TPV_D008.CAJON02))
      If (TPV_D008.CAJON03<>256) Write (character(TPV_D008.CAJON03))
      If (TPV_D008.CAJON04<>256) Write (character(TPV_D008.CAJON04))

      Close_Output
    End_Procedure

Regards,
Antonio Jiménez
Granada (Spain)

"ARIJIT " <arijit_manna@hotmai…> escribió en el mensaje
news:14041772008144440@combit.net…

Hi

Iam designing a receipt using L&L13, the project is in VS2008(coding in
VB). I want to print it through a thermal printer using Microsoft POS for
.NET SDK.

How will I use the OPOS commands with L&L13 ?
For example I wish to use the ‘CutPaper’ function of OPOS in my Print
subroutine. Do I have to use any L&L13 commands to utilise it ?
Please help!

Regards
Arijit