Options

Printer-ESC-sequence in Navision-Code

bublebuble Member Posts: 16
edited 2002-05-06 in Navision Financials
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.
Ciao
buble

Comments

  • Options
    daroondaroon Member Posts: 35
    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

    Ronnie
  • Options
    Christian_BuehlChristian_Buehl Member Posts: 145
    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.
Sign In or Register to comment.