Print Text to Generic/Text Printer

KTAKTA Member Posts: 11
edited 2014-10-30 in NAV Three Tier
Hi All,

I am working on the migration of the Nav 2009 Report (without RDLC) to Nav 2013 Report.
This report has only one section with a Text (ZPL Language for ZEBRA PRinter).

I try to make the same in NAV2013 R2. So in my RDLC, I only have one TextBox, with expression equals to the ZPL Text.

I print each report to the same Generic/Text Printer (to a File PORT) and the results are differents... :
Nav 2009 :
^^FO030,40^GB1140,710,4^FS
^^FO300,60^A0N,60,50^FDCUSTOMER NAME^FS
^^FO030,120^GB1140,0,4^FS
^^FO050,130^A0N,50,35^FDEXPEDITEUR : ^FS
^^FO050,190^A0N,50,35^FDCUSTOMER NAME^FS
^^FO050,250^A0N,50,35^FDNANTES^FS
^^FO050,310^A0N,50,35^FD44000 NANTES^FS
^^FO050,370^A0N,50,35^FD^FS
Nav 2013 R2
^
^
 XA
^
^
 MD5
^
^
 PR6
^
^
 LH0
  ,
   0
^

Does anyone has an idea?

Thanks for you time.

Answers

  • tinoruijstinoruijs Member Posts: 1,226
    I would consider using creating a text-file instead of a report for printing to a Zebra-printer.
    That of course mean you have to rewrite your method, but you will have a better grip on the output from NAV.
    Maybe you can get it to work with RDLC, but my experience with RDLC is new things can cost you a lot of time.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • KTAKTA Member Posts: 11
    Ok, for using a Text File, but how to send it to the printer? use SHELL command?

    In Nav2013 R2, shall we not found something more "technical" and "newest"?
  • KTAKTA Member Posts: 11
    I found the solution. Change the police to "Lucida Console", and it's working fine.

    So nothing funniest, nothing more technical...

    But it's working :)
  • tinoruijstinoruijs Member Posts: 1,226
    Great. That's an easy solution!

    Tino Ruijs
    Microsoft Dynamics NAV specialist
Sign In or Register to comment.