Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alphanumeric ID Command 52/'4' Operation not recognized by PRN file analyze Tool #7

Open
HughHood opened this issue Jan 9, 2024 · 0 comments

Comments

@HughHood
Copy link

HughHood commented Jan 9, 2024

Michael,

While using the PRN file analyze function I noticed that it didn't recognize a valid operator for the Alphanumeric ID command:

In file PrnParsePCLBinary.cs at line #237 find:

case 21:
codeVal = "21 (0x21 = ): ";
codeDesc = "Delete macro association named by current Font ID";
break;

case 100:
codeVal = "100 (0x64 = 'd'): ";
codeDesc = "Media select";
break;

Between case 21 and case 100 should be added:

case 52:
codeVal = "52 (0x34 = '4'): ";
codeDesc = "Register a new pclResourceFile resource association file";
break;

See http://www.massmind.org/techref/language/pcl/alpha.htm for reference.

Generally, this command is seen in the form "&n16w4pclResourceFile" and is used after downloading a new or updated pclResourceFile to the \pcl\macros directory on PCL printers having a supported FSA (file system architecture) on either flash dimm/simm, EIO hard disk, or USB hard disk attached to the printer.

HP's Web JetAdmin uses this command in jobs it sends to download fonts and macros to a FSA-supporting printer. It can also be used manually for those constructing their own pclResourceFile after manually downloading fonts and/or macros to the printer's flash/hard drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant