Skip to main content

Problem:

If you try to run the Net Express demo program PRINTRAW you might get the error "OPEN PRINT A" PG not found"

Resolution:

This demo will be linked with Microsoft's SDK winspool.lib, therefore the demo will run correctly if you have the right path addressed while linking the demo project.

You should check first:

Project Build Settings -> Tab: Link -> Category: Advanced under  'Link with these LIBs' - you need a path correctly pointing to winspool.lib.

There is a demo 'printrawHP6P' attached that uses a HP LaserJet 6P printer - you are able to change the name under 'printer-name'  in printraw.cbl.

For additional information check the README file included, but be aware the demo runs for ESC

codes supported by this model and other HP LaserJet printers only.

Attachments:

printrawHP6P.zip

Old KB# 4283