Customized Z Report

Mar 18, 2007 5 Replies

I want to know is there a simple way to display the Store Name on my Z Reports??? If so, what do I need to update in the receipt format to accomplish this?



Thanks


Of course it's possible.

The X, Z and ZZ Reports are defined in the file Xreport.xml in your ReceiptTemplates Directory under Store Operations.

Copy XReport.XML and paste a copy back to the same directory - rename it XReportWithHeader.XML. Right Click the new file and select properties - uncheck the Read Only Checkbox.

Open the new file in a text editor such as Notepad.

Near the top of the file, you will find several lines that SET variables blah blah blah

Add the folloiwing two lines at teh end of this section (Watch for word wrap): False True

Now Search for

Immediately BELOW , paste the following Line: "PrintHeader"

Immediately ABOVE paste the following section (From To ):

ShowHeaderLogo LogoHeader PageWidth MarginLeft 0 tbNone "^" PageWidth ShowStoreInfo Len(Store.Name) Store.Name Len(Store.Address1) Store.Address1 Len(Store.Address2) Store.Address2 Len(Store.CityStateZip) Store.CityStateZip Len(Store.Phone) Store.Phone Len(Store.Fax) Store.Fax

Save the file.

Go to SO Manager, Database/Registers/Receipt Formats Select your Receipt Format and choose Properties Click the magnifying glass next to the "Reports" template (the last one listed) and choose the new file. Click OK a couple of times to save your changes, restart POS and run an XReport - you should have the store name and address at the top of the report.

I copied the SUB above directly from the Receipt.XML, so this is going to display all the information that you normally see on your sales receipts. If you want to remove the Address & Phone number, just delete those records - you would then need to reselect the template file in SO Manager and restart POS.

Glenn Adams Tiber Creek C> Dear Anthony currently this is not possible I have done the investigation,

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required