Forums / Managing Customers and Orders / removing URL from invoices when printing

removing URL from invoices when printing

Locked

Views: 4,077

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
1 Apr 2007, 8:10 AM
#1
psr_racing avatar

psr_racing

New Zenner

Join Date:
Feb 2007
Posts:
90
Plugin Contributions:
0

removing URL from invoices when printing

When I print invoices direct from the zencart invoice screen (by clicking 'print' on my webbrowser) it prints the URL at the bottom of the invoice. Is there a way of stopping this from happening? Currently I'm copying the invoices into Word then printing them but it would be quicker to print them straight from the browser.

1 Apr 2007, 8:17 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: removing URL from invoices when printing

The printing of the URL is a function of your browser. You'll notice the same thing if you print any other web page.

Simply click File, Page Setup (or Print Setup), find the header/footer section, and remove the tag/key etc that controls the URL being displayed. Then click okay.

This may affect all printouts from your browser.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Apr 2007, 8:30 AM
#3
psr_racing avatar

psr_racing

New Zenner

Join Date:
Feb 2007
Posts:
90
Plugin Contributions:
0

Re: removing URL from invoices when printing

Thankyou for that. I've noticed that invoices look a lot better when printed through word anyway so I think I will continue to do it that way.

29 Jun 2010, 2:53 PM
#4
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

Re: removing URL from invoices when printing

I noticed this is actually part of the recommendations for site security. I have a dumb question...

How does removing the url from being printed on your printer help your security? :unsure:

29 Jun 2010, 5:24 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: removing URL from invoices when printing

If you print the URL to access your Admin area, and then give that printout to your customer, you've just told them how to access your admin. Most see that as a security risk.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Jun 2010, 5:26 PM
#6
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

Re: removing URL from invoices when printing

OIC thanks :smile: