bassmonster
Registered User.
- Local time
- Today, 17:46
- Joined
- Jun 10, 2011
- Messages
- 11
Hello All,
I’m very sorry if this has been asked many times. I have done a search but still no joy.
Basically, my company is using a system designed in access 97. Our receipts that we print out in the stores are on A4 paper. As you can imagine, this is quite a waste. I have now redesigned the layout of the report so that the receipts are printed on a thermal printer. The paper width is 80mm.
My problem is that, no matter how short the sales is, the length of the receipt is always the same with a lot of white space. However, if there is an extra item on the receipt, the report comes out as 2 pages with a cut in between. What i would like is the receipt to be the length in accordance with the number of items on the receipt.
I have changed the paper size in the printer preferences to 72mm x receipt and left the paper size in the report as A4. This setting allows me to print the receipt but with the white space mentioned above. However, when i change the report page size to 72mm x receipt and try to print, i get the follow error.
The OpenReport action was cancelled.
You used a method of the DoCmd object to carry out an action in Visual Basic, but then clicked on Cancel in the dialog box.
For example, you used the Close method to close a changed form, then clicked Cancel in the dialog box that asks if you want to save the changes you made to the form.
Any help would be much appreciated.
The printer is Star TSP100.
Thank you.
Zan.
I’m very sorry if this has been asked many times. I have done a search but still no joy.
Basically, my company is using a system designed in access 97. Our receipts that we print out in the stores are on A4 paper. As you can imagine, this is quite a waste. I have now redesigned the layout of the report so that the receipts are printed on a thermal printer. The paper width is 80mm.
My problem is that, no matter how short the sales is, the length of the receipt is always the same with a lot of white space. However, if there is an extra item on the receipt, the report comes out as 2 pages with a cut in between. What i would like is the receipt to be the length in accordance with the number of items on the receipt.
I have changed the paper size in the printer preferences to 72mm x receipt and left the paper size in the report as A4. This setting allows me to print the receipt but with the white space mentioned above. However, when i change the report page size to 72mm x receipt and try to print, i get the follow error.
The OpenReport action was cancelled.
You used a method of the DoCmd object to carry out an action in Visual Basic, but then clicked on Cancel in the dialog box.
For example, you used the Close method to close a changed form, then clicked Cancel in the dialog box that asks if you want to save the changes you made to the form.
Any help would be much appreciated.
The printer is Star TSP100.
Thank you.
Zan.