Linux Printer HP deskjet 3820c

Linux Printer HP deskjet 3820c

Post by VP » Sat, 22 Feb 2003 23:47:45



Im going to buy a hp printer.

I want to kinow if hp deskject 3820c works with linux

Any help is apreciated

VP

 
 
 

Linux Printer HP deskjet 3820c

Post by torste » Sun, 23 Feb 2003 11:43:31


On Fri the 21 Feb 2003 at 14 hours EST

Quote:V wrote...
>Im going to buy a hp printer.

>I want to kinow if hp deskject 3820c works with linux

>Any help is apreciated

>VP

See www.linuxprinting.org for compatibility database.
Torsten

 
 
 

1. Printer setup using NetBSD-1.3 and HP 692c Deskjet Printer

I sweated through making my new deskjet work with netbsd and I thought
by posting this it might help a few people get theirs working :)

First of all I found using a polled printer port works much better to
print .ps/.pdf files using ghostscript much, much faster :)

You can make that by creating a new device file called /dev/lp
mknod /dev/lp c 16 128

Also had to add some entries to your /etc/printcap and
/usr/libexec/lpr/... to deal with some formatting required by the
printer since it needs \r\n instead of just \n at the end of each line.

The hp692c entry deals with postscript files and the lp entry deals with
the textfiles.

Example /etc/printcap entries
----------------------------------------
lp|local line printer:\
        :lp=/dev/lp:\
        :sd=/var/spool/output/lpd:\
        :mx#0:\
        :sh:\
        :if=/usr/libexec/lpr/textfilter:\      
        :lf=/var/log/lpd-errs:
hp692c|HP 692c DeskJet Printer:\
        :lp=/dev/lp:\
        :sd=/var/spool/output/lpd:\
        :mx#0:\
        :sh:\
        :if=/usr/libexec/lpr/gsfilter:\
        :lf=/var/log/lpd-errs:
--------------------------------------------

The textfilter (/usr/libexec/lpr/textfilter)
---------------------------------------------------
#!/bin/sh
printf "\033&k2G" && cat && printf "\f" && exit 0
exit 1
---------------------------------------------------

The ghostscript filter (/usr/libexec/lpr/gsfilter)
--------------------------------------------------------------------
#!/bin/sh
/usr/local/bin/gs -dNOPAUSE -sDEVICE=cdj550 -sPAPERSIZE=a4 \
-dBitsPerPixel=32 -dDepletion=1 -dShingling=1 \
-dFIXEDMEDIA -dQUIET -sOutputFile=- -q -
exit 2
--------------------------------------------------------------------

Thanks,

Joel Pullen


2. email mgmnt. web control panel

3. HP Deskjet 722C and New HP Deskjet 882C (PC World 4/99)

4. USB Scanners

5. HP DeskJet 832C printer in RedHat Linux 6.1

6. Comercial Firewall

7. HP deskjet 628c printer and linux RH 5.2 problems

8. Is there a way to mount filesystem using FTP protocol?

9. Printing to remote printer (HP Deskjet 560C) on WFWG box from Linux

10. HP DeskJet Printers, Linux and You

11. Is HP 680C Deskjet printer supported under LINUX?

12. Hp Deskjet printer on Linux

13. Do HP Deskjet printers work with Linux?