berny78
3rd December 2003, 10:15
We have recently buy a HP LaserJet 5100 th.
There is someone that have the driver configured for this printer?

The printer has:
A4 in the Draw 1
A3 in the Draw 2
A4 in the Draw 3

Thank in advance for any help.

Regards,
XXXXX

lakoon
3rd December 2003, 22:35
hello berny78

you can use the attached hp driver for the 4000 series. copy the file to the directory $BSE/lib/printinf/h and create a printer with the new driver with maintain devices.

you have to modify the parts of papersize and the paper bin.

on the HP supportpage you will find the correct esc-sequences.

/lakoon

Drivercommands >>>> Start
#******************************************************************************
# @(#)
# @(#) File : hp_4tn2
# @(#)
# @(#) Printer : HP LaserJet 4000TN
# @(#) Emulation Mode : HP LaserJet
# @(#) Character Set : PC 8 & ISO Latin1
# @(#)
# @(#) Date : 31-05-94
# @(#) Driverset : 94.002
# @(#) Version : 6.0.01
# @(#) Copyright : Simac Service b.v. - Ede (c)
# @(#) Customer : Baan International b.v.
# @(#)
# @(#) Comment : PC-850 used as default char.set because switching
# @(#) between PC-8 and ISO Latin-1 causes resetting
# @(#) of HMI settings. PC-850 supports most Latin-1
# @(#) characters.
# @(#)
# @(#) 94/05/24 Ported to bshell6.0
# @(#) 94/05/25 Corrected problems with bold printing
# @(#) 94/05/31 Added description for the fonts
# @(#)
#******************************************************************************

#******************************************************************************
# Booleans
#******************************************************************************
#rsf_pbold,
#rsf_pobold,

#******************************************************************************
# Setup
#******************************************************************************
initpr=\EE\E&l26a0o1h85F\E(12U\E(s0p12h0s0b4102T,
resetpr=,
#******************************************************************************
# Description ESC Sequences
#******************************************************************************
# \E&l1H = # = 1(Papierfach), 2(manuelle Zufuhr), 3(Merhzweckfach)
# \E&l26A = Format A4
# \E&l0O = Ausrichtung Hochformat
# \E&l##F = Textlaenge Anzahl der Zeilen=##
# \E&a9L = Rand Links Anzahl der Spalten=9
# \E&l6D = Zeilenabstand Zeilen/Zoll=6
# \E(12U = Primaerer Zeichensatz=PC8
# \E(s0P = Zeilenabstand Primaerabstand=Fest
# \E(s12H = Primaere Zeichendichte Anzahl Zeichen/Zoll=12
# \E(s12V = Primaere Zeichengroesse Anzahl Pica-Punkte=12
# \E(s0S = Primaere Schrift=Normal, gerade stehend
# \E(s0B = Strichstaerke der Primaerschrift=Normal
# \E(s4102T = Primaerer Schrifttyp=Letter Gothic
#******************************************************************************
# Character Sizes
#******************************************************************************
small=\E&l85F\E(s0p21h10v0s0b4102T\E&a9L,
middle=\E&l8D\E&l85F\E(s0p16.6h9v0s0b4102T\E&a9L,
large=\E&l6D\E&l66F\E(s0p12h6v0s0b4102T\E&a9L,

#******************************************************************************
# Line Drawing Chars
#******************************************************************************
pctl=\0332,
pctr=\0277,
pcbl=\0300,
pcbr=\0331,
put=\0302,
prt=\0264,
plt=\0303,
pdt=\0301,
phb=\0304,
pvb=\0263,
pkr=\0305,

#******************************************************************************
# Print Features
#******************************************************************************
pbold=\E(s3B,
pobold=\E(s0B,
punder=\E&dD,
pounder=\E&d@,
pitalic=\E(s1S,
poitalic=\E(s0S,
landscape=\E&l1O,
portrait=\E&l0O,
bin1=\E&l1H,
bin2=\E&l2H,
bin3=\E&l3H,
bin4=\E&l4H,
#hpos=\E&a%p1%dC,
psubscript=\E*p+10Y,
posubscript=\E*p-10Y,
psuperscript=\E*p-10Y,
posuperscript=\E*p+10Y,

#******************************************************************************
# Character Sets
#******************************************************************************
#set0=\E(12U,
set0=,

#******************************************************************************
# NLS Table
#******************************************************************************
nls_out=hp_pc850.out,

#******************************************************************************
# Colors
#******************************************************************************

#******************************************************************************
# Fonts
# pfont1 is Courier, non-proportional, suitable for use;
# pfont2 is Letter Gothic, non-proportional, suitable for use;
# the others fonts are PROPORTIONAL (!); 10 points; use with care
# 3=CG Times, 4=CG Omega, 5=Coronet, 6=Clarendon Condensed, 7=Univers,
# 8=Antique Olive, 9=Garamond, 10=Marigold, 11=Albertus, 12=Arial, 13=Times
#******************************************************************************
pfont1=\E(s0p10h0s0b4099T\E&k11.6H,
pfont2=\E(s0p10h0s0b4102T\E&k11.6H,
pfont3=\E(s1p10v0s0b4101T,
pfont4=\E(s1p10v0s0b4113T,
pfont5=\E(s1p10v1s0b4116T,
pfont6=\E(s1p10v4s3b4140T,
pfont7=\E(s1p10v0s0b4148T,
pfont8=\E(s1p10v0s0b4168T,
pfont9=\E(s1p10v0s0b4197T,
pfont10=\E(s1p10v0s0b4297T,
pfont11=\E(s1p10v0s1b4362T,
pfont12=\E(s1p10v0s0b16602T,
pfont13=\E(s1p10v0s0b16901T,

#******************************************************************************
# Barcode Directory
#******************************************************************************
barcode_dir=hp,

#******************************************************************************
# User Defined
#******************************************************************************


<< End