Highlighted
Absent Member.
Absent Member.
218 views

[archive] Control Codes

[Migrated content. Thread originally posted on 17 July 2007]

Hi,

Hopefully someone can help or shed some light on this for me please.

We have a customer who requires cash drawers for a trade counter.
We've made amendments to our software to open the cash drawer and they work fine.

Basically the cash drawer has a Y cable, one end goes to the parallel port on the PC, the other end goes to the printer.
You then print to the printer and send a hex '07'

The problem is basically as follows.
If the cash drawer is linked to a dot matrix printer the drawer will open fine when we trigger it.
If the cash drawer is linked to a laser jet printer it will not open?

Any ideas?

Thanks.
Shaun
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Control Codes

You probably have thought of this, but do you send the data as SPOOLER-DIRECT?
Another thing worth trying is to change the print processor in the printer setup to RAW (I assume you are not doing any formatting anyway?)
I can imagine if the laser is postscript it might be that the driver has some "protection" against low ascii. If so, and it supports PCL or Capsl or IBM, try change to one of those.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Control Codes

Thanks Gisle, I shall look into this.
It already does use SPOOLER-DIRECT, and quite right there is no formatting.

Shaun
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.