DOS based printing

dhananjaydhananjay Member Posts: 38
Dear All ,
Is DOS based printing is possible in Navision ?
if yes then what is procedure to print report on DOS based printer ?



rgds
dhananjay
rgds
dhananjay

Comments

  • kinekine Member Posts: 12,562
    Search for "Generic text printer".
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • themavethemave Member Posts: 1,058
    DOS ? what is that ?

    Just kidding sort of, it is time to move away from DOS, tell them to buy a new printer. The printer is fully depreciated, probably like 10 years ago.
  • ara3nara3n Member Posts: 9,256
    well a lot of label printers do not have windows drivers.
    Lanham has a label printing granule that creates the text files and copies them to the printer port through shell command.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • AsallaiAsallai Member Posts: 141
    Did you try the
    shell(c:\winnt\system32\cmd.exe type >myfilename.txt myprintername)
    
    http://www.mibuso.com/forum/viewtopic.php?t=20765&highlight=shell
    or the DOS command is
    COPY text.txt LPT1
    
    or something this, that I remember :roll:
  • MCalciniMCalcini Member Posts: 9
    After the print I must delete the file...How I can do it?...
    I can't use FileName.CREATETEMPFILE because i must CLOSE the file before print with SHELL but with CLOSE delete the file.
  • kinekine Member Posts: 12,562
    See ERASE command. But you need to do it in right time.

    Still for me it is easier to use the Generic text printer to send the report to the printer. If correctly done, you do not have problems with the report design...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.