Re: Question on LPD and OpenBSD printing

2012-04-05 Thread Jan Stary
On Apr 05 05:19:18, Girish Venkatachalam wrote: On Thu, Apr 5, 2012 at 4:46 AM, Jan Stary h...@stare.cz wrote: Nothing. Then something else is broken. Run lpd with -l to make sure that the print job at least made it to lpd as a request. If the queue clears that is what it means

Re: Question on LPD and OpenBSD printing

2012-04-05 Thread Abel Abraham Camarillo Ojeda
On Thu, Apr 5, 2012 at 3:39 AM, Jan Stary h...@stare.cz wrote: On Apr 05 05:19:18, Girish Venkatachalam wrote: On Thu, Apr 5, 2012 at 4:46 AM, Jan Stary h...@stare.cz wrote: Nothing. Then something else is broken. Run lpd with -l to make sure that the print job at least made it to

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Girish Venkatachalam
I mean HP m1213nf On Wed, Apr 4, 2012 at 8:35 PM, Girish Venkatachalam girishvenkatacha...@gmail.com wrote: Dear all, If this is OT kindly pardon me. I have a script based on Net::LPR. #!/usr/bin/perl -w use strict; use vars '@ARGV'; use Net::LPR; use IO::File; die usage: $0

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Jan Stary
On Apr 04 20:35:52, Girish Venkatachalam wrote: I have a script based on Net::LPR. I try this against a HP Professional m1213ncj printer and it does nothing. Before using the script, try to get it printing with just lpr. Is there a way to use netcat to print directly to the JetDirect port

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Girish Venkatachalam
On Wed, Apr 4, 2012 at 8:58 PM, Jan Stary h...@stare.cz wrote: I try this against a HP Professional m1213ncj printer and it does nothing. Before using the script, try to get it printing with just lpr. Failed. It is silent. nmap reports port as open, if I disable LPD script does not work, so

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Jan Stary
On Apr 04 21:03:11, Girish Venkatachalam wrote: On Wed, Apr 4, 2012 at 8:58 PM, Jan Stary h...@stare.cz wrote: I try this against a HP Professional m1213ncj printer and it does nothing. Before using the script, try to get it printing with just lpr. Failed. It is silent. What failed?

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Jan Stary
On Apr 04 21:54:30, Girish Venkatachalam wrote: On Wed, Apr 4, 2012 at 9:40 PM, Jan Stary h...@stare.cz wrote: Failed. It is silent. What failed? How does your /etc/printcap describe the printer? I just modified from the default remote printer commented out section. rm=ip lpr is

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Girish Venkatachalam
On 4/4/12, Jan Stary h...@stare.cz wrote: On Apr 04 21:54:30, Girish Venkatachalam wrote: On Wed, Apr 4, 2012 at 9:40 PM, Jan Stary h...@stare.cz wrote: Failed. It is silent. What failed? How does your /etc/printcap describe the printer? I just modified from the default remote printer

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Girish Venkatachalam
I don't want to use CUPS. I will also avoid LPRng. Please guide me. lpr command from Mac is working like a cake. It uses CUPS and IPP. -Girish On 4/4/12, Girish Venkatachalam girishvenkatacha...@gmail.com wrote: On 4/4/12, Jan Stary h...@stare.cz wrote: On Apr 04 21:54:30, Girish

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Jan Stary
On Apr 04 22:25:18, Girish Venkatachalam wrote: ftp://g3tech.in/printcap Sigh. Next time, please post the six damn lines inline. rp:HP PRinter:\ :lp=:rm=192.168.1.6:rp=lp:\ :af=/etc/foomatic/hp.ppd:\ :if=/usr/local/bin/foomatic-rip:\ :sd=/var/spool/output:\

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Girish Venkatachalam
On Wed, Apr 4, 2012 at 11:36 PM, Jan Stary h...@stare.cz wrote: On Apr 04 22:25:18, Girish Venkatachalam wrote: ftp://g3tech.in/printcap Sigh. Next time, please post the six damn lines inline. rp:HP PRinter:\ :lp=:rm=192.168.1.6:rp=lp:\ :af=/etc/foomatic/hp.ppd:\

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Geoff Steckel
On 04/04/2012 06:10 PM, Girish Venkatachalam wrote: Nothing. Okay I am giving up now. -Girish -- G3 Tech Networking appliance company web: http://g3tech.in mail: gir...@g3tech.in telnetprinter_ip_address 9100 %!PS (hi\n) print flush What does it do? If it echoes hi, then postscript

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Jan Stary
On Apr 05 03:40:22, Girish Venkatachalam wrote: On Wed, Apr 4, 2012 at 11:36 PM, Jan Stary h...@stare.cz wrote: On Apr 04 22:25:18, Girish Venkatachalam wrote: ftp://g3tech.in/printcap Sigh. Next time, please post the six damn lines inline. rp:HP PRinter:\

Re: Question on LPD and OpenBSD printing

2012-04-04 Thread Girish Venkatachalam
On Thu, Apr 5, 2012 at 4:46 AM, Jan Stary h...@stare.cz wrote: Nothing. Then something else is broken. Run lpd with -l to make sure that the print job at least made it to lpd as a request. If the queue clears that is what it means right? It does make it. I will also take a stab at the -l