Printer-ESC-sequence in Navision-Code

buble
Member Posts: 16
Hey,
I created a report. The report has special pageformat. Normaly the printer used by pageformat A4 and now for the special report I need an User-defined pageformat.
How can I give the printer in the Navision-Code the ESC-sequence.
Thanks for all comments.
I created a report. The report has special pageformat. Normaly the printer used by pageformat A4 and now for the special report I need an User-defined pageformat.
How can I give the printer in the Navision-Code the ESC-sequence.
Thanks for all comments.
Ciao
buble
buble
0
Comments
-
Hello,
in a Report you could insert a new header, with one Text Box, wich incl. the ESC Sequence.
The Textformat MUST be Courier Font size 12.
The printer will use this text as Sequence and wont print it. You should define the Haeder so, that only on these Workstations the Header will be printed, bevause other printers will print these Sequence as normal text.
i hope this will help you, and please be sorry for my bad english.
Greetings
Ronnie0 -
If known it is very simple. Try the following:
Declare a text variable pchar
In the code you must enter the Ascii-Code in Decimal for each character like shown:
pchar[1] := 27;
pchar[2] := 15;
If you print out this variable the ascii-codes will be sent.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions