FB II Compiler

PG PRO

Debugging

Memory

System

Mathematics

Resources

Disk I/O

Windows

Controls

Menus

Mouse

Keyboard

Text

Fonts

Drawing

Sound

Clipboard

Printing

Communication

ASM

Made with FB

PRINTING

Fix problems with HP drivers


Don't really have any scoop, but I have always had trouble with HP drivers. Way back someone said that you should always do

CALL UPDATERESFILE(gResRef)

before starting a print job. Don't really remember why. I was told to do it by someone and it fixed whatever was going wrong and it is still in my code. Apps run on HP lasers.
Not to badmouth HP as their printers (DeskWriters) just run an run (my school has a boatload of them). The drivers on the other hand so some strange things. In an old HP technote I believe they also suggest that you unload unused segments before you print also. I don't, or haven't been doing that since I discovered FB.

Hope this helps. I am not in the "know" as to why...or even if this is your answer. I am sure one of the smart fellows here can explain or correct.

GB


That's right. When you tell the printer it's time to print (like with a DEF LPRINT) the System Software changes the current resource fork (usually yours but you never know...) to the printer drive on the Mac for the printer.
You can't access this resource fork but it's there. And any resource calls you make after that may not be on your resource fork. So updating it purges from memory all the resources that need to be changed, clearing up the air for the resource manager. Sound right?

Ryan