Remove Date and Sale invoice number when print

Hi guys, 

I've been adding the new print  formats for Sale Invoice and it's been great. 
However when 'print-print' button pressed, it always print the Date/Sales Invoice number on top, which somehow screwed up my alignment :(

Is there a way to remove this without updating the code directly ?

Thank you.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1628818f-7827-49ac-9108-d430d293bde9%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
I think that is done by your browser. You can check from File > Page Settings (or equivalent)


On 17-Jun-2014, at 3:56 pm, Nguyen Do Le Bao <na...@gmail.com> wrote:

Hi guys, 

I've been adding the new print  formats for Sale Invoice and it's been great. 
However when 'print-print' button pressed, it always print the Date/Sales Invoice number on top, which somehow screwed up my alignment :(

Is there a way to remove this without updating the code directly ?

Thank you.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1628818f-7827-49ac-9108-d430d293bde9%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/8AC9DA1B-D1D9-4314-B42B-F5948851FF02%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Okay, thanks rushabh!
It was the default from browser when printing. Need to remove headers/footers, then it disappears.

On Wednesday, June 18, 2014 12:41:59 PM UTC+8, rushabh wrote:
I think that is done by your browser. You can check from File > Page Settings (or equivalent)


On 17-Jun-2014, at 3:56 pm, Nguyen Do Le Bao <na...@gmail.com> wrote:

Hi guys, 

I've been adding the new print  formats for Sale Invoice and it's been great. 
However when 'print-print' button pressed, it always print the Date/Sales Invoice number on top, which somehow screwed up my alignment :(

Is there a way to remove this without updating the code directly ?

Thank you.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1628818f-7827-49ac-9108-d430d293bde9%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/34b0fe7a-a142-4a2c-820e-dc8543976659%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.