PDA

View Full Version : Receipt Page Margins


LBLB
18-Dec-2006, 02:17 PM
The receipt page is set to "Printable Receipt Page" layout.

When the page is printed the right hand side of the page does not print out. In portrait, it cuts off from quantity. The page doesn't fit either when it is printed landscaped, where the cost onwards is cut off. From experience on other websites this is an annoying problem, particualrly when the quantity and total price do not print.

Is there a solution to this?

wjcampbe
18-Dec-2006, 02:41 PM
No URL so this is a WAG - Are you using a standard 800 pixel width for the receipt page content?

LBLB
18-Dec-2006, 02:59 PM
URL - www.lesterbowden.co.uk/acatalog/uniformindex.html
If you were going to put through a test order, I've added the details sent separately option

Are you using a standard 800 pixel width for the receipt page content?

Where do I find this out? We havent changed the width so I persume this is what it is set at.

wjcampbe
18-Dec-2006, 06:51 PM
I found nothing but Catalog Suspended.

LBLB
19-Dec-2006, 08:26 AM
sorry catalog suspended overnight - is back online now

wjcampbe
19-Dec-2006, 09:31 AM
OK - the problem would seem to be this line
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="CUSTOMVAR:ACTSTDWIDTH" ALIGN="CENTER">
in Act_ReceiptPrimary.html. Since your ACTSTDWIDTH is set at 1000, the 100% sections of the receipt are extending right across that width.

If you change that line to
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="600" ALIGN="CENTER">then it should all line up and print nicely.

I created a test order BL04EP20000051 (and managed to mangle it anyway) using the sent seperately option.

LBLB
19-Dec-2006, 10:54 AM
[QUOTE=wjcampbe]OK - the problem would seem to be this line
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="CUSTOMVAR:ACTSTDWIDTH" ALIGN="CENTER">
in Act_ReceiptPrimary.html. Since your ACTSTDWIDTH is set at 1000, the 100% sections of the receipt are extending right across that width.

If you change that line to
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="600" ALIGN="CENTER">then it should all line up and print nicely.[QUOTE]

I've tried the above, without much success! It didn't seem to change the width of the receipt, or the width of receipt that was printed. Are there any other ways to change this?

Do I need to change the alignment of our company details to the LHS (and if so how?) Can the description column width be changed so it is narrower?

Many thanks

wjcampbe
19-Dec-2006, 12:21 PM
LB,

I mailed you on this off-line because, for me at least, the forum went down for half an hour. I had missed a second instance of ACTSTDWIDTH being brought in from Act_ShoppingCartXML.html which was still pushing the main table out to 1000 pixels.

Attached is the solution once that is reduced to 600. Save and change the extension to html to view in your browser.

LBLB
19-Dec-2006, 12:32 PM
thanks - yes i couldnt get on for a about the same time either. i'll give this a go and let you know how i get on!

LBLB
19-Dec-2006, 12:38 PM
thank you - thats worked perfectly! looks much better and prints fine! :)