最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Troubleshoot logo print on receipt in AX 2012 R2

网络文摘 William 1762浏览 0评论

A customer of ours called and asked us to help him figure out why the labels didn’t print on a new POS he was about to put up in a store. Another new POS waiting to be taken to the store hadn’t the logo on the printout either and on top of that the columns on the receipt looked very much off.

They run AX 2012 R2 and already have a couple of POS’s running in the store with the logo printed successfully on the receipt.

So we started from the top:

Where did the logo on the new POS come from?

The file was copied from one of the running POS machines.

Is the file correctly positioned in the same folder as the POS.exe?

Confirmed!

Is the printer working when connected to one of the POS machines in the store?

Yes, so we must conclude that the printer is working. Problem is on POS side.

What does Google say?

Not much is said but a couple of blog posts gave us something to look at:

https://blogs.msdn.microsoft.com/axsupport/2012/05/02/ax-for-retail-printing-a-logo-on-receipts/

This one had a lot of good points but it really didn’t get the work done here:

https://mikechiang.wordpress.com/2014/10/30/printing-logo-on-receipt-for-ax-2012-r2/

 

So going back to basics I took a simple logo file with just the word TEST written and put that in the folder.

BOOM! Logo on the receipt… So the printer and the POS machine were able to print out a receipt with a logo.

So I replaced the test logo with a fresh copy of the file from one of the POS machines from the store. No logo …

Open up the logo file in Paint and save it as gray scale bitmap file. The logo was in black’n’white anyways.

BOOM! Logo on the receipt again! On both machines and the columns nicely cleaned up.

So the easy answer is: Keep your file size down … but it might work anyhow, since the large logo file printed nicely on the POS machines in the store but not the two new ones. And using same printer bear in mind …. And why did it mess up the columns on one but not the other? Sometimes it’s just better not asking too many questions… Let’s just agree on one thing: Size matters …


发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址