Receipt template questions. Need help please!

I need to modify the original receipt template to my needs and had some questions.

Is there any way to add a space in between the barcode that is printed to the bottom of the receipt and where the footer lines start? It seems like its a bit crowded there, and wanted to give it one more line. I tried adding some additional lines before I actually put my footer text, to see if it would leave some blank lines; but it did not do anything. It seems like the RMS editor detects that there is no text in there and goes ahead and moves up the next to the first available blank line.

or is there any way to make the editor think there is text there, but really not be, so that it doesnt move my actual footer text up in the blank lines?

Second:

I added more footer lines, so that I could write my return policy in there. That went pretty straight forward, except for the editing of the return policy. I managed to add the lines to write in, and thats fine, but when I start writting the policy in there, it doesnt seem to have an "automatic wrap", in which the line can perhaps go into the next blank line instead of continuing and not getting show on the receipt. The reason for this is simple. I have a return policy that is a paragraph or two long, and the way I am doing it right now is adding one line in between the quotes for each footer line.

For example:

"no returns on blah blah blah blah blah" "and no refunds on red, blue, green" "and yellow crayons. Warranty information" "can be found on our website at" "wwww.website.com For additional" "information blah blah blah"

As you can see editing this the frist time is acceptable, but as I keep tweaking the return policy I have to keep starting from scratch if I even want to change the smallest of things. If I could just copy and paste the whole paragraph or two from word into it, and have it auto format/wrap into the available lines it would be great. If I want to add per say one more word or item to line 3 and I have 20 lines, I have to move the 17 lines after line 3 to edit and add that one word. Is there any easier way to doing this?

Lastly, I want to make JUST THE FOOTER LINES a different size. Everything else on the receipt font wise is fine and perfet, however since the return policy is a bit long, I have more text of return policy than sometimes items sold! I want to make/declare a new font just for the return policy and maybe make it one or two font sizes smaller so the whole receipt can be smaller. How can I go about doing this?

I tried changing this:

----------------------------------------------------

tbNone "^~"

-----------------------------------------------------

To this:

-----------------------------------------------------

tbNone "Small" "^~"

-----------------------------------------------------

It seems like it changed the font size for the item, description and price. I ONLY WANT THE POLICY to be a smaller, not everything else.

Is there any way to make/declare a new font set, including font, size, etc just like the "default" "small" "large"? Maybe make it "extra small" and then set the footer lines to use "extra small"?

On a sidenote, I noticed the following:

I edited the original receipt xml file by taking off the read-only permissions and editing it on an editor. I totally forgot to put the read-only back on it and opened it up on RMS. I went to go see the size comparison and wow! it went from the 105k file I had modified the original receipt to a 50k file! It seems that since the read-only was not enabled, RMS wrote the values I gave it in the editor straight into the XML file and compressed it.

I just went back and re-did it and set it to read only again and then filled in my info on the editor, such as the return policy and some other little tweaks. However, I have a question about where the "text" I write on the receipt editor is stored. It seems to be a major headache everytime I modify the receipt in my XML editor, save it to read-only, re-load it to the RMS and all of the text is blank again! This also happens even if I dont even change the XML file from the original, but just re-load it into the editor.

Any way to find out where the text is getting stored so I dont have to keep putting in all my text time after time after modifying my receipt template?

Thats it for now, this is just for the 40 column! After I get this, I need to move on to the full page one!!

Reply to
Jonathan Smith
Loading thread data ...

Well I made a new font section called extra small, and applied the same code accordingly and it worked! Now I am just missing the other parts of my question.

Reply to
Jonathan Smith

Another request:

I want to perhaps add our website up top, in place of the fax. Is there any way to just write it?

Reply to
Jonathan Smith

Actually, update to that.

My code works on actual XML, HTML standards. The smaller font does get show in the receipt preview of the receipt editor. however when I print it, its the same size. I even tried making it a super small size, such as 3 or 4, and it still stays the same as it was original. Is this an RMS issue or my printer issue? I have an epson TM-IV

Reply to
Jonathan Smith

Is there any way to add a space in between the barcode that is printed to the bottom of the receipt and where the footer lines start? It seems like its a bit crowded there, and wanted to give it one more line. I tried adding some additional lines before I actually put my footer text, to see if it would leave some blank lines; but it did not do anything. It seems like the RMS editor detects that there is no text in there and goes ahead and moves up the next to the first available blank line.

or is there any way to make the editor think there is text there, but really not be, so that it doesnt move my actual footer text up in the blank lines?

Second:

I added more footer lines, so that I could write my return policy in there. That went pretty straight forward, except for the editing of the return policy. I managed to add the lines to write in, and thats fine, but when I start writting the policy in there, it doesnt seem to have an "automatic wrap", in which the line can perhaps go into the next blank line instead of continuing and not getting show on the receipt. The reason for this is simple. I have a return policy that is a paragraph or two long, and the way I am doing it right now is adding one line in between the quotes for each footer line.

For example:

"no returns on blah blah blah blah blah" "and no refunds on red, blue, green" "and yellow crayons. Warranty information" "can be found on our website at" "wwww.website.com For additional" "information blah blah blah"

As you can see editing this the frist time is acceptable, but as I keep tweaking the return policy I have to keep starting from scratch if I even want to change the smallest of things. If I could just copy and paste the whole paragraph or two from word into it, and have it auto format/wrap into the available lines it would be great. If I want to add per say one more word or item to line 3 and I have 20 lines, I have to move the 17 lines after line 3 to edit and add that one word. Is there any easier way to doing this?

Lastly, I want to make JUST THE FOOTER LINES a different size. Everything else on the receipt font wise is fine and perfet, however since the return policy is a bit long, I have more text of return policy than sometimes items sold! I want to make/declare a new font just for the return policy and maybe make it one or two font sizes smaller so the whole receipt can be smaller. How can I go about doing this?

I tried changing this:

---------------------------------------------------- tbNone "^~" -----------------------------------------------------

To this:

----------------------------------------------------- tbNone "Small" "^~" -----------------------------------------------------

It seems like it changed the font size for the item, description and price. I ONLY WANT THE POLICY to be a smaller, not everything else.

Is there any way to make/declare a new font set, including font, size, etc just like the "default" "small" "large"? Maybe make it "extra small" and then set the footer lines to use "extra small"?

On a sidenote, I noticed the following:

I edited the original receipt xml file by taking off the read-only permissions and editing it on an editor. I totally forgot to put the read-only back on it and opened it up on RMS. I went to go see the size comparison and wow! it went from the 105k file I had modified the original receipt to a 50k file! It seems that since the read-only was not enabled, RMS wrote the values I gave it in the editor straight into the XML file and compressed it.

I just went back and re-did it and set it to read only again and then filled in my info on the editor, such as the return policy and some other little tweaks. However, I have a question about where the "text" I write on the receipt editor is stored. It seems to be a major headache everytime I modify the receipt in my XML editor, save it to read-only, re-load it to the RMS and all of the text is blank again! This also happens even if I dont even change the XML file from the original, but just re-load it into the editor.

Any way to find out where the text is getting stored so I dont have to keep putting in all my text time after time after modifying my receipt template?

Thats it for now, this is just for the 40 column! After I get this, I need to move on to the full page one!!

Reply to
spam

I want to perhaps add our website up top, in place of the fax. Is there any way to just write it?

Reply to
spam

== "Jonathan Smith" wrote in message news: snipped-for-privacy@microsoft.com...

"Jonathan Smith" wrote:

Actually, update to that.

My code works on actual XML, HTML standards. The smaller font does get show in the receipt preview of the receipt editor. however when I print it, its the same size. I even tried making it a super small size, such as 3 or 4, and it still stays the same as it was original. Is this an RMS issue or my printer issue? I have an epson TM-IV

Reply to
spam

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.