pantz.org banner
Setting up a HP Laserjet 1300 on Linux
Posted on 05-29-2002 18:48:00 UTC | Updated on 05-29-2002 18:48:00 UTC
Section: /software/cups/ | Permanent Link

Got a new HP LaserJet 1300. Set it up on the W2k box. Shared it on the network. I needed to print to it from my Linux machines so I setup CUPS (apt-get install cupsys - the best open source printing solution IMHO). The problem I seemed to be having was that I was using SMB printing from the Linux workstation and CUPS needed the device URI for SMB. I was getting the error in the CUPS log "SMB tree connect failed: NT_STATUS_ACCESS_DENIED" with the URI I was using. This is a SAMBA (SMB) error which almost always means permission problems or username password problem. I was not supplying a U and P so I went to find the correct parameters for SMB URI's. After some quick googling I found the correct line for SMB device URI should be: "smb://windowsusername:password@workgroup/workstation/printersharename" (without quotes). Printer fired right up after that.

To get the printing working right I installed the package "gs-esp" (ghostscript esp) on Debian.

Next job was to get OpenOffice.org to print a word doc (Yuck!) to the new laser. Since I use KDE I just used Kprinter. In the KDE menu there is an OpenOffice.org group with a program called "OpenOffice.org Printer Administration" . In there just click "New Printer" then "Add a Printer" selected the laserjet4 (which works great for most laserjets). Then the important part was next. Enter the command for appropriate for this device which for Kprinter is: "kprinter --stdin". The document printed right up after that. Good stuff. I use the same kprinter line to print from xpdf also.

Del.icio.us! | Digg Me! | Reddit!

Related stories


RSS Feed RSS feed logo
About


3com
3ware
alsa
alsactl
alsamixer
amd
android
apache
areca
arm
ati
auditd
awk
badblocks
bind
bios
bonnie
cable
carp
cat5
cdrom
centos
chart
cifs
cisco
comcast
commands
comodo
compiz-fusion
corsair
cpufreq
cpufrequtils
cpuspeed
cron
crontab
crossover
cu
cups
cvs
database
dbus
dd
dd_rescue
ddclient
debian
decimal
dhclient
dhcp
diagnostic
diskexplorer
disks
dns
dos
dovecot
dsniff
dvdauthor
e-mail
echo
editor
emerald
ethernet
ext3
fat32
fedora
fetchmail
fiber
filesystems
firefox
firewall
flexlm
floppy
flowtools
fonts
format
ftp
gdm
gnome
greasemonkey
greylisting
growisofs
grub
hacking
harddrive
hba
hex
hfsc
html
http
idl
ie
intel
ios
ipmi
iptables
irix
javascript
kde
kernel
kmail
kprinter
krecord
kubuntu
ldap
linux
logfile
maradns
matlab
memory
mencoder
mhdd
mkinitrd
mkisofs
moinmoin
motherboard
mouse
movemail
mplayer
multitail
mutt
myodbc
mysql
mythtv
nagios
nameserver
netflow
nic
ntfs
ntp
nvidia
odbc
openbsd
openntpd
openoffice
openssh
openssl
opteron
parted
partimage
patch
perl
pf
pfflowd
pfsync
photorec
php
pop3
pop3s
ports
postfix
power
procmail
proftpd
proxy
putty
pxe
python
qemu
r-studio
raid
recovery
router
rpc
rsync
samba
schedule
scsi
seagate
seatools
sed
sendmail
sgi
shell
siw
smtp
snort
solaris
soundcard
spam
spamd
sql
sqlite
squid
ssh
ssh.com
ssl
su
subnet
subversion
sudo
sun
supermicro
switches
symbols
syslinux
systemrescuecd
t1
tcpip
tcpwrappers
telnet
terminal
testdisk
tftp
thttpd
thunderbird
timezone
tools
tr
trac
tuning
tunnel
vi
wget
wiki
windows
windowsxp
wireless
wpa_supplicant
x
xauth
xfree86
xfs
xinearama
xmms
zdump
zic
zlib