Re: printing to a HP Deskjet 812C printer
On Wed, 27 Jul 2011 20:05:12 -0500, Antonio Olivares wrote: @ all, I restarted machine and I can print from command line :) [olivares@quadcore ~/Documents]$ cat Document1.txt | lpr -P Deskjet [olivares@quadcore ~/Documents]$ lpq -a Deskjet: Deskjet is ready and printing Rank Owner Job Files Total Size active olivares 2(standard input) 10405 bytes [olivares@quadcore ~/Documents]$ Now how do I configure apps like Firefox, evince, LibreOffice to print? No need to do that. Basically, the default options should be fine. However, _some_ programs require you to set paper format or margins. For actual _printing_, there is no need for any configuration. Programs will address the default printing queue (lp, or whatever $PRINTER says). If your printer is Deskjet, add setenv PRINTER Deskjet to /etc/csh.cshrc for systemwide use (all users), or whatever your default shell is. You can also use login.conf to set this environmental variable. I suggest to do so because if _not_ done, you'd have to add -P Deskjet in too many places. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, Jul 28, 2011 at 8:15 AM, Polytropon free...@edvax.de wrote: On Wed, 27 Jul 2011 20:05:12 -0500, Antonio Olivares wrote: @ all, I restarted machine and I can print from command line :) [olivares@quadcore ~/Documents]$ cat Document1.txt | lpr -P Deskjet [olivares@quadcore ~/Documents]$ lpq -a Deskjet: Deskjet is ready and printing Rank Owner Job Files Total Size active olivares 2 (standard input) 10405 bytes [olivares@quadcore ~/Documents]$ Now how do I configure apps like Firefox, evince, LibreOffice to print? No need to do that. Basically, the default options should be fine. However, _some_ programs require you to set paper format or margins. For actual _printing_, there is no need for any configuration. Programs will address the default printing queue (lp, or whatever $PRINTER says). If your printer is Deskjet, add setenv PRINTER Deskjet to /etc/csh.cshrc for systemwide use (all users), or whatever your default shell is. You can also use login.conf to set this environmental variable. I suggest to do so because if _not_ done, you'd have to add -P Deskjet in too many places. :-) -- Polytropon, Thank you for the suggestion. I am using bash as my shell. I have a file ~/.bashrc with command in there and I get: bash: setenv: command not found Contents of ~/.bashrc are as follows: / [olivares@quadcore /usr/home/olivares]$ cat .bashrc # User specific environment and startup programs setxkbmap -option compose:ralt setenv PRINTER Deskjet */ Thanks for the suggestion hope to get it working :) Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, 28 Jul 2011 09:57:08 -0500, Antonio Olivares wrote: Polytropon, Thank you for the suggestion. I am using bash as my shell. I have a file ~/.bashrc with command in there and I get: bash: setenv: command not found Of course. :-) The setenv command is specific to the C shell (FreeBSD's default dialog shell). In bash (and in sh too), you set an environmental vairable like this: export PRINTER=Deskjet This is short for PRINTER=Deskjet export PRINTER See man bash for details: The supplied names are marked for automatic export to the environment of subsequently executed commands. - and so on. Contents of ~/.bashrc are as follows: / [olivares@quadcore /usr/home/olivares]$ cat .bashrc # User specific environment and startup programs setxkbmap -option compose:ralt setenv PRINTER Deskjet I don't think you need to send any of them into background (), as they should be processed right away. For example, your ~/.bashrc could look like this: setxkbmap -option compose:ralt export PRINTER=Deskjet Keep in mind that in _this_ case, $PRINTER is set for _your_ account only (which should be fine on a single- user system). However, if you set it up in /etc/csh.cshrc for system- wide use, user shells like bash should incorporate the setting. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
For example, your ~/.bashrc could look like this: setxkbmap -option compose:ralt export PRINTER=Deskjet Keep in mind that in _this_ case, $PRINTER is set for _your_ account only (which should be fine on a single- user system). However, if you set it up in /etc/csh.cshrc for system- wide use, user shells like bash should incorporate the setting. -- Polytropon, I have made the changes, but the printer does not print :( from firefox. I might ``try the /etc/csh.cshrc for system- wide use'' option :) and get back / [olivares@quadcore ~]$ cat .bashrc # User specific environment and startup programs setxkbmap -option compose:ralt export PRINTER=Deskjet [olivares@quadcore ~]$ echo $PRINTER Deskjet / ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
However, if you set it up in /etc/csh.cshrc for system- wide use, user shells like bash should incorporate the setting. -- Polytropon, I have made the changes, but the printer does not print :( from firefox. I might ``try the /etc/csh.cshrc for system- wide use'' option :) and get back / [olivares@quadcore ~]$ cat .bashrc # User specific environment and startup programs setxkbmap -option compose:ralt export PRINTER=Deskjet [olivares@quadcore ~]$ echo $PRINTER Deskjet / Made the changes with global /etc/csh.cshrc and it did not work :( [olivares@quadcore ~]$ cat /etc/csh.cshrc # $FreeBSD: src/etc/csh.cshrc,v 1.3.56.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # System-wide .cshrc file for csh(1). setenv PRINTER Deskjet But if I change lpr to lpr -P Deskjet, I can print. Then I will need to play with it some more? Thanks for your help valuable time. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, 28 Jul 2011 10:34:46 -0500, Antonio Olivares wrote: I have made the changes, but the printer does not print :( You can always check $ echo $PRINTER which should give you the correct printer name, as you did correctly show. Make sure upper/lowercase matches exactly. When you now use any lp* command, they should refer to $PRINTER. $ lpq no entries And as well: $ lpr /etc/rc.conf should print the specified file and place its entry into the correct printer's queue. from firefox. I might ``try the /etc/csh.cshrc for system- wide use'' option :) and get back In Firefox (at least here in the old 2.0.0.20_9,1 versio as I _hardly_ use it), the printing dialog contains a way to specify the printer directly (as some other programs also do, but setting a printer name _for each application_ just sounds wrong). Go: File - Print..., then Properties, where you'll find Print Coommand: lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME} So you _could_ do some customization here - but it sounds no good to do that. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, 28 Jul 2011 10:44:52 -0500, Antonio Olivares wrote: Made the changes with global /etc/csh.cshrc and it did not work :( Requires re-login, but reboot should also be fine. :-) On the root prompt which (I assume!) has the C shell as the default dialog shell, % echo $PRINTER or % printenv PRINTER should show the correct name. The lp* tools will then use it (if set). [olivares@quadcore ~]$ cat /etc/csh.cshrc # $FreeBSD: src/etc/csh.cshrc,v 1.3.56.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # System-wide .cshrc file for csh(1). setenv PRINTER Deskjet I also have this in mine (although Laserjet is the name for the standard printer, and Laserjet-nodup for an additional printer without the duplexer). My login shell is the C shell. When I start bash from a csh prompt, I can also use the lp* commands, as $PRINTER will be inherited. But if I change lpr to lpr -P Deskjet, I can print. Then I will need to play with it some more? Make sure the settings are in effect. According to the manpages and my experience (that it _does_ work this way) show that if $PRINTER is present, it will be used as the default -P parameter. It makes things easier. For example, _all_ printing does to the default printer. If a temporary change is needed, just set $PRINTER to a different value as long as you need it. If it's a one time only use, -P is definitely better. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, Jul 28, 2011 at 10:57 AM, Polytropon free...@edvax.de wrote: On Thu, 28 Jul 2011 10:44:52 -0500, Antonio Olivares wrote: Made the changes with global /etc/csh.cshrc and it did not work :( Requires re-login, but reboot should also be fine. :-) Rebooted and firefox did not print :( On the root prompt which (I assume!) has the C shell as the default dialog shell, % echo $PRINTER or % printenv PRINTER Did not try these, as I reverted to .bashrc export PRINTER option. should show the correct name. The lp* tools will then use it (if set). [olivares@quadcore ~]$ cat /etc/csh.cshrc # $FreeBSD: src/etc/csh.cshrc,v 1.3.56.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # System-wide .cshrc file for csh(1). setenv PRINTER Deskjet I also have this in mine (although Laserjet is the name for the standard printer, and Laserjet-nodup for an additional printer without the duplexer). My login shell is the C shell. When I start bash from a csh prompt, I can also use the lp* commands, as $PRINTER will be inherited. But if I change lpr to lpr -P Deskjet, I can print. Then I will need to play with it some more? Make sure the settings are in effect. According to the manpages and my experience (that it _does_ work this way) show that if $PRINTER is present, it will be used as the default -P parameter. It makes things easier. For example, _all_ printing does to the default printer. If a temporary change is needed, just set $PRINTER to a different value as long as you need it. If it's a one time only use, -P is definitely better. -- However, in the other message: ** You can always check $ echo $PRINTER which should give you the correct printer name, as you did correctly show. Make sure upper/lowercase matches exactly. When you now use any lp* command, they should refer to $PRINTER. $ lpq no entries And as well: $ lpr /etc/rc.conf should print the specified file and place its entry into the correct printer's queue. *** This did work, the $ lpr /etc/rc.conf [olivares@quadcore ~]$ echo $PRINTER Deskjet [olivares@quadcore ~]$ lpq no entries [olivares@quadcore ~]$ lpr /etc/rc.conf [olivares@quadcore ~]$ lpq Deskjet is ready and printing Rank Owner Job Files Total Size 1stolivares 6/etc/rc.conf 512 bytes [olivares@quadcore ~]$ Firefox 5 does not have the properties option :( you mentioned. It has File - Page Setup, File - Print Preview, File - Print [General - Page Settings - Options], but no properties to change printer options :( Thank you for the help, I am almost there, in fact I can live with what I got :) Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, 28 Jul 2011 11:06:47 -0500, Antonio Olivares wrote: On Thu, Jul 28, 2011 at 10:57 AM, Polytropon free...@edvax.de wrote: On Thu, 28 Jul 2011 10:44:52 -0500, Antonio Olivares wrote: Made the changes with global /etc/csh.cshrc and it did not work :( Requires re-login, but reboot should also be fine. :-) Rebooted and firefox did not print :( Does it have some _overriding_ settings in its printer dialog? Did not try these, as I reverted to .bashrc export PRINTER option. You said that bash's echo $PRINTER would show the correct name, so things should be fine. This did work, the $ lpr /etc/rc.conf [olivares@quadcore ~]$ echo $PRINTER Deskjet [olivares@quadcore ~]$ lpq no entries [olivares@quadcore ~]$ lpr /etc/rc.conf [olivares@quadcore ~]$ lpq Deskjet is ready and printing Rank Owner Job Files Total Size 1stolivares 6/etc/rc.conf 512 bytes [olivares@quadcore ~]$ As it should be. The processing from plain text to whatever you need for the printer is done by the printer filter (e. g. ghostscript-based, apsfilter, CUPS, or something custom). Firefox 5 does not have the properties option :( you mentioned. It has File - Page Setup, File - Print Preview, File - Print [General - Page Settings - Options], but no properties to change printer options :( Very strange. But then, Firefox should address the DEFAULT printer queue, which is the one $PRINTER points to. Maybe you can try to print from a different web browser, e. g. Opera, just for testing? Thank you for the help, I am almost there, in fact I can live with what I got :) There is a workaround for this, and the emphasize is on work: You can have Firefox printing to a file instead to the $PRINTER. This file will be a postscript file. You can _then_ send this PS file (per lpr file) to the printer. :-) But I would really suggest to look into Firefox's settings. There must be something strange inside. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, 27 Jul 2011, Antonio Olivares wrote: On Wed, Jul 27, 2011 at 8:05 PM, Antonio Olivares olivares14...@gmail.com wrote: @ all, I restarted machine and I can print from command line :) [olivares@quadcore ~/Documents]$ cat Document1.txt | lpr -P Deskjet [olivares@quadcore ~/Documents]$ lpq -a Deskjet: Deskjet is ready and printing Rank Owner Job Files Total Size active olivares 2 (standard input) 10405 bytes [olivares@quadcore ~/Documents]$ Now how do I configure apps like Firefox, evince, LibreOffice to print? Ok I have figured it out :) I need to change `lpr` to `lpr -P Deskjet` and it will print. lpr uses the lp queue by default. If that queue is capable of accepting PostScript (with a filter, in this case), all that's needed is for the application to use lpr.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
printing to a HP Deskjet 812C printer
Dear folks, I have a working installation 8.2 Release AMD64 and I am trying to follow a printing howto : http://www.wonkity.com/~wblock/docs/html/lpdprinting.html I am copying the settings and I can't print. quadcore# lpq -a lp: Warning: no daemon present Rank Owner Job Files Total Size 1stroot 0(standard input) 17 bytes 2ndroot 1(standard input) 89 bytes quadcore# lpd chkprintcap: Warning: blanks after trailing '\', at line 62 (entry lp) chkprintcap: Warning: values-line after line with NO trailing '\', at line 63 chkprintcap:2 warnings from skimming /etc/printcap quadcore# cat /etc/printcap # @(#)printcap5.3 (Berkeley) 6/30/90 # $FreeBSD: src/etc/printcap,v 1.14.30.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # This enables a simple local raw printer, hooked up to the first # parallel port. No kind of filtering is done, so everything you pass # to the lpr command will be printed unmodified. # # Remember, for further print queues you're going to add, you have # to choose different spool directories (the sd capability below), # otherwise you will greatly confuse lpd. # # For some advanced printing, have a look at the apsfilter package. # It plugs into the lpd system, allowing you to print a variety of # different file types by converting everything to PostScript(tm) # format. For more information about apsfilter visit # #http://www.apsfilter.org/ # # If you don't have a PostScript(tm) printer, don't panic, but do # also install the latest ghostscript package for best printer support. # # Do also refer to the printing section of the handbook. # # http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html # # A local copy can be found under # # /usr/share/doc/handbook/handbook.{html,latin1}. # # Banner pages are now suppressed by default. Remove the :sh: capability # to turn them back on. # #lp|local line printer:\ # :sh:\ # :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: # # Sample remote printer. The physical printer is on machine lphost. # You can perform any kind of local filtering directly. If you need # local filters (e.g. LF - CR-LF conversion for HP printers), create # a filter script that sends the proper escape sequence to the printer # and then concatenates stdin to stdout. # #remote|sample remote printer:\ # :sh:\ # :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\ # :if=/usr/local/libexec/if-script: # # Simple Russian printer with hardware CP866 character set, output filter # used for KOI8-R - CP866 conversion # #lp|Russian local line printer:\ # :sh:of=/usr/libexec/lpr/ru/koi2alt:\ # :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: # add for HP Deskjet 812C lp:\ :lp=/dev/ulpt0:\ :sh:\ :mx#0:\ :sd=/var/spool/lpd/lp:\ :if=/usr/local/libexec/psif:\ :lf=/var/log/lpd-errs: quadcore# cat /usr/local/libexec/ps2pcl #!/bin/sh /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=deskjet -sOUTFILE=- - quadcore# ls -l /usr/local/libexec/ps2pcl -rwxr-xr-x 1 root wheel 81 Jul 27 14:18 /usr/local/libexec/ps2pcl quadcore# cat /usr/local/libexec/psif #!/bin/sh IFS= read -r first_line first_two_chars=`expr $first_line : '\(..\)'` case first_two_chars in %!|\033%%) # %! or ESC% : Postscript job, print it. echo $first_line cat printf \004 exit 0 exit 2 ;; *) # otherwise, format with enscript ( echo $first_line; cat ) \ | /usr/local/bin/enscript -o - printf \004 exit 0 exit 2 ;; esac quadcore# ls -l /usr/local/libexec/psif -rwxr-xr-x 1 root wheel 378 Jul 27 14:26 /usr/local/libexec/psif I modified the -sDEVICE to -sDEVICE=deskjet since the machine is an Desjet. The printer is on a USB and it is connected. I have tried to change /dev/ulpt0 and /dev/unlpt0 and still get the same thing. Any pointers/advice/hints? Thanks in Advance, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, Jul 27, 2011 at 2:51 PM, Antonio Olivares olivares14...@gmail.com wrote: Dear folks, I have a working installation 8.2 Release AMD64 and I am trying to follow a printing howto : http://www.wonkity.com/~wblock/docs/html/lpdprinting.html I am copying the settings and I can't print. quadcore# lpq -a lp: Warning: no daemon present Rank Owner Job Files Total Size 1st root 0 (standard input) 17 bytes 2nd root 1 (standard input) 89 bytes quadcore# lpd chkprintcap: Warning: blanks after trailing '\', at line 62 (entry lp) chkprintcap: Warning: values-line after line with NO trailing '\', at line 63 chkprintcap: 2 warnings from skimming /etc/printcap quadcore# cat /etc/printcap # @(#)printcap 5.3 (Berkeley) 6/30/90 # $FreeBSD: src/etc/printcap,v 1.14.30.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # This enables a simple local raw printer, hooked up to the first # parallel port. No kind of filtering is done, so everything you pass # to the lpr command will be printed unmodified. # # Remember, for further print queues you're going to add, you have # to choose different spool directories (the sd capability below), # otherwise you will greatly confuse lpd. # # For some advanced printing, have a look at the apsfilter package. # It plugs into the lpd system, allowing you to print a variety of # different file types by converting everything to PostScript(tm) # format. For more information about apsfilter visit # # http://www.apsfilter.org/ # # If you don't have a PostScript(tm) printer, don't panic, but do # also install the latest ghostscript package for best printer support. # # Do also refer to the printing section of the handbook. # # http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html # # A local copy can be found under # # /usr/share/doc/handbook/handbook.{html,latin1}. # # Banner pages are now suppressed by default. Remove the :sh: capability # to turn them back on. # #lp|local line printer:\ # :sh:\ # :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: # # Sample remote printer. The physical printer is on machine lphost. # You can perform any kind of local filtering directly. If you need # local filters (e.g. LF - CR-LF conversion for HP printers), create # a filter script that sends the proper escape sequence to the printer # and then concatenates stdin to stdout. # #remote|sample remote printer:\ # :sh:\ # :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\ # :if=/usr/local/libexec/if-script: # # Simple Russian printer with hardware CP866 character set, output filter # used for KOI8-R - CP866 conversion # #lp|Russian local line printer:\ # :sh:of=/usr/libexec/lpr/ru/koi2alt:\ # :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: # add for HP Deskjet 812C lp:\ :lp=/dev/ulpt0:\ :sh:\ :mx#0:\ :sd=/var/spool/lpd/lp:\ :if=/usr/local/libexec/psif:\ :lf=/var/log/lpd-errs: quadcore# cat /usr/local/libexec/ps2pcl #!/bin/sh /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=deskjet -sOUTFILE=- - quadcore# ls -l /usr/local/libexec/ps2pcl -rwxr-xr-x 1 root wheel 81 Jul 27 14:18 /usr/local/libexec/ps2pcl quadcore# cat /usr/local/libexec/psif #!/bin/sh IFS= read -r first_line first_two_chars=`expr $first_line : '\(..\)'` case first_two_chars in %!|\033%%) # %! or ESC% : Postscript job, print it. echo $first_line cat printf \004 exit 0 exit 2 ;; *) # otherwise, format with enscript ( echo $first_line; cat ) \ | /usr/local/bin/enscript -o - printf \004 exit 0 exit 2 ;; esac quadcore# ls -l /usr/local/libexec/psif -rwxr-xr-x 1 root wheel 378 Jul 27 14:26 /usr/local/libexec/psif I modified the -sDEVICE to -sDEVICE=deskjet since the machine is an Desjet. The printer is on a USB and it is connected. I have tried to change /dev/ulpt0 and /dev/unlpt0 and still get the same thing. Any pointers/advice/hints? Thanks in Advance, Antonio I have found a page in OpenPrinting: http://www.openprinting.org/printer/HP/HP-DeskJet_812C But the device /dev/ulpt0 and/or /dev/unlpt0 are not found :( quadcore# ls /dev/ulpt0 ls: /dev/ulpt0: No such file or directory quadcore# ls /dev/unlpt0 ls: /dev/unlpt0: No such file or directory I need to add them somewhere in /etc/rc.conf, or in /boot/loader.conf ? Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, 27 Jul 2011, Antonio Olivares wrote: chkprintcap: Warning: blanks after trailing '\', at line 62 (entry lp) chkprintcap: Warning: values-line after line with NO trailing '\', at line 63 chkprintcap:2 warnings from skimming /etc/printcap This needs to be fixed. The entry is broken or at least incomplete. Line 62 has spaces or tabs after the backslash at the end. A Deskjet 812C should be a parallel printer, with device /dev/lpt0. Are you using a USB to parallel adapter? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, 27 Jul 2011, Warren Block wrote: A Deskjet 812C should be a parallel printer, with device /dev/lpt0. Are you using a USB to parallel adapter? Cancel that, an 812C has both parallel and USB. Make sure only the USB cable is connected, I suspect those printers don't have auto port switching. When the printer is connected and powered on, /dev/ulpt0 and /dev/unlpt0 should appear. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, Jul 27, 2011 at 4:23 PM, Warren Block wbl...@wonkity.com wrote: On Wed, 27 Jul 2011, Warren Block wrote: A Deskjet 812C should be a parallel printer, with device /dev/lpt0. Are you using a USB to parallel adapter? Cancel that, an 812C has both parallel and USB. Make sure only the USB cable is connected, I suspect those printers don't have auto port switching. When the printer is connected and powered on, /dev/ulpt0 and /dev/unlpt0 should appear. I disconnected the usb cable and reconnected it and now they appear: quadcore# lpq -a lp: Warning: no daemon present Rank Owner Job Files Total Size 1stroot 0(standard input) 17 bytes 2ndroot 1(standard input) 89 bytes quadcore# ls /dev/unlpt0 ls: /dev/unlpt0: No such file or directory quadcore# ls /dev/ulpt0 ls: /dev/ulpt0: No such file or directory reconnected it : quadcore# ls /dev/ulpt0 /dev/ulpt0 quadcore# ls -l /dev/ulpt0 crw-r--r-- 1 root operator0, 148 Jul 27 16:27 /dev/ulpt0 quadcore# ls -l /dev/unlpt0 crw-r--r-- 1 root operator0, 149 Jul 27 16:27 /dev/unlpt0 I changed /etc/printcap, and two blank pages came out but blank :( Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, 27 Jul 2011, Antonio Olivares wrote: I changed /etc/printcap, and two blank pages came out but blank :( Okay, it's progress. And good news, that printer understands plain ASCII and PCL3. Make certain lpd is running (pgrep lpd), then try the test shown in the article: % printf “This is a test\r\n\f” | lpr___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, Jul 27, 2011 at 5:11 PM, Warren Block wbl...@wonkity.com wrote: On Wed, 27 Jul 2011, Antonio Olivares wrote: I changed /etc/printcap, and two blank pages came out but blank :( Okay, it's progress. And good news, that printer understands plain ASCII and PCL3. Make certain lpd is running (pgrep lpd), then try the test shown in the article: % printf “This is a test\r\n\f” | lpr Warren, quadcore# ls -l /dev/ulpt0 crw-r--r-- 1 root operator0, 148 Jul 27 16:29 /dev/ulpt0 quadcore# ls -l /dev/unlpt0 crw-r--r-- 1 root operator0, 149 Jul 27 16:27 /dev/unlpt0 quadcore# pgrep lpd 43017 quadcore# printf This is a test\r\n\f | lpr The printer has not printed :( Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
It requires CUPS and replaces system lpr. Here's an example on setting up HPLIP: http://daemon-notes.com/articles/install/hplip On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote: Why you do not use HPLIP? Your printer is supported. Does lpd/lpr use this? or it requires CUPS? Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, Jul 27, 2011 at 5:43 PM, Ross basarev...@gmail.com wrote: It requires CUPS and replaces system lpr. Here's an example on setting up HPLIP: http://daemon-notes.com/articles/install/hplip On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote: Why you do not use HPLIP? Your printer is supported. Does lpd/lpr use this? or it requires CUPS? Thanks, Antonio Thanks Ross, But I have to compile/recompile kernel just to get it working? I'll think about it :? Howto you have provided is detailed and I cannot complain :( Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:43 PM, Ross basarev...@gmail.com wrote: It requires CUPS and replaces system lpr. Here's an example on setting up HPLIP: http://daemon-notes.com/articles/install/hplip On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote: Why you do not use HPLIP? Your printer is supported. Does lpd/lpr use this? or it requires CUPS? Thanks, Antonio Thanks Ross, But I have to compile/recompile kernel just to get it working? I'll think about it :? Howto you have provided is detailed and I cannot complain :( Regards, Antonio Well, you had problems with ulpt so maybe removing it which is required for HPLIP is a solution. Sorry if recompiling the kernel is not an option for you. Otherwise it just works. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, Jul 27, 2011 at 6:03 PM, Ross basarev...@gmail.com wrote: On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:43 PM, Ross basarev...@gmail.com wrote: It requires CUPS and replaces system lpr. Here's an example on setting up HPLIP: http://daemon-notes.com/articles/install/hplip On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote: Why you do not use HPLIP? Your printer is supported. Does lpd/lpr use this? or it requires CUPS? Thanks, Antonio Thanks Ross, But I have to compile/recompile kernel just to get it working? I'll think about it :? Howto you have provided is detailed and I cannot complain :( Regards, Antonio Well, you had problems with ulpt so maybe removing it which is required for HPLIP is a solution. Sorry if recompiling the kernel is not an option for you. Otherwise it just works. Ross, I am afraid to screw up and for the first time, I can say that I have updated FreeBSD successfully without hiccups and I have not compiled the kernel on FreeBSD :(, I have done it on linux systems many times, but have not here, and I would hate to lose all the work just to get the printer working. I will be patient and try some things out then report back. I appreciate the help and if I can't find a solution, I will take the plunge :) and hopefully not fail. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, Jul 28, 2011 at 2:12 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 6:03 PM, Ross basarev...@gmail.com wrote: On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:43 PM, Ross basarev...@gmail.com wrote: It requires CUPS and replaces system lpr. Here's an example on setting up HPLIP: http://daemon-notes.com/articles/install/hplip On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote: Why you do not use HPLIP? Your printer is supported. Does lpd/lpr use this? or it requires CUPS? Thanks, Antonio Thanks Ross, But I have to compile/recompile kernel just to get it working? I'll think about it :? Howto you have provided is detailed and I cannot complain :( Regards, Antonio Well, you had problems with ulpt so maybe removing it which is required for HPLIP is a solution. Sorry if recompiling the kernel is not an option for you. Otherwise it just works. Ross, I am afraid to screw up and for the first time, I can say that I have updated FreeBSD successfully without hiccups and I have not compiled the kernel on FreeBSD :(, I have done it on linux systems many times, but have not here, and I would hate to lose all the work just to get the printer working. I will be patient and try some things out then report back. I appreciate the help and if I can't find a solution, I will take the plunge :) and hopefully not fail. Regards, Antonio If you do decide to take this route, it's not that hard to recompile a kernel. # csup -h cvsup.FreeBSD.org -L2 /usr/share/examples/cvsup/standard-supfile Copy your kernconf, say COFFIN, to /usr/src/sys/i386/conf/ if you are on 32bit or to /usr/src/sys/amd64/conf/ if on amd64. The file could be just the following (just the GENERIC kernel, slightly modified): --- cut --- include GENERIC ident COFFIN # Remove legacy support nocpu I486_CPU nocpu I586_CPU # HPLIP can't work whithout this nodeviceulpt --- cut --- # cd /usr/src # make buildkernel KERNCONF=COFFIN # make installkernel KERNCONF=COFFIN # reboot That's it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Thu, Jul 28, 2011 at 2:29 AM, Ross basarev...@gmail.com wrote: On Thu, Jul 28, 2011 at 2:12 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 6:03 PM, Ross basarev...@gmail.com wrote: On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:43 PM, Ross basarev...@gmail.com wrote: It requires CUPS and replaces system lpr. Here's an example on setting up HPLIP: http://daemon-notes.com/articles/install/hplip On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares olivares14...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote: Why you do not use HPLIP? Your printer is supported. Does lpd/lpr use this? or it requires CUPS? Thanks, Antonio Thanks Ross, But I have to compile/recompile kernel just to get it working? I'll think about it :? Howto you have provided is detailed and I cannot complain :( Regards, Antonio Well, you had problems with ulpt so maybe removing it which is required for HPLIP is a solution. Sorry if recompiling the kernel is not an option for you. Otherwise it just works. Ross, I am afraid to screw up and for the first time, I can say that I have updated FreeBSD successfully without hiccups and I have not compiled the kernel on FreeBSD :(, I have done it on linux systems many times, but have not here, and I would hate to lose all the work just to get the printer working. I will be patient and try some things out then report back. I appreciate the help and if I can't find a solution, I will take the plunge :) and hopefully not fail. Regards, Antonio If you do decide to take this route, it's not that hard to recompile a kernel. # csup -h cvsup.FreeBSD.org -L2 /usr/share/examples/cvsup/standard-supfile Copy your kernconf, say COFFIN, to /usr/src/sys/i386/conf/ if you are on 32bit or to /usr/src/sys/amd64/conf/ if on amd64. The file could be just the following (just the GENERIC kernel, slightly modified): --- cut --- include GENERIC ident COFFIN # Remove legacy support nocpu I486_CPU nocpu I586_CPU # HPLIP can't work whithout this nodevice ulpt --- cut --- # cd /usr/src # make buildkernel KERNCONF=COFFIN # make installkernel KERNCONF=COFFIN # reboot That's it. Although I should add that you probably will need to also rebuild the world if you update your sources with csup. Well, don't run csup, use the sources you already have in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SOLVED! Re: printing to a HP Deskjet 812C printer
I will be patient and try some things out then report back. I appreciate the help and if I can't find a solution, I will take the plunge :) and hopefully not fail. Regards, Antonio If you do decide to take this route, it's not that hard to recompile a kernel. # csup -h cvsup.FreeBSD.org -L2 /usr/share/examples/cvsup/standard-supfile Copy your kernconf, say COFFIN, to /usr/src/sys/i386/conf/ if you are on 32bit or to /usr/src/sys/amd64/conf/ if on amd64. The file could be just the following (just the GENERIC kernel, slightly modified): --- cut --- include GENERIC ident COFFIN # Remove legacy support nocpu I486_CPU nocpu I586_CPU # HPLIP can't work whithout this nodevice ulpt --- cut --- # cd /usr/src # make buildkernel KERNCONF=COFFIN # make installkernel KERNCONF=COFFIN # reboot That's it. Thank you very much Ross Warren. You guided me in the right direction. To solve the printing issue I installed apsfilter and chose the hpij drivers, the printer appeared and I selected it. I then configured it and voila it worked :) I found the following page http://www.freebsdfoo.com/bsd-print-foo.txt and it helped me. I is an old printer my mom got for me in a yard sale three years ago and thankfully to you guys, with your suggestions/advice I got it to work with FreeBSD amd64 8.2! Regards, Antonio @Ross, I might take the advice of compiling the kernel as I am heavily looking to create a livecd/livedvd of FreeBSD. I liked freesbie, installed it port, but don't know how to use it/create it. I like Frenzy but can't find the SDK, I will create a new thread on this later. Thanks again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
If you do decide to take this route, it's not that hard to recompile a kernel. # csup -h cvsup.FreeBSD.org -L2 /usr/share/examples/cvsup/standard-supfile Copy your kernconf, say COFFIN, to /usr/src/sys/i386/conf/ if you are on 32bit or to /usr/src/sys/amd64/conf/ if on amd64. The file could be just the following (just the GENERIC kernel, slightly modified): --- cut --- include GENERIC ident COFFIN # Remove legacy support nocpu I486_CPU nocpu I586_CPU # HPLIP can't work whithout this nodevice ulpt --- cut --- # cd /usr/src # make buildkernel KERNCONF=COFFIN # make installkernel KERNCONF=COFFIN # reboot That's it. Although I should add that you probably will need to also rebuild the world if you update your sources with csup. Well, don't run csup, use the sources you already have in /usr/src. I guess I got overly excited and when I try to print from firefox, nothing happens :( I tried to print from command line and I get: [olivares@quadcore ~/Documents]$ lpr -P ijs/DESKJET_812 freebsd-printing1.txt [olivares@quadcore ~/Documents]$ mail Mail version 8.1 6/6/93. Type ? for help. /var/mail/olivares: 1 message 1 new N 1 dae...@quadcore.home Wed Jul 27 19:20 25/884 apsfilter: can't find Message 1: From dae...@quadcore.home Wed Jul 27 19:20:47 2011 Date: Wed, 27 Jul 2011 19:20:46 -0500 (CDT) From: Owner of many system processes dae...@quadcore.home To: r...@quadcore.home Cc: oliva...@quadcore.home Subject: apsfilter: can't find configuration apsfilter fatal error: can't find configuration The configuration file /usr/local/etc/apsfilter/DESKJET_812/apsfilterrc is missing. Please run SETUP. -- apsfilter, your lpd input filter At EOF q Saved 1 message in mbox I did not name the printer, went back to run ./SETUP and named it, I also checked === *Ok, now that THAT is over, lets check the perms on the lpd dir: --- ptah# ls -ald /var/spool/lpd drwxr-xr-x 2 root daemon 512 Jan 28 05:10 /var/spool/lpd ptah# chmod 777 /var/spool/lpd ptah# ls -ald /var/spool/lpd drwxrwxrwx 2 root daemon 512 Jan 28 05:10 /var/spool/lpd --- *...now everyone can write to it. *So I went into /usr/local/etc/rc.d and created a printer.sh file with the following contents: --- #!/bin/sh [ -x /usr/sbin/lpd] /usr/sbin/lpd echo -n lpd --- *I started it with just a: --- /usr/sbin/lpd echo -n lpd --- *...real quick and then checked to see if it was running, and it was! *lpc status all - shows if the printer is recognized and up: --- freak: queuing is enabled printing is enabled no entries in spool area printer idle --- *So yay! He's up and going. Now to print to him I can just do: --- lpr -P freak whatever.txt --- *And it should print just fine. *I added the following lines in /usr/local/etc/smb.conf --- == I have not done this: --- #!/bin/sh [ -x /usr/sbin/lpd] /usr/sbin/lpd echo -n lpd --- does having lpd_enable=YES in /etc/rc.conf do the same? I modified permissions, but printer is not printing via firefox or command line :( Here's some output of what I got when I ran ./SETUP Please enter a printer queue name for printer 'ijs/DESKJET_812'. The default name is 'aps1'. Your choice: ijs/DESKJET_812 ** creating printcap entry for printer ijs/DESKJET_812... creating spooldir ... remember SETUP settings in printers apsfilterrc file... ** done. [ press RETURN to continue ] == A P S F I L T E R S E T U P -- MAIN MENUE -- == (D) Available Device Drivers in your gs binary (R) Read Ghostscript driver documentation(devices.txt) (1) Printer Driver Selection[ijs/DESKJET_812] (2) Interface Setup [parallel] (3) Paper Format[letter] (4) Printing Quality[draft] (5) Color Mode [full] (6) Print Resolution in dots per inch [300x300] (7) Default Printing Method [auto] (T) Print Test Page (V) View performance log (times of print attempts) (A) Abort installation (don't do anything) (I) == Install printer with values shown above - repeat this step for installing multiple printers (Q) == Finish installation Your choice? q Finished creating/updating /etc/printcap and /usr/local/etc/apsfilter/ ... To let the printer scheduler know of the new printers, it has to be restarted. Be sure that no print
Re: printing to a HP Deskjet 812C printer
@ all, I restarted machine and I can print from command line :) [olivares@quadcore ~/Documents]$ cat Document1.txt | lpr -P Deskjet [olivares@quadcore ~/Documents]$ lpq -a Deskjet: Deskjet is ready and printing Rank Owner Job Files Total Size active olivares 2(standard input) 10405 bytes [olivares@quadcore ~/Documents]$ Now how do I configure apps like Firefox, evince, LibreOffice to print? Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing to a HP Deskjet 812C printer
On Wed, Jul 27, 2011 at 8:05 PM, Antonio Olivares olivares14...@gmail.com wrote: @ all, I restarted machine and I can print from command line :) [olivares@quadcore ~/Documents]$ cat Document1.txt | lpr -P Deskjet [olivares@quadcore ~/Documents]$ lpq -a Deskjet: Deskjet is ready and printing Rank Owner Job Files Total Size active olivares 2 (standard input) 10405 bytes [olivares@quadcore ~/Documents]$ Now how do I configure apps like Firefox, evince, LibreOffice to print? Thanks, Antonio Ok I have figured it out :) I need to change `lpr` to `lpr -P Deskjet` and it will print. Thanks to all who have advised/helped me with this issue. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: HP Deskjet 9800 with hpijs driver
Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erin McNew wrote: I've been trying to get my photo printer working recently, and seem to have run into a bit of a snag. I just tried to print out a picture as a test, and instead of a picture, I got: PCL commands across the top of one page of photo paper, and the printer spewed the rest of my paper out empty (taught me an important lesson about testing without having large quantities of photo paper in the printer...) Anyway, I was looking on google, and I don't seem to see other people having this problem, but I'm not sure what I could've done wrong. I'm using the hpijs driver, which is supposed to work perfectly under linux, and works perfectly for my other hp printer. Is this printer just not supported by FreeBSD? I couldn't find anything that stated directly either way in my quick googling, so I was hoping somebody here might have some ideas for things to check, etc. My 6980 has the same problem with hpijs and hplip... try cups (it should autodetect) Printing under Linux and FreeBSD are for all practical purposes identical. If it works under Linux is should work under FreeBSD. Which printer spooler are you using LPD, LPRng, CUPS, HPLIP/CUPS or PDQ? I personally like to use native LPD spooler. Since your printer is supported by hpijs the driver is included in apsfilter (or apsfilter will install hpijs port by default) which you compile form ports /usr/ports/print/apsfilter lpd_enable=YES in /etc/rc.conf file Alter the permission so that the daemon can access the printer as /etc/devfs.conf perm lpt0 0666 #for parallel port printer perm ulpt0 0666 #for USB printer Then cd /usr/local/share/apsfilter and run the script ./SETUP The rest is self-explanatory. If you get a message about your version of ghostscript just ignore. You probably have much newer version of Ghostscript than apsfilter expect to find. The apsfilter is more than a filter. It will help you edit your printcup file, it will convert files to ps and finally it will let you choose the drivers . The only drivers which from the apsfilter list are gutenprint drivers. If you need them make sure your compile gutenprint with the tag without CUPS. || If you need more complicated printer policies you probably want to use LPRng or CUPS. This is the link to beautiful HPLIP how to http://dsteinbrook.googlepages.com/hpliponfreebsd Make sure you read the thing about the kernel. Bare in mind couple of thins. HPLIP does not support parallel port printers! Whatever they say on HPLIP forum is lie. They do not despite the fact that hpijs did. They support parallel port printers which are free standing printer servers via the web not by attaching them directly. The proper way to enable HPLIP is to start HPLIP daemons first and than CUPS daemon by let say editing /etc/rc.conf file and rebooting. The proper way to add the printer to HPLIP is to use CUPS http://localhost:631 and add the printer and then use HPLIP-toolbox and other goodies. HPLIP will just unlock full functionality of your printer. (Toner status, all in one devices etc) Do not forget to put lpd_enable=NO in /etc/rc.conf and hide native lp,lps,lpr,lpq commands so that you can use the same CUPS commands. If you need PPD file for your printer you can download from http://www.linux-foundation.org/en/OpenPrinting but you can also generate your own using foomantic-rip. I gave you sort of general how to. If you have more specific questions and can generate some log files that would help a lot. Cheers, Predrag - -- Aryeh M. Friedman Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHSm26J9+1V27SttsRAmvKAKCNmRnACVy4blTZ/VfTDCKHLa2tKQCfdhZD yn4yMOzU/5U4K65hG2Kljxg= =K2OD -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Deskjet 9800 with hpijs driver
On November 26, 2007 at 01:23AM Erin McNew wrote: I've been trying to get my photo printer working recently, and seem to have run into a bit of a snag. I just tried to print out a picture as a test, and instead of a picture, I got: PCL commands across the top of one page of photo paper, and the printer spewed the rest of my paper out empty (taught me an important lesson about testing without having large quantities of photo paper in the printer...) Anyway, I was looking on google, and I don't seem to see other people having this problem, but I'm not sure what I could've done wrong. I'm using the hpijs driver, which is supposed to work perfectly under linux, and works perfectly for my other hp printer. Is this printer just not supported by FreeBSD? I couldn't find anything that stated directly either way in my quick googling, so I was hoping somebody here might have some ideas for things to check, etc. Do you have the 'hplip' port installed (/print/hplip)? You can find information regarding it here: http://hplip.sourceforge.net/. I am presently using it with a C6180 and it works fine. It was the first time I got that machine to work right under anything but Windows. According to the web site, your printer is supported. You will need cups installed to make it all work correctly however, or at least I did. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Deskjet 9800 with hpijs driver
On Nov 25, 2007 11:27 PM, Matthias Apitz [EMAIL PROTECTED] wrote: El día Sunday, November 25, 2007 a las 10:23:05PM -0800, Erin McNew escribió: I've been trying to get my photo printer working recently, and seem to have run into a bit of a snag. I just tried to print out a picture as a test, and instead of a picture, I got: PCL commands across the top of one page of photo paper, and the printer spewed the rest of my paper out empty (taught me an important lesson about testing without having large quantities of photo paper in the printer...) Anyway, I was looking on google, and I don't seem to see other people having this problem, but I'm not sure what I could've done wrong. I'm using the hpijs driver, which is supposed to work perfectly under linux, and works perfectly for my other hp printer. Is this printer just not supported by FreeBSD? I couldn't find anything that stated directly either way in my quick googling, so I was hoping somebody here might have some ideas for things to check, etc. Thanks! ~TuxGirl Maybe it could help if you explain exactly how do you print the file, from command line or from some kind of application? The PCL across the top of one page, does it looks like stairs? I.e. does start the 2nd line where 1st line ends? matthias Ok. Let's see what other information I can provide. I was printing from the gimp. I looked at the printer setup, and it said that it was using lpr. As for the PCL, the first line was pretty short, and the second line did start indented. I don't recall if it started where the first ended, but if not, it was close to that. I couldn't see any further lines, but apparently there were more, as the printer kept spitting out pages... Thanks! ~Erin -- http://www.tuxgirl.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Deskjet 9800 with hpijs driver
On Mon, Nov 26, 2007 at 08:05:50AM -0800, Erin McNew wrote: Ok. Let's see what other information I can provide. I was printing from the gimp. I looked at the printer setup, and it said that it was using lpr. As for the PCL, the first line was pretty short, and the second line did start indented. I don't recall if it started where the first ended, but if not, it was close to that. I couldn't see any further lines, but apparently there were more, as the printer kept spitting out pages... The standard printer spooler (lpr) only recognizes a couple of ancient file types (dvi, ditroff etc). It dumps the input that it gets to a printer, without formatting it for a certain printer. That is the job of a spooler. I would suggest that you install the cups printer spooler in combination with the gutenprint printer driver. If you have those installed correctly, you should be able to select your printer from the gimp, and it should Just Work. You might also need the 'ppd' file for your printer from http://openprinting.org/show_printer.cgi?recnum=HP-DeskJet_9800. This file tells gutenprint what the capabilities of the printer are. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpO0tS08N06S.pgp Description: PGP signature
Re: HP Deskjet 9800 with hpijs driver
Erin McNew wrote: On Nov 25, 2007 11:27 PM, Matthias Apitz [EMAIL PROTECTED] wrote: El día Sunday, November 25, 2007 a las 10:23:05PM -0800, Erin McNew escribió: I've been trying to get my photo printer working recently, and seem to have run into a bit of a snag. I just tried to print out a picture as a test, and instead of a picture, I got: PCL commands across the top of one page of photo paper, and the printer spewed the rest of my paper out empty (taught me an important lesson about testing without having large quantities of photo paper in the printer...) Anyway, I was looking on google, and I don't seem to see other people having this problem, but I'm not sure what I could've done wrong. I'm using the hpijs driver, which is supposed to work perfectly under linux, and works perfectly for my other hp printer. Is this printer just not supported by FreeBSD? I couldn't find anything that stated directly either way in my quick googling, so I was hoping somebody here might have some ideas for things to check, etc. Thanks! ~TuxGirl Maybe it could help if you explain exactly how do you print the file, from command line or from some kind of application? The PCL across the top of one page, does it looks like stairs? I.e. does start the 2nd line where 1st line ends? matthias Ok. Let's see what other information I can provide. I was printing from the gimp. I looked at the printer setup, and it said that it was using lpr. As for the PCL, the first line was pretty short, and the second line did start indented. I don't recall if it started where the first ended, but if not, it was close to that. I couldn't see any further lines, but apparently there were more, as the printer kept spitting out pages... Thanks! ~Erin That is a probably a Gimp problem. You have to configure printing on Gimp before you start printing. What kind of ps filter does Gimp use? What happens when you manually pass your image through a2ps filter and try to print that ps file. Do you still have bad image? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP Deskjet 9800 with hpijs driver
I've been trying to get my photo printer working recently, and seem to have run into a bit of a snag. I just tried to print out a picture as a test, and instead of a picture, I got: PCL commands across the top of one page of photo paper, and the printer spewed the rest of my paper out empty (taught me an important lesson about testing without having large quantities of photo paper in the printer...) Anyway, I was looking on google, and I don't seem to see other people having this problem, but I'm not sure what I could've done wrong. I'm using the hpijs driver, which is supposed to work perfectly under linux, and works perfectly for my other hp printer. Is this printer just not supported by FreeBSD? I couldn't find anything that stated directly either way in my quick googling, so I was hoping somebody here might have some ideas for things to check, etc. Thanks! ~TuxGirl -- http://www.tuxgirl.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Deskjet 9800 with hpijs driver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erin McNew wrote: I've been trying to get my photo printer working recently, and seem to have run into a bit of a snag. I just tried to print out a picture as a test, and instead of a picture, I got: PCL commands across the top of one page of photo paper, and the printer spewed the rest of my paper out empty (taught me an important lesson about testing without having large quantities of photo paper in the printer...) Anyway, I was looking on google, and I don't seem to see other people having this problem, but I'm not sure what I could've done wrong. I'm using the hpijs driver, which is supposed to work perfectly under linux, and works perfectly for my other hp printer. Is this printer just not supported by FreeBSD? I couldn't find anything that stated directly either way in my quick googling, so I was hoping somebody here might have some ideas for things to check, etc. My 6980 has the same problem with hpijs and hplip... try cups (it should autodetect) - -- Aryeh M. Friedman Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHSm26J9+1V27SttsRAmvKAKCNmRnACVy4blTZ/VfTDCKHLa2tKQCfdhZD yn4yMOzU/5U4K65hG2Kljxg= =K2OD -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Deskjet 9800 with hpijs driver
El día Sunday, November 25, 2007 a las 10:23:05PM -0800, Erin McNew escribió: I've been trying to get my photo printer working recently, and seem to have run into a bit of a snag. I just tried to print out a picture as a test, and instead of a picture, I got: PCL commands across the top of one page of photo paper, and the printer spewed the rest of my paper out empty (taught me an important lesson about testing without having large quantities of photo paper in the printer...) Anyway, I was looking on google, and I don't seem to see other people having this problem, but I'm not sure what I could've done wrong. I'm using the hpijs driver, which is supposed to work perfectly under linux, and works perfectly for my other hp printer. Is this printer just not supported by FreeBSD? I couldn't find anything that stated directly either way in my quick googling, so I was hoping somebody here might have some ideas for things to check, etc. Thanks! ~TuxGirl Maybe it could help if you explain exactly how do you print the file, from command line or from some kind of application? The PCL across the top of one page, does it looks like stairs? I.e. does start the 2nd line where 1st line ends? matthias -- Matthias Apitz e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP deskjet 520
Hello, I am trying to configure my printer but i`m running into some trouble. The hand books talks about the polled and the interrupt driven mode. Some hp printers got problems with the interupt driven mode on the parallel port. The hand book comes with a sollution allthought they say that in some cases it`s not enough. I`ve did the thinge in order to come into the pollede mode but still my printer is not working. Does any one know what i can do more to come into the polled mode. The printer is printing some lines and then it blocks, weird. Thanks, justin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP Deskjet 720C ...
I cannot for the life of me get FreeBSD 6.1 to work with my HP Dekjet 720C printer. I've tried following the directions as given in the FreeBSD Handbook, but to no avail. Can anyone help me and/or offer tips where I can look? Thanks alot in advance. -- Kiffin Gish [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Deskjet 720C ...
--- Kiffin Gish [EMAIL PROTECTED] wrote: I cannot for the life of me get FreeBSD 6.1 to work with my HP Dekjet 720C printer. I've tried following the directions as given in the FreeBSD Handbook, but to no avail. Can anyone help me and/or offer tips where I can look? Did you try postscript printing with a2ps and LPD? If the printer listens at TCP port 515, then I think yo u are set. Make sure you have LPRng. To test that, just try telnet hp-printer-ip 515 and see if it connects. If that goes thro' you only have to export a shell variable and you can print. export [EMAIL PROTECTED] HTH, Girish Thanks alot in advance. -- Kiffin Gish [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Deskjet 720C ...
On Sunday 13 August 2006 12:27, Girish Venkatachalam wrote: Did you try postscript printing with a2ps and LPD? If the printer listens at TCP port 515, then I think yo u are set. Make sure you have LPRng. To test that, just try telnet hp-printer-ip 515 and see if it connects. If that goes thro' you only have to export a shell variable and you can print. export [EMAIL PROTECTED] FWIW an HP720c is bottom end inkjet, parallel only, windows GDI printer. -- Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Staircaseeffect with HP Deskjet Plus
On Fri, 14 Oct 2005 12:29:26 +0200, Stevan Tiefert [EMAIL PROTECTED] wrote: You didn't read the e-mail... :-( cyb schrieb: On Thu, 13 Oct 2005 13:03:08 +0200, Stevan Tiefert [EMAIL PROTECTED] wrote: Hello list, when I want to print an ASCII-text via lpr to my HP Deskjet Plus I got a staircaseeffect on my printer. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-advanced.html 9.4.1.3 Simulating PostScript on Non PostScript Printers Actually I did, did you read 9.4.1.3 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Staircaseeffect with HP Deskjet Plus
On 10/13/05, Stevan Tiefert [EMAIL PROTECTED] wrote: Hello list, when I want to print an ASCII-text via lpr to my HP Deskjet Plus I got a staircaseeffect on my printer. I asked HP for support but they answered: ... the support stopped nine years ago... Ups :-( I think that a solution with a2ps and gs is too crazy and too slow when I print a biiig manual-page. I expect that I need a specific input-filter for my printer. But which one? With regars Stevan Tiefert Sorry for the late reply. If you are just looking for filters that fix the staircase you can find four here: http://www.digitalissues.co.uk/html/os/unix/solaris.html Near the bottom of the page. awk, ruby, perl, and C. These where written for the lpsystem but will work fine with the BSD spooler and other print subsystems. Good luck, Rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Staircaseeffect with HP Deskjet Plus
Hello list, when I want to print an ASCII-text via lpr to my HP Deskjet Plus I got a staircaseeffect on my printer. I asked HP for support but they answered: ... the support stopped nine years ago... Ups :-( I think that a solution with a2ps and gs is too crazy and too slow when I print a biiig manual-page. I expect that I need a specific input-filter for my printer. But which one? With regars Stevan Tiefert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Staircaseeffect with HP Deskjet Plus
On Thu, 13 Oct 2005 13:03:08 +0200 Stevan Tiefert [EMAIL PROTECTED] wrote: Hello list, when I want to print an ASCII-text via lpr to my HP Deskjet Plus I got a staircaseeffect on my printer. I asked HP for support but they answered: ... the support stopped nine years ago... Ups :-( I think that a solution with a2ps and gs is too crazy and too slow when I print a biiig manual-page. I expect that I need a specific input-filter for my printer. But which one? With regars Stevan Tiefert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Stevan, You need to send the printer ESCk2G. Where ESC=escape. This sets NL=CR_NL. -- Michael Hughes Log Home living is the best [EMAIL PROTECTED] Temperatures: Outside: 53.5 House: 70.3 Computer room: 73.6 pgp3KAZtWZjbc.pgp Description: PGP signature
apsfilter and HP Deskjet 842c
I could print perfectly using apsfilter before I did a clean FreeBSD instalation and now something is not right, when I go through the setup program and I finally test a page the sheet of paper gets fed and looks like it starts printing and then everything freezes on my printer or it completely shuts down and it only turn on if I pull the plug. I'm using FBSD5.4. Has anyone ever had this problem? EJC www.only7bucks.com ___ Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! www.yahoo.com.br/messenger/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP Deskjet 720c won't print ...
I've been trying to get my hp deskjet 720c to print but nothing happens. I've followed step-by-step the instructions in the handbook, but when I run 'lptest /dev/lpt0' nothing happens. Here's my setup: ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: Parallel port bus on ppc0 And the '/boot/device.hints' file: hint.ppc.0.irq=7 What's wrong? -- Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Deskjet 720c won't print ...
On Sun, Sep 18, 2005 at 10:18:51AM +0200, Kiffin Gish wrote: I've been trying to get my hp deskjet 720c to print but nothing happens. I've followed step-by-step the instructions in the handbook, but when I run 'lptest /dev/lpt0' nothing happens. The handbook assumes that printers can print plain test. Het 720C can't. You need to install a printing formatter/spooler like apsfilter. You'll also need the pnm2ppa port. See http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_720C and http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/077001.html Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpT2CyFcPPoA.pgp Description: PGP signature
Re: CUPS hp deskjet driver install fails
--On Tuesday, June 07, 2005 20:09:32 -0400 Mike Jeays [EMAIL PROTECTED] wrote: I had a similar problem with a printer on the parallel port - the answer was the lptcontrol command, to switch it from interrupt to polled mode. Look at man lptcontrol. This was the perfect solution. Thanks. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CUPS hp deskjet driver install fails
I'm running 5.4 RELEASE. I installed cups, set up two printers (one hplj network printer and one hpdj parallel port printer) and printed test pages. The network printer printed a test page just fine. The parallel port deskjet printer took about 45 minutes to print a test page. Thinking it was a driver problem (I was using the standard cups driver), I installed print/hpijs using the WITH_CUPS=yes option. Then I started up print manager (in gnome2) to install the driver. It failed with an error - CUPS is installed differently than expected. There is no directory '/usr/share/cups/model'. There *is* a directory /usr/local/share/cups/model, so I created the /usr/share/cups directory and created a symlink in that directory to /usr/local/share/cups/model. I then attempted to install the driver again and got the following error message: Line longer than the maximum allowed (255 characters) at 1:'/usr/local/share/ppd/HP/HP-Deskjet_932C-hpijs.ppd.gz' (which is the driver I'm trying to install.) Does anyone have a suggestion for my next step? Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS hp deskjet driver install fails
On Tue, 2005-06-07 at 19:00, Paul Schmehl wrote: I'm running 5.4 RELEASE. I installed cups, set up two printers (one hplj network printer and one hpdj parallel port printer) and printed test pages. The network printer printed a test page just fine. The parallel port deskjet printer took about 45 minutes to print a test page. Thinking it was a driver problem (I was using the standard cups driver), I installed print/hpijs using the WITH_CUPS=yes option. Then I started up print manager (in gnome2) to install the driver. It failed with an error - CUPS is installed differently than expected. There is no directory '/usr/share/cups/model'. There *is* a directory /usr/local/share/cups/model, so I created the /usr/share/cups directory and created a symlink in that directory to /usr/local/share/cups/model. I then attempted to install the driver again and got the following error message: Line longer than the maximum allowed (255 characters) at 1:'/usr/local/share/ppd/HP/HP-Deskjet_932C-hpijs.ppd.gz' (which is the driver I'm trying to install.) Does anyone have a suggestion for my next step? Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I had a similar problem with a printer on the parallel port - the answer was the lptcontrol command, to switch it from interrupt to polled mode. Look at man lptcontrol. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS hp deskjet driver install fails
--On June 7, 2005 8:09:32 PM -0400 Mike Jeays [EMAIL PROTECTED] wrote: I had a similar problem with a printer on the parallel port - the answer was the lptcontrol command, to switch it from interrupt to polled mode. Look at man lptcontrol. Thanks. I'll take a look. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Duplex printing with HP DeskJet 6122
Having problems with getting my hp deskjet 6122 to print. Got as far as downlaoding the software but when it got to set up nothing happened. Can you help? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duplex printing with HP DeskJet 6122
it was said: Having problems with getting my hp deskjet 6122 to print. Got as far as downlaoding the software but when it got to set up nothing happened. Can you help? Hello, Sure! Check your configuration. You have something wrong. See http://www.lemis.com/questions.html for details. HTH Stheg __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DeskJet
On Tuesday 20 July 2004 21:22, Paulo Fonseca Jr. wrote: how to print easly with HP deskjet on freebsd5.1+kde3.1.2 ? Can anybody help me? Zumba. check out the CUPS port, /usr/ports/print/cups or the apsfilter port, /usr/ports/print/apsfilter. I prefer the latter, as it uses your native lpr/lpd. HTH -- Eric F Crist Keep your pecker hard and your powder dry, and the world WILL turn. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP DeskJet
how to print easly with HP deskjet on freebsd5.1+kde3.1.2 ? Can anybody help me? Zumba. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DeskJet
On Tuesday 20 July 2004 09:22 pm, Paulo Fonseca Jr. wrote: how to print easly with HP deskjet on freebsd5.1+kde3.1.2 ? Can anybody help me? Zumba. I use apsfilter. Better writers than myself have already contributed to the cause: http://www.onlamp.com/pub/a/bsd/2004/07/08/FreeBSD_Basics.html http://www.onlamp.com/pub/a/bsd/2003/11/06/Big_Scary_Daemons.html http://www.onlamp.com/pub/a/bsd/2004/02/05/Big_Scary_Daemons.html Best of luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP Deskjet 3820
Hey everyone I'm wondering if anyone else out there has a hp deskjet 3820, I can't seem to get the dpi right. I'm printing using cups I downloaded a ppd file for my printer from linuxprinting.org and selected it from the cups admin but it doesn't print I used the hp ppd that comes with cups and it prints but the dpi is so low everything looks like poop especially pictures. If anyone else out there has one of these printers or can lend some advice it would be greatly appreciated Best Regards Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Printing with HP Deskjet 3820
I'm trying to configure my Deskjet 3820 using CUPS but have a feeling I'm doing something wrong I installed cups went to http://localhost:631/admin and added a printer I'm not exactly sure if I did it right I got the directions from the freebsddiary but I entered /dev/lpt0 for location heres my dmesg output: lpt0: Printer on ppbus0 lpt0: Interrupt-driven port I did the ipp://localhost/ipp/ like in the freebsd diary and tryed printing a test page nothing happens though this is all I have done so far and would appreciate help regards -Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printing with HP Deskjet 3820
sd wrote: On Wednesday 28 January 2004 06:21 pm, paul wrote: I'm trying to configure my Deskjet 3820 using CUPS but have a feeling I'm doing something wrong I installed cups went to http://localhost:631/admin and added a printer I'm not exactly sure if I did it right I got the directions from the freebsddiary but I entered /dev/lpt0 for location heres my dmesg output: lpt0: Printer on ppbus0 lpt0: Interrupt-driven port --- Is your printer connected using USB? If so, check your /dev directory. I think the device is /dev/ulpt0 for a USB-connected printer. Steve Yes it is connected using USB I don't see a /dev/ulpt0 entry however ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: HP Deskjet 5150
I really need to know if my HP Deskjet 5150 works with freebsd, if not, i have to change it in 3 days, please help me! I've configured cups like it said in www.freebsddiary.org, with a difference, i dont have a compatible browser to What browser are you trying? I have had success with IE and Opera. You will need to change 2 places in the cups.conf file to access the web config from anywhere but localhost. adminsistrate cups, so i do these to add my printer in the server: /usr/sbin/lpadmin -p DeskJet -E -v usb:/dev/ulpt0 -m deskjet.ppd (is this correct?) I don't know, I have only used the web utility. Anything helpful appear in the logs? Is the daemon running? is this correct?! and when i access to CUPS with workstation i see the printer, but i can't print anything, neither from the server or from the workstation!!! Once you can print via CUPS, if you share it out via samba, on the client end you will need to add it like so: 1) Add new printer 2) Local Printer (not remote) 3) Specify new port 4) Dialog comes up, specify printer (i.e. \\printserver\PrintShare) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Printing with Samba an a HP Deskjet 870Cse
Hello, I've been struggling with this problem for the last week and I am close to getting it to work, but I seem to be missing something. I currently have a HP DeskJet 870Cse hooked up via lpt0 to FreeBSD 5.1 i386 machine. I can print text files via lpr with no problem. This is done through apsfilter. I have been able to print from other BSD machines on the network. However, when I try to print from my Windows 2000 Server machine, it fails. I have Samba installed on my print server and I can see the printer from explorer on my windows box, but any attempt to access them gives me a security error. I have tried using the wizard for setting up printers and it would complete successfully, however the test page would not print. The windows queue would state that the printer is either busy or was not allowed to print there. I suspect that there is some security protocol in Samba that I need to remove, but I don't know what that is... The logs from samba and the spools are empty. my /etc/printcap file: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL hp|hpdj/unspec;r=300x300;q=medium;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/hp870:\ :lf=/var/spool/lpd/hp870/log:\ :af=/var/spool/lpd/hp870/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this lp|windows|raw:\ :lp=/dev/lpt0:\ :sd=/var/spool/samba:\ :lf=/var/spool/samba/log:\ :af=/var/spool/samba/acct:\ :mx#0:\ :sf:\ :sh: my smb.conf file: [global] workgroup = WORK server string = printer hosts allow = 192.168.1. 127. load printers = yes printcap name = /etc/printcap printing = bsd guest account = root log file = /var/log/samba.log.%m max log size = 50 security = share socket options = TCP_NODELAY interfaces = 192.168.1.45 domain master = yes preferred master = yes dns proxy = no load printers = yes use client driver = yes show add printer wizard [homes] comment = Home Directories public = no browseable = no writeable = yes [printers] comment = HP DeskJet 870Cse path = /var/spool/samba browseable = yes public = yes printable = yes I have tried multiple combinations of variables in my smb.conf but have been unsuccessful. I've tried using some of the combinations found in various webpages, but it seems that most are out of date as their parameters for samba are deprecated. Any and all help is greatly appreciated. Thanks in advance. --Andy Clements ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duplex printing with HP DeskJet 6122
On Sun, 1 Jun 2003 07:36 pm, Sheldon Hearn wrote: Hi folks, We just got an HP DeskJet 6122 for printing Unix docs. It comes with a duplexing unit, which works when driven by the supplied Windows driver. However, I'd really rather have this thing connected to my FreeBSD workstation. I've tried CUPS and LPRng, and neither of the two support this printer's duplexing feature out of the box. Does anyone have any suggestions? http://www.linuxprinting.org Helps for FBSD as well. -- Regards, Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duplex printing with HP DeskJet 6122
On Sun, 1 Jun 2003 19:36, Sheldon Hearn wrote: Hi folks, We just got an HP DeskJet 6122 for printing Unix docs. It comes with a duplexing unit, which works when driven by the supplied Windows driver. However, I'd really rather have this thing connected to my FreeBSD workstation. I've tried CUPS and LPRng, and neither of the two support this printer's duplexing feature out of the box. Does anyone have any suggestions? Probably needs one or two PJL commands tacked on to the front of the print job and one or two more at the end to cancel the duplex. Have a look for the PJL commands supported by your printer -- try an HP web site -- and write a print filter that can add in the commands either by the selection of a duplex queue or by passing options to say LPRng with lpr -Z Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Duplex printing with HP DeskJet 6122
Hi folks, We just got an HP DeskJet 6122 for printing Unix docs. It comes with a duplexing unit, which works when driven by the supplied Windows driver. However, I'd really rather have this thing connected to my FreeBSD workstation. I've tried CUPS and LPRng, and neither of the two support this printer's duplexing feature out of the box. Does anyone have any suggestions? Ciao, Sheldon. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Printing to HP Deskjet 820
I'm trying to print to a Deskjet 820 (On /dev/lpt0, pdq, using pnm2ppa) pdq gives the following error: Unknown error globbing for job id. Undefined error: 0 I know from searching the archives that serveral others have had trouble with this printer, so I'm seeking mainly their help, if they ever actually got it working. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Trouble setting up HP Deskjet 855Cse printer
Hi, I have been trying to set up HP Deskjet 855Cse with my machine running FreeBSD 4.7-RELEASE for a couple days and having trouble getting anything better than garbage printout. Snippet from dmesg -a : ppc0: Parallel port at port 0x378-0x37f drq 1 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP Probing for PnP devices on ppbus0: ppbus0: HEWLETT-PACKARD DESKJET 850C PCL,MLC,PML plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Polled port ppi0: Parallel I/O on ppbus0 Since kernel now recognizes the printer and /dev/lpt0, I ran a couple simple tests by sending data to /dev/lpt0 directly like the handbook suggested, it worked although with horrible staircase effect. Then I activated lpd, and start printing using lpr as regular user, but I could not get anything meaningful other than garbage, be that plain text file or postscript, just some random ASCII chars on the page. I thought this might be filtering problem, so I installed apsfilter package from the ports collection using the distribution CD. Here's my /etc/printcap after going thru apsfilter SETUP : # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL wulfgar|cdj850;r=300x300;q=medium;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/wulfgar:\ :lf=/var/spool/lpd/wulfgar/log:\ :af=/var/spool/lpd/wulfgar/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this In the SETUP process, printing test page worked perfectly, I can see the usual 4 rectangle grid layout, complete with, font size testing,screening test, gamma test (tiger heads), geometric objects, and photo of Andreas Klemm. So I installed the setup into /etc/printcap and tried to print as regular user using lpr command some small PS files. It printed garbage, tried plain text file as well, same thing, garbage. Bothers me to no end, how come the test page is perfect but regular printing is screwed up totally ? Things I have tried so far : - Changing to interrupt mode (IRQ 7) and recompiled the kernel, same thing. - Disabled DMA specification (getting rid of drq 1), same thing. - Re-ran SETUP and printed test pages, all test pages printed perfectly. Fong _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [freebsd-questions] Trouble setting up HP Deskjet 855Cse printer
Yes, I did, as the entry was added by apsfilter SETUP script into /etc/printcap from the snippet I posted. again, this is the same /etc/printcap : # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL wulfgar|cdj850;r=300x300;q=medium;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/wulfgar:\ :lf=/var/spool/lpd/wulfgar/log:\ :af=/var/spool/lpd/wulfgar/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this Thanks, Fong From: Lowell Gilbert [EMAIL PROTECTED] To: Lin Jianfong [EMAIL PROTECTED] Subject: Re: [freebsd-questions] Trouble setting up HP Deskjet 855Cse printer Date: 15 Nov 2002 14:58:51 -0500 Lin Jianfong [EMAIL PROTECTED] writes: In the SETUP process, printing test page worked perfectly, I can see the usual 4 rectangle grid layout, complete with, font size testing,screening test, gamma test (tiger heads), geometric objects, and photo of Andreas Klemm. So I installed the setup into /etc/printcap and tried to print as regular user using lpr command some small PS files. It printed garbage, tried plain text file as well, same thing, garbage. Bothers me to no end, how come the test page is perfect but regular printing is screwed up totally ? Make sure you Install the filters from the menu of the setup program. _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message