How to Print Nav reports through OPOS Printer in LS Retail

kknavkknav Member Posts: 10
Hi,
I am facing one problem. our customer is using NAV5.0 SP1 with LSretail. our customer is using OPOS maching in stores.
They have to take the transfer order printouts through OPOS printer. Is it possible to print NAV reports through OPOS printer.

Please give us the solution.

Regards,
kk

Comments

  • ara3nara3n Member Posts: 9,256
    take a look at how pos prints to the opos printer and build the same functionality for transfer order.


    the other option is to see if there is a windows driver for the printer
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • kknavkknav Member Posts: 10
    Thanks for your reply.
    we can install either OPOS driver or windows printer. but in our system opos driver is installed.
  • ara3nara3n Member Posts: 9,256
    take a look at how LS POS prints to the opos printer. There is print util codeunit that handles all the printing functionality.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • rmpatel22rmpatel22 Member Posts: 80
    If you see codeunit 99008910 (POS OPOS Utility) there are functions to print from OPOS printer, you have to call those functions in correct sequence then you can print report.

    Follwing functions are available in codeunit, (depends on version)
    InitPrinter
    ClosePrinter
    CloseSpecPrinter
    StartPrintjob
    EndPrintjob
    SetBitMap
    PrintBitMap
    GetPrinterNo
    SetRotation
    PrintLine
    BeginInsertion
    EndInsertion
    BeginRemoval
    EndRemoval
    CutPaper
    Rakesh Patel
    Navision Developer
  • kknavkknav Member Posts: 10
    Thanks Rakesh.
    I got it.
Sign In or Register to comment.