Is it possible to set paper size for only sales voucher

Discussion in 'Tally Developer' started by Sumit8158, Feb 25, 2019.

    
  1. Sumit8158

    Sumit8158 New Member


    Hi Respected Members,

    I have one printer whose default page size is set to A4 and I need all printouts in A4 only except for sales invoice, which I need to print on A5. Is there any way to default set paper size to A5 for sales invoice only?
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Yes you can assign the paper size values to the variable "SVPaperSize"

    You can study the same in TDE.... the values are in "mm"
     


  3. Sumit8158

    Sumit8158 New Member


    Thank you sir i will try and revert back with the code
     


  4. Sumit8158

    Sumit8158 New Member


    Sir SVPaperSize is for export to PDF I think please check and revert back . Sir I think its DSP Paper Type or DSP Paper Size.
     


  5. Sumit8158

    Sumit8158 New Member


    Also PrinterPaperSize is to be changed I believe. Sir where I can learn more about this language so that I can play with it. Its difficult to understand which variable will effect which field. Its not a structured lamguage
     


  6. Sumit8158

    Sumit8158 New Member


    I simply don't need codes I need an understanding how the code worked so that I can get a good command over the language...
     


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Patience....it take time to understand and grasp..... u r new.....so it will take time..... refer TDE.... Study....report ...... " Sales Color"
     


  8. nilesh123456789

    nilesh123456789 New Member


    even I've this type of requirement but I'm not able to change default printing paper type. plz help me.
     


  9. Sumit8158

    Sumit8158 New Member


    Ok Amit Sir, I will again try it at night. Yes I know sales color..printed invoice...simple and comprehensive invoice...but after that i am finding difficulty. one clue may help me..lyk what fields should i change or how to go about it...
     


  10. Sumit8158

    Sumit8158 New Member


    sir plz reply regarding this
     
    Johar likes this.


  11. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You don't need to change any field..........

    Find the variable name and assign value to it.............in your code.
     


  12. Rais Ahmed

    Rais Ahmed Member


    U mean that permanently u want 2 change size? In TD go Print, then invoiceform.500 there r formulas for height, space, width that will effect whole sales documents permanently.
     


  13. Sumit8158

    Sumit8158 New Member


    That's not the solution... I just need default paper size as A5 in sales invoice and A4 in other reports or voichers. But I am still not able to do so
     
    riyastm likes this.


  14. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    [#Report: VchF12Config SalesInvoice]
    Set : SAHeight : 5.8
    Set : SAWidth : 8.3

    I tried but it is not working, because the page breaks is too big.....

    Only way it will work is for your wholly re-design the print module.
     


  15. ONKAR

    ONKAR Active Member


    @Amit Kamdar sir क्या हम stock items के हिसाब से पेपर adjust कर सकते है क्या ? मतलब अगर बिल सिर्फ २ - ४ आयटम का हि हुआ है तो उस हिसाब से बिल प्रिंट होना चाहिये , ना कि A4 OR A5 SIZE से , तो इसे कैसे बनाये
     


  16. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Pura print format manual set karna padega....re-coding ..... to make it floating.
     
    ONKAR likes this.


Share This Page