|
Home > Archive > alt.os.linux > October 2002 > Print to Windows machine: problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Print to Windows machine: problem
|
|
| TeGGeR 2002-09-30, 12:29 am |
| I must be really stupid or something. I've been trying for days (on and
off) to print from a RedHat 7.2 box to a Win98 one with an HP692C on it.
The Win98 box (\\printer\hp) serves up the printer just fine to two
Windows clients, but somehow this Linux machine refuses to see it. Other
communication with the Win98 box is fine.
I'm using the latest foomatic (20020719), hpijs server & driver (1.2.2),
LPRng (3.7.4), ghostscript (7.05).
hpijs -h returns the server name as it should.
gs -h returns ghostscript info correctly.
Oddly, printing from gedit is just fine. Printing from any other app or
from the command line results in nothing at all at the printer. Gedit
uses something it calls a "Generic Postscript" printer, and reports to lpr.
I've gone through the Printing to Windows mini-howto, the printcap
readme, configured all the config (and .config!) files I can find, and
it just won't work.
I am fairly sure that it is never looking in the correct place at all,
telling me that it can't find the printer //printer/hp@localhost. My
host name is tegger, not localhost, although that name remains in my
hosts file next to 127.0.0.1.I also get "error code from server" "ack
fail" and "bad printer name". force_localhost@ has been tried both on
and off. No effect either way.
Here are the current contents of the printcap file, but these are by no
means the ONLY settings I've tried. The lower of the two is actually the
correct driver as far as I understand.
Running checkpc -f -V shows no errors.
hp|lpr:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/hp:\
:af=/var/spool/lpd/hp/hp.acct:\
:sh:\
:lp=|/usr/share/printconf/util/smbprint:\
:lpd_bounce=true:\
:if=/usr/share/printconf/util/mf_wrapper:
##############################
##############################
###################
## Everything below here is included verbatim from /etc/printcap.local
##
##############################
##############################
###################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
# HP DeskJet 692C
lp|hp692c:\
:sd=/var/spool/lpd/hp692c:\
:mx#0:\
:sh:\
:if=/usr/share/foomatic/db/compiled/combo/hpijs/249705.xml:\
:lp=/dev/null:\
:sv=//printer/hp:
Typical error from status.hp692c:
job cfA158localhost.localdomain' error 'aborting operations' at 2002
-09-29-12:03.330 ## A=<NULL> number=158 process=30159
removing job 'cfA158localhost.localdomain' - ABORT at 2002
-09-29-12:03.330 ## A=<NULL> number=158 process=30159
Any ideas? I feel quite defeated just now, and it's late. I'm going to bed.
--
TeGGeR®
| |
| Sybren 2002-09-30, 12:29 am |
| TeGGeR wrote:
> I must be really stupid or something. I've been trying for days (on and
> off) to print from a RedHat 7.2 box to a Win98 one with an HP692C on it.
<snip>
> Any ideas? I feel quite defeated just now, and it's late. I'm going to
> bed.
Sweet dreams. When you wake up again, try cups (www.cups.org), it's easy to
setup through a web-client and it has yet to fail me.
Sybren
| |
| Sybren 2002-09-30, 1:29 am |
| TeGGeR wrote:
> I must be really stupid or something. I've been trying for days (on and
> off) to print from a RedHat 7.2 box to a Win98 one with an HP692C on it.
<snip>
> Any ideas? I feel quite defeated just now, and it's late. I'm going to
> bed.
Sweet dreams. When you wake up again, try cups (www.cups.org), it's easy to
setup through a web-client and it has yet to fail me.
Sybren
| |
| Lee Bouknight 2002-09-30, 10:29 pm |
| TeGGeR wrote:
> I must be really stupid or something. I've been trying for days (on and
> off) to print from a RedHat 7.2 box to a Win98 one with an HP692C on it.
>
> The Win98 box (\\printer\hp) serves up the printer just fine to two
> Windows clients, but somehow this Linux machine refuses to see it. Other
> communication with the Win98 box is fine.
>
> I'm using the latest foomatic (20020719), hpijs server & driver (1.2.2),
> LPRng (3.7.4), ghostscript (7.05).
> hpijs -h returns the server name as it should.
> gs -h returns ghostscript info correctly.
>
> Oddly, printing from gedit is just fine. Printing from any other app or
> from the command line results in nothing at all at the printer. Gedit
> uses something it calls a "Generic Postscript" printer, and reports to
> lpr.
>
> I've gone through the Printing to Windows mini-howto, the printcap
> readme, configured all the config (and .config!) files I can find, and
> it just won't work.
>
> I am fairly sure that it is never looking in the correct place at all,
> telling me that it can't find the printer //printer/hp@localhost. My
> host name is tegger, not localhost, although that name remains in my
> hosts file next to 127.0.0.1.I also get "error code from server" "ack
> fail" and "bad printer name". force_localhost@ has been tried both on
> and off. No effect either way.
>
> Here are the current contents of the printcap file, but these are by no
> means the ONLY settings I've tried. The lower of the two is actually the
> correct driver as far as I understand.
>
> Running checkpc -f -V shows no errors.
>
> hp|lpr:\
> :ml=0:\
> :mx=0:\
> :sd=/var/spool/lpd/hp:\
> :af=/var/spool/lpd/hp/hp.acct:\
> :sh:\
> :lp=|/usr/share/printconf/util/smbprint:\
> :lpd_bounce=true:\
> :if=/usr/share/printconf/util/mf_wrapper:
>
>
##############################
##############################
###################
> ## Everything below here is included verbatim from /etc/printcap.local
> ##
>
##############################
##############################
###################
> # printcap.local
> #
> # This file is included by printconf's generated printcap,
> # and can be used to specify custom hand edited printers.
>
> # HP DeskJet 692C
>
> lp|hp692c:\
> :sd=/var/spool/lpd/hp692c:\
> :mx#0:\
> :sh:\
> :if=/usr/share/foomatic/db/compiled/combo/hpijs/249705.xml:\
> :lp=/dev/null:\
> :sv=//printer/hp:
>
>
> Typical error from status.hp692c:
>
> job cfA158localhost.localdomain' error 'aborting operations' at 2002
> -09-29-12:03.330 ## A=<NULL> number=158 process=30159
> removing job 'cfA158localhost.localdomain' - ABORT at 2002
> -09-29-12:03.330 ## A=<NULL> number=158 process=30159
>
>
> Any ideas? I feel quite defeated just now, and it's late. I'm going to
> bed.
I'm having almost exactly the same problem (one of many, but getting there).
Only difference is mine is an Epson printer - otherwise, no-go. I've tried
lpd and CUPS, but to no avail. The printer just sits there and mocks
me...Love to here the answer to this one.
| |
| Lee Bouknight 2002-09-30, 11:29 pm |
| TeGGeR wrote:
> I must be really stupid or something. I've been trying for days (on and
> off) to print from a RedHat 7.2 box to a Win98 one with an HP692C on it.
>
> The Win98 box (\\printer\hp) serves up the printer just fine to two
> Windows clients, but somehow this Linux machine refuses to see it. Other
> communication with the Win98 box is fine.
>
> I'm using the latest foomatic (20020719), hpijs server & driver (1.2.2),
> LPRng (3.7.4), ghostscript (7.05).
> hpijs -h returns the server name as it should.
> gs -h returns ghostscript info correctly.
>
> Oddly, printing from gedit is just fine. Printing from any other app or
> from the command line results in nothing at all at the printer. Gedit
> uses something it calls a "Generic Postscript" printer, and reports to
> lpr.
>
> I've gone through the Printing to Windows mini-howto, the printcap
> readme, configured all the config (and .config!) files I can find, and
> it just won't work.
>
> I am fairly sure that it is never looking in the correct place at all,
> telling me that it can't find the printer //printer/hp@localhost. My
> host name is tegger, not localhost, although that name remains in my
> hosts file next to 127.0.0.1.I also get "error code from server" "ack
> fail" and "bad printer name". force_localhost@ has been tried both on
> and off. No effect either way.
>
> Here are the current contents of the printcap file, but these are by no
> means the ONLY settings I've tried. The lower of the two is actually the
> correct driver as far as I understand.
>
> Running checkpc -f -V shows no errors.
>
> hp|lpr:\
> :ml=0:\
> :mx=0:\
> :sd=/var/spool/lpd/hp:\
> :af=/var/spool/lpd/hp/hp.acct:\
> :sh:\
> :lp=|/usr/share/printconf/util/smbprint:\
> :lpd_bounce=true:\
> :if=/usr/share/printconf/util/mf_wrapper:
>
>
##############################
##############################
###################
> ## Everything below here is included verbatim from /etc/printcap.local
> ##
>
##############################
##############################
###################
> # printcap.local
> #
> # This file is included by printconf's generated printcap,
> # and can be used to specify custom hand edited printers.
>
> # HP DeskJet 692C
>
> lp|hp692c:\
> :sd=/var/spool/lpd/hp692c:\
> :mx#0:\
> :sh:\
> :if=/usr/share/foomatic/db/compiled/combo/hpijs/249705.xml:\
> :lp=/dev/null:\
> :sv=//printer/hp:
>
>
> Typical error from status.hp692c:
>
> job cfA158localhost.localdomain' error 'aborting operations' at 2002
> -09-29-12:03.330 ## A=<NULL> number=158 process=30159
> removing job 'cfA158localhost.localdomain' - ABORT at 2002
> -09-29-12:03.330 ## A=<NULL> number=158 process=30159
>
>
> Any ideas? I feel quite defeated just now, and it's late. I'm going to
> bed.
I'm having almost exactly the same problem (one of many, but getting there).
Only difference is mine is an Epson printer - otherwise, no-go. I've tried
lpd and CUPS, but to no avail. The printer just sits there and mocks
me...Love to here the answer to this one.
| |
| Cheech 2002-10-02, 12:51 pm |
| Lee Bouknight wrote:
> TeGGeR wrote:
>
>
>>I must be really stupid or something. I've been trying for days (on and
>>off) to print from a RedHat 7.2 box to a Win98 one with an HP692C on it.
>>
>>The Win98 box (\\printer\hp) serves up the printer just fine to two
>>Windows clients, but somehow this Linux machine refuses to see it. Other
>>communication with the Win98 box is fine.
>>
>>I'm using the latest foomatic (20020719), hpijs server & driver (1.2.2),
>>LPRng (3.7.4), ghostscript (7.05).
>>hpijs -h returns the server name as it should.
>>gs -h returns ghostscript info correctly.
>>
>>Oddly, printing from gedit is just fine. Printing from any other app or
>>from the command line results in nothing at all at the printer. Gedit
>>uses something it calls a "Generic Postscript" printer, and reports to
>>lpr.
>>
>>I've gone through the Printing to Windows mini-howto, the printcap
>>readme, configured all the config (and .config!) files I can find, and
>>it just won't work.
>>
>>I am fairly sure that it is never looking in the correct place at all,
>>telling me that it can't find the printer //printer/hp@localhost. My
>>host name is tegger, not localhost, although that name remains in my
>>hosts file next to 127.0.0.1.I also get "error code from server" "ack
>>fail" and "bad printer name". force_localhost@ has been tried both on
>>and off. No effect either way.
>>
>>Here are the current contents of the printcap file, but these are by no
>>means the ONLY settings I've tried. The lower of the two is actually the
>>correct driver as far as I understand.
>>
>>Running checkpc -f -V shows no errors.
>>
>>hp|lpr:\
>>:ml=0:\
>>:mx=0:\
>>:sd=/var/spool/lpd/hp:\
>>:af=/var/spool/lpd/hp/hp.acct:\
>>:sh:\
>>:lp=|/usr/share/printconf/util/smbprint:\
>>:lpd_bounce=true:\
>>:if=/usr/share/printconf/util/mf_wrapper:
>>
>>
>
> ##############################
##############################
###################
>
>>## Everything below here is included verbatim from /etc/printcap.local
>> ##
>>
>
> ##############################
##############################
###################
>
>># printcap.local
>>#
>># This file is included by printconf's generated printcap,
>># and can be used to specify custom hand edited printers.
>>
>># HP DeskJet 692C
>>
>>lp|hp692c:\
>> :sd=/var/spool/lpd/hp692c:\
>> :mx#0:\
>> :sh:\
>> :if=/usr/share/foomatic/db/compiled/combo/hpijs/249705.xml:\
>> :lp=/dev/null:\
>> :sv=//printer/hp:
>>
>>
>>Typical error from status.hp692c:
>>
>>job cfA158localhost.localdomain' error 'aborting operations' at 2002
>>-09-29-12:03.330 ## A=<NULL> number=158 process=30159
>>removing job 'cfA158localhost.localdomain' - ABORT at 2002
>>-09-29-12:03.330 ## A=<NULL> number=158 process=30159
>>
>>
>>Any ideas? I feel quite defeated just now, and it's late. I'm going to
>>bed.
>
>
> I'm having almost exactly the same problem (one of many, but getting there).
> Only difference is mine is an Epson printer - otherwise, no-go. I've tried
> lpd and CUPS, but to no avail. The printer just sits there and mocks
> me...Love to here the answer to this one.
I too, will love to hear the answer. I can actually get my printer to
print a message saying it can't print the file. Duh?
| |
| TeGGeR 2002-10-04, 6:25 am |
| Sybren wrote:
> TeGGeR wrote:
>
>
>>I must be really stupid or something. I've been trying for days (on and
>>off) to print from a RedHat 7.2 box to a Win98 one with an HP692C on it.
>
> <snip>
>
>>Any ideas? I feel quite defeated just now, and it's late. I'm going to
>>bed.
>
>
> Sweet dreams. When you wake up again, try cups (www.cups.org), it's easy to
> setup through a web-client and it has yet to fail me.
Thanks. It's taken me a while to get back to this issue, but I'm now
getting response from the Windows printer machine. Now the problem seems
to be driver related. This is an HP DeskJet 692C.
I've tried the newest hpijs, upgrading gs to version 7.05 (making sure
I've got support for ijs), various drivers (like the foomatic ones) for
this printer. some will cause the printer to spit out several blank
pages, others result in a "cancelled" message in the cups GUI.
Setting the driver to "raw" will allow plain text only to print.
Windows clients use this printer with no trouble.
What a puzzle!
--
TeGGeR®
"I just love watching earthlings, don't you? Man is my
favorite insect."
--Marvin the Martian
|
|
|
|
|