Full width in Invoice Printing

Discussion in 'Tally Developer' started by Jayadev U, Jun 2, 2014.

    
  1. Jayadev U

    Jayadev U New Member


    Hi,

    In the following code:

    [Part: SE Invoice Body]

    Parts : GI InventoryDetails, GI Acc Det
    Vertical: Yes
    Scroll : Vertical
    Space Top : 1.6 cms
    Height : 20 cms


    [Part : GI InventoryDetails]
    Lines : GI Inventory Details
    Repeat : GI Inventory Details : Inventory Entries
    Scroll : Vertical
    ;;Border : Thin Left Right Bottom
    ;;Common Borders : Yes

    [Line: GI Inventory Details]

    Fields : GI SI No, GI Item Name
    Right Fields: GI Qty, GI Unit, GI Rate, GI PerUnit, GI Amount
    Space Top : if $$Line = 1 then 1 else 0

    [Field: GI SI No]

    Use : Number Field
    Set as : $$Line
    Width : 1.2 cms
    Align: Left

    ;;Border : Thin Right

    [Field: GI Item Name]

    Use : Name Field
    Set as : if NOT $$IsSysName:$StockItemName then @@InvItemName else ""
    Full Width : Yes
    Width : 14.2 cms ;12 cms

    [Field: GI Qty]

    Use : Qty Primary Field
    Set as : $BilledQty
    Width : 17.6 cms ;3.4
    Space Left : 0.2 cms
    Format : if @@IsSales then "No symbol" else "Symbol"
    Align :Right
    Full Width : Yes
    ;;Border : Thin Left

    [Field: GI Unit]
    Use : Rate Units Field
    Set as : $Rate
    Width : 1.2cms
    Space Left : 0.1 cms
    Align : Right
    Full Width : Yes


    [Field: GI Rate]

    Use : Rate Price Field ;;Rate Field
    ;;Border : Thin Left
    Set as : $Rate
    Width : 2.5 cms
    Align : Right
    Full Width : Yes

    ;;space left : 1 cms

    [Field: GI PerUnit]
    use :GI unit
    Width : 1.2cms
    Space Left : 0.1 cms
    Align : Right
    Full Width : Yes


    [Field: GI Amount]

    Use : Amount Forex Field
    ;;Border : Thin Left
    Set as : $Amount
    Width : 3.7 cms
    Space Left : 0.3 cms
    align : Right
    Full Width : Yes


    [Part: GI Acc Det]
    Invisible : @@IsDelNote
    Lines : GI Inventory Total, GI Acc Det
    Repeat : GI Acc Det : Ledger Entries
    ;; Height : 10% Page
    ;; Common Borders : Yes


    [Line: GI Inventory Total]
    space top : 1 cms
    Empty : @@IsDelNote
    Right Fields: GI IRate, GI IAmount
    [Field: GI IRate]
    Set as: if @@IsSales then "Taxable Amount:" else ""
    Full width : yes
    Width : 10 cms
    Align : Right
    Full Width : Yes

    [Field: GI IAmount]
    Invisible : @@IsDelNote
    Set as: if @@IsSales then $$CollAmtTotal:InventoryEntries:$Amount else ""
    Style : Normal Bold
    Border : Thin Top
    Width : 3.5 cms
    Align : Right
    Full Width : Yes

    [Line: GI Acc Det]
    Space Top: 1 cms
    Empty : $LedgerName = $PartyLedgerName or @@IsDelNote
    Right Fields: GI ARate, GI AAmount
    [Field : GI ARate]
    Set as : $LedgerName+":"
    Full Width : Yes
    Width : 8 cms
    Align : Right
    Full Width : Yes
    [Field : GI AAmount]
    Set as : $Amount
    Width : 3.5 cms
    ;;Border: Thin top
    Align : Right
    Invisible : @IsDelNote
    Full Width : Yes

    The command Full Width : Yes command seems not to be respected. Though the width is given in cms, the print is not positioned at the intended place. Using Dot-Matrix on Pre-printed stationery in Draft mode.

    Please help.

    Warm regards,

    Jayadev U
     


  2. Nupur

    Nupur Member


    GREAT MR. JAYADEV U:)
     


  3. Nupur

    Nupur Member


    thank for this code mr. jayadev u. can you provide code for packing slip from sales voucher simple/std format show only item and qty
     


  4. sivam

    sivam Active Member



    Dear Jayadev,
    I already told to u. U try in Form Level width. Then only u get ur requirement. Try like this...
    [Form:Invoice Form]
    width: 100% Page
     


Share This Page