Text Rotation in Envelop Printing

Discussion in 'Free Source Codes' started by Hemanth, May 10, 2018.

    
  1. Hemanth

    Hemanth New Member


    Hi to all, can anybody help me to Rotate the Text in 180 degrees while i m printing the Debtor or Creditor Address on envelop?

    Presently I m Getting the Print as Attachment Envelop-1 but I need like in the Envelop-2.

    Please help me.

    Below is the Envelop Printing Code presently i had.

    [#Form : Purchase Color]
    Button : Address Print

    [#Form : Sales Color]
    Button : Address Print

    [Button : Address Print ]

    Key : Alt + W
    Action : Print Report : EnvPrintRpt

    [Report : EnvPrintRpt]
    Form : EnvPrintForm
    Object : Ledger
    Object : Voucher

    [Form : EnvPrintForm]
    Width : 100% Page
    Height : 100% Page
    Space Top : 0.5 inch
    Space Left : 0.5 inch
    Space Right : 0.5 inch
    Part : EnvPrintBody

    [Part : EnvPrintBody]
    Part : EnvPrintBodyTop

    [Part : EnvPrintBodyTop]
    Width : 100 % page
    Height : 3 inch
    Space Top : 0.5 inch
    Space Left : 0.5 inch
    Space Right : 0.5 inch
    Line : EnvelopeHead1, EnvelopeHead2, FullAddress, PhoneNumbers, EmailAdd
    Repeat : FullAddress:partyAddress
    Vertical : Yes

    [Line : EnvelopeHead1]
    Field : ToAddress, EnvelopeHead1
    Space Top : 1

    [Field : ToAddress]
    Use : Name Field
    Set as : "To ->"
    Width : 15
    Align : Centre
    Style : EnvStyleBOLD
    Space Left : 9

    [Field : EnvelopeHead1]
    Use : Name Field
    Setas : $Name:Ledger:$PartyLedgerName
    Width : 50
    style : EnvStyleBOLD
    Align : Left
    Object : Ledger

    [Line : EnvelopeHead2]
    Field : KindAttn, ContactPerson

    [Field : KindAttn]
    Use : Name Field
    Set as : "Kind Attn : "
    Width : 15
    Align : Centre
    Style : EnvStyleNormal
    Space Left : 9
    PrintFG : Red

    [Field : ContactPerson]
    Use : Name Field
    Setas : $LedgerContact:Ledger:$PartyLedgerName
    Set Always : Yes
    Width : 50
    Style : EnvStyleNormal
    Align : Left
    Border : thin Bottom
    PrintFG : Red


    [Style : EnvStyleBOLD]
    Font : "Arial Bold"
    Height : 16
    Bold : yes



    [Line : FullAddress]
    Field : FullAddress

    [Field : FullAddress]
    Use : Name Field
    Setas : $Address
    Width : 50
    Style : EnvStyleNormal
    Space Left : 25
    Align : Left
    Object : Ledger

    [Line : PhoneNumbers]
    Field : PhoneNumbers

    [Field : PhoneNumbers]
    Use : Name Field
    Setas : "Phone : " + $LedgerPhone:Ledger:$PartyLedgerName + " / " + "Mobile : " + $LedgerMobile:Ledger:$PartyLedgerName
    Width : 50
    Style : EnvStyleNormal
    Space Left : 25
    Align : Left
    Object : Ledger

    [Line : EmailAdd]
    Field : EmailAdd

    [Field : EmailAdd]
    Use : Name Field
    Setas : "Email : " + $EMail:Ledger:$LedgerName
    Width : 50
    Style : EnvStyleNormal
    Space Left : 25
    Align : Left
    Object : Ledger

    [Style : EnvStyleNormal]
    Font : "Arial Bold"
    Height : 12
    Bold : yes







     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Change print mode in Printer to LANDSCAPE.............
     


  3. Hemanth

    Hemanth New Member


    Great Idea sir but can you tell me how to adjust the print in the right side of the page.
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    In the TDL file...dimensions are there....Space Left....right...top...bottom.... play around as you wish and as per your requirement.
     


  5. Hemanth

    Hemanth New Member


    Thank you so much for the Help sir....

    i got it as i want but a small doubt in the code

    [Field : EnvelopeHead1]
    Use : Name Field
    Setas : $Name:Ledger:$PartyLedgerName
    Width : 50
    style : EnvStyleBOLD
    Align : Left
    Object : Ledger

    from the below code how can i get the Party Name only not the Party Ledger Name
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Do not understand your query??? is there any difference between Party Name and Party Ledger Name???
     


  7. Hemanth

    Hemanth New Member


    Yes sir we are using the Party Ledger Name with his town Name like
    Party Ledger Name : Hemanth.tenali and
    Party Name is : Hemanth
     


  8. Reshma

    Reshma Member


    Specify partyname in Mailing Name.

    Setas : $mailingName:Ledger:$PartyLedgerName
     
    Nithin Patel likes this.


  9. balajimg

    balajimg Active Member


    for aligning use
    Horizontal Align in form level
     


Share This Page