Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hp laserjet codes
Message
General information
Forum:
Windows
Category:
Printing
Miscellaneous
Thread ID:
00516790
Message ID:
00516810
Views:
9
>Help !!! I need the codes in ASCII format to turn off condensed print on a HP laser jet printer, or alternately to just rest the printer settings.
>
>(I using a DOS programming language).
>
>The customer has lost the manual!!
>
>Can anyone help?
>
>Rob
>Bespoke Software Systems

Rob, here is an "initialization" code I find in our drivers; what is what I don't know, but will contain the reset-code somewhere (I think).

For a HP Laserjet 4GL :
CHR(27)+"E"+CHR(27)+"&l0O"+CHR(27)+"(12U"+CHR(27)+"&l6D"                                            
Here is the sequence for "large font" :
CHR(27)+"(s0p12.0h0s0b4102T"                                               
whereas here is the code for a smaller font :
CHR(27)+"(s0p16.0h0s0b4102T"                                               
so the 12 and the 16 is the difference here.
Note that this is a portrait-driver, so maybe this is somewhere in here too.

For a HP Laserjet II or III the same as above (no init-sequence in our driver, sorry) :

Large font :
CHR(27)+"(10U"+CHR(27)+"(s0p12h0v0s0b6T"+CHR(27)+"&k9.79H"                 
smaller font :
CHR(27)+"(10U"+CHR(27)+"(s0p15h0s0b0T"+CHR(27)+"&k6.84H"                   
so here's more difference.

I hope you can make something of this.
Previous
Reply
Map
View

Click here to load this message in the networking platform