Hi to all,
after i upgraded from old lpd (slackware 7) to lprng 3.8.21 i'm unable to
print correctly to my JetDirect with 3 parallel port.
I have an HP Laserjet 2100 connected on port 3 and i use samba to print
directly from windows stations.
The problem is that if i print with lpr from linux to make some tests i try:
lpr -Plaserjet /usr/share/ghostscript/5.50/examples/tiger.ps
This should print the famous tiger PS example of ghostscript but it prints
only the content of the file as if the JetDirect box (or the printer)
interpret it as text with only the linefeeds appended to each line.
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: Adobe Illustrator(TM)
1.2d4
I changed from old lpd (that worked well for 3 years with slackware 7) becouse
i upgraded to slackware 8 and i started to have some strange queue stops with
errors from jetdirect saying:
lpd[8241]: laserjet: lost connection.
And i found the spool directory with all files inside and not able to print
anymore. I need to delete all cf,df,lpdtmp files and restart lpd to let it
print again for a while and after it stops again.
Thinking on some changes of lpd version from slackware 7 to 8 i changet to the
latest version of lprng. But it has not solved the problems.
I went to conclusion that the JetDirect may have some problem becouse on the
network i have an LaserJet 4000 with the jetdirect interface and if i print
on it in the same way the tiger prints correctly.
I tryied directly with the netcat tool too:
>nc 10.0.0.243 9102 </usr/share/ghostscript/5.50/examples/tiger.ps
on the laserjet 4000 it prints OK and on the JetDirect Box every time the same
output.
Now i'm writing to you becouse i tryed to redirect directly the printer ports
on the Windows clients on the Jetdirect Box avoiding the Linux box and it
prints perfectly well, but the windows driver prints in PCL.
So i tried to print from linux a PCL file and it works perfectly.
Is possible that the laserjet printer do not understand postscript anymore?
I will try to connect the laserjet directly to parallel port of the server and
print a PS file to look at the results.
If you have some ideas,please help me.
Bye,
Marcello
This is my printcap entry:
l2:\
:lp=:force_localhost:sh:\
:sd=/var/spool/lpd/laserjet:mx#0:\
:rm=hpjetdirect:rp=raw3:
I don't use filters becouse the files are already formatted by the windows
driver in the correct format and i don't need to print from linux.
In the /etc/hosts i have the translation from hpjetdirect to 10.0.0.243
This is the configuration of the JetDirect box:
Connected to 10.0.0.243.
Escape character is '^]'.
HP JetDirect
Please type "?" for HELP, or "/" for current settings
> /
===JetDirect Telnet Configuration===
Firmware Rev. : J.08.40
MAC Address : 00:30:c1:55:f3:44
Config By : USER SPECIFIED
IP Address : 10.0.0.243
Subnet Mask : 255.255.255.0
Default Gateway : 10.0.0.243
Syslog Server : Not Specified
Idle Timeout : 90 Seconds
Set Cmnty Name : Not Specified
Host Name : Not Specified
DHCP Config : Disabled
Passwd : Disabled
IPX/SPX : Disabled
DLC/LLC : Disabled
Ethertalk : Disabled
Port[1] Banner page : Disabled <-
Port[2] Banner page : Disabled
Port[3] Banner page : Disabled
>
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------