hm, i just deleted the printer in the printer settings and now i cannot get my computer to recognize it again. before it had been recognized as soon as i plugged it in :/
i already read this tutorial:
http://www.techrepublic.com/article/control-printers-in-linux-from-the-command-line/5055067and would like to try
- Code: Select all
lpadmin -p laserjet1100 -m laserjet.ppd -v ? -D "HP LaserJet 1100" -L "HPLJ1100"
The options used here include:
-p laserjetV - the name of the new printer
-m laserjet.ppd - the specification of the Postscript Printer Description file so CUPS knows how to speak to the printer
-v parallel - specifies the device to be used for the printer
-D "HP LaserJet V" - a textual description of the printer
-L "Office 502" - a textual description of the location of the printer
but i do not know how to specify the device to be used for the printer :/
- Code: Select all
martin@martin-ThinkPad-R400 / $ ls /dev
agpgart mapper sda5 tty29 tty63 ttyS8
autofs mcelog sda6 tty3 tty7 ttyS9
block mei sda7 tty30 tty8 uinput
bsg mem sda8 tty31 tty9 urandom
btrfs-control net serial tty32 ttyACM0 usbmon0
bus network_latency sg0 tty33 ttyACM1 usbmon1
cdc-wdm0 network_throughput sg1 tty34 ttyACM2 usbmon2
cdc-wdm1 null shm tty35 ttyprintk usbmon3
cdrom nvram snapshot tty36 ttyS0 usbmon4
cdrw oldmem snd tty37 ttyS1 usbmon5
char port sr0 tty38 ttyS10 usbmon6
console ppp stderr tty39 ttyS11 usbmon7
core psaux stdin tty4 ttyS12 usbmon8
cpu ptmx stdout tty40 ttyS13 v4l
cpu_dma_latency pts tpm0 tty41 ttyS14 vcs
disk ram0 tty tty42 ttyS15 vcs1
dri ram1 tty0 tty43 ttyS16 vcs2
dvd ram10 tty1 tty44 ttyS17 vcs3
dvdrw ram11 tty10 tty45 ttyS18 vcs4
ecryptfs ram12 tty11 tty46 ttyS19 vcs5
fb0 ram13 tty12 tty47 ttyS2 vcs6
fd ram14 tty13 tty48 ttyS20 vcs8
full ram15 tty14 tty49 ttyS21 vcsa
fuse ram2 tty15 tty5 ttyS22 vcsa1
fw0 ram3 tty16 tty50 ttyS23 vcsa2
hpet ram4 tty17 tty51 ttyS24 vcsa3
input ram5 tty18 tty52 ttyS25 vcsa4
kmsg ram6 tty19 tty53 ttyS26 vcsa5
log ram7 tty2 tty54 ttyS27 vcsa6
loop0 ram8 tty20 tty55 ttyS28 vcsa8
loop1 ram9 tty21 tty56 ttyS29 vga_arbiter
loop2 random tty22 tty57 ttyS3 video0
loop3 rfkill tty23 tty58 ttyS30 zero
loop4 rtc tty24 tty59 ttyS31
loop5 rtc0 tty25 tty6 ttyS4
loop6 sda tty26 tty60 ttyS5
loop7 sda1 tty27 tty61 ttyS6
loop-control sda2 tty28 tty62 ttyS7
is it possible that the parallel to usb-adapter is there listed somewhere so that i can use it somehow in the comment lpadmin?
lpinfo -v gives me:
- Code: Select all
martin@martin-ThinkPad-R400 / $ lpinfo -v
network socket
direct hp
network http
network lpd
network smb
network ipp
network ipp14
network https
network ipps
network beh
direct hpfax
but i don't know what to do next