Print Format

47 views
Skip to first unread message

Rohit Waghchaure

unread,
Jun 27, 2013, 2:50:38 AM6/27/13
to erpnext-dev...@googlegroups.com
Hello,
              I have created a new print format for sales invoice. I have created item table and given alternate gray and white color to the row of this table. When i see print of sales invoice it does not show this alternate color but when i click on preview, it shows alternate color. The problem when i take print out of the sales invoice using color printer it does not show me alternate color on page. I have attach some screen shot here with for your reference

Thanks and Regards
Rohit
Sales_Invoice.png
Preview.png

Anand Doshi

unread,
Jun 27, 2013, 5:16:34 AM6/27/13
to erpnext-dev...@googlegroups.com
Hi Rohit,

The problem could lie with your print format's CSS. Check if there are any Media queries for print. 

Check the print options in the browser's print dialog. 

If this doesn't solve the problem, you will need to share the code. 

Sent from my phone
--
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...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4e7fd2ce-ef82-414e-8c3a-bf863bb40e66%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
<Sales_Invoice.png>
<Preview.png>

Rohit Waghchaure

unread,
Jun 28, 2013, 1:34:40 AM6/28/13
to erpnext-dev...@googlegroups.com
Hello Anand,
                     I have added my code in following link please check

http://pastebin.com/7pzedgDK

Thanks and Regards
Rohit


Anand Doshi

unread,
Jun 28, 2013, 3:03:28 AM6/28/13
to erpnext-dev...@googlegroups.com
Hi Rohit,

As I said in the earlier email:
Check the print options in the browser's print dialog. 

See this image for more info:

Thanks,
Anand.

Rohit Waghchaure

unread,
Jun 28, 2013, 4:41:19 AM6/28/13
to erpnext-dev...@googlegroups.com
Hello Ananad
                       I have checked print option in the browser and change print status black and white to color but still it does not working. So i have added my code http://pastebin.com/7pzedgDK in this link. Please tell me is there any problem in my code.


Thanks and Regards
Rohit


Anand Doshi

unread,
Jun 28, 2013, 4:47:21 AM6/28/13
to erpnext-dev...@googlegroups.com
Hi Rohit,

It is working at my end, after I select Print Background and Images. There is nothing wrong with your code.

It is probably something to do with Printer configuration. You will need to google it.

Thanks,
Anand.

Reply all
Reply to author
Forward
0 new messages