Print Ledger in Landscape and A4 size permantaly

Discussion in 'Tally.ERP 9' started by bharat shah, Mar 25, 2021.

    
  1. bharat shah

    bharat shah Member


    how to make paper size Defult as A4 and print always in landscape. i got the field but cannot understand what to change.
    [Field: DSP PaperSize]
    Use : LandingPage Display
    Set as : If @@SVDraftMode AND ##SVPOSMode Then @POSVal Else @SetVal
    POSVal : If ##SVPOSPrinter = "X" OR ##SVPOSPrinter != "X" Then @SetVal Else @SetVal
    SetVal : if NOT @@SVPixelMode then $$PaperSizeInLines:##SVPrinterName else @PaperSizeStr
    PaperSizeStr: $$PaperSizeInInches:##SVPrinterName + " or " + $$PaperSizeInMM:##SVPrinterName
     


  2. KUSHAL BAROT26

    KUSHAL BAROT26 New Member


    for landscape you need to set in report level
    Variable:SVPrintOrientation:String
    Print Set : SVPrintOrientation : "Landscape"
    and for Defult a4 size you can set from printer properties
     
    bharat shah likes this.


  3. bharat shah

    bharat shah Member


    thank you bro. it worked. can u give hint for A4
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Read the 4th line............the hint has been given. :)
     
    Samiksha and bharat shah like this.


  5. bharat shah

    bharat shah Member


    ok i will try
     


Share This Page