LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2002, 06:41 PM   #1
cboyd
LQ Newbie
 
Registered: Feb 2002
Distribution: Ubuntu Edgy Eft
Posts: 27

Rep: Reputation: 15
Trouble printing from Win2K to printer on linux box


I have an Epson printer connected to a linux box (SuSE 7.3). I can print locally with no problems. I have Samba running on the linux box and file sharing works fine, but the printing does not. When I try to print a test page from a networked Win2K box to the printer on the linux box, it fails. The windows machine actually reports the test page printed fine, but an email gets sent to the root account with an error message. Here is the message:

waiting for subserver to exit at 2002-03-03-17:19:52.124 ## A=<NULL> number=0 process=30563
subserver pid 30564 starting at 2002-03-03-17:19:52.235 ## A=root@linuxserv01+562 number=562 process=30564
opening device '/dev/lp0' at 2002-03-03-17:19:52.235 ## A=root@linuxserv01+562 number=562 process=30564
printing job 'root@linuxserv01+562' at 2002-03-03-17:19:52.235 ## A=root@linuxserv01+562 number=562 process=30564
processing 'dfA562linuxserv01.cboyd.net', size 5313, format 'l', IF filter 'y2prn_lp.upp--auto-lp' at 2002-03-03-17:19:52.235 ## A=root@linuxserv01+562 number=562 process=30564
IF filter 'y2prn_lp.upp--auto-lp' filter msg - 'a2ps: `Text' is a binary file, printing aborted' at 2002-03-03-17:19:52.496 ## A=root@linuxserv01+562 number=562 process=30564
IF filter 'y2prn_lp.upp--auto-lp' filter msg - '%%[ Error: typecheck; OffendingCommand: closefile ]%%' at 2002-03-03-17:19:52.647 ## A=root@linuxserv01+562 number=562 process=30564
IF filter 'y2prn_lp.upp--auto-lp' filter msg - 'GNU Ghostscript 6.51: Unrecoverable error, exit code 1' at 2002-03-03-17:19:52.647 ## A=root@linuxserv01+562 number=562 process=30564
IF filter 'y2prn_lp.upp--auto-lp' filter exit status 'JABORT' at 2002-03-03-17:19:52.671 ## A=root@linuxserv01+562 number=562 process=30564
printing finished at 2002-03-03-17:19:52.671 ## A=root@linuxserv01+562 number=562 process=30564
finished 'root@linuxserv01+562', status 'JABORT' at 2002-03-03-17:19:52.671 ## A=root@linuxserv01+562 number=562 process=30564
subserver pid 30564 exit status 'JABORT' at 2002-03-03-17:19:52.671 ## A=<NULL> number=0 process=30563
job 'cfA562linuxserv01.cboyd.net' error 'aborting operations' at 2002-03-03-17:19:52.678 ## A=<NULL> number=562 process=30563
sending mail to 'root' at 2002-03-03-17:19:52.678 ## A=<NULL> number=562 process=30563

Here is what my /etc/printcap file looks like:

lp-ascii|lp1|y2prn_lp.upp--ascii-lp|y2prn_lp.upp ascii:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/y2prn_lp.upp--ascii-lp:\
:lf=/var/spool/lpd/y2prn_lp.upp--ascii-lp/log:\
:af=/var/spool/lpd/y2prn_lp.upp--ascii-lp/acct:\
:if=/var/lib/apsfilter/bin/y2prn_lp.upp--ascii-lp:\
:la@:mx#0:\
:tr=:cl:sh:
#
lp|lp2|y2prn_lp.upp--auto-lp|y2prn_lp.upp auto:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/y2prn_lp.upp--auto-lp:\
:lf=/var/spool/lpd/y2prn_lp.upp--auto-lp/log:\
:af=/var/spool/lpd/y2prn_lp.upp--auto-lp/acct:\
:if=/var/lib/apsfilter/bin/y2prn_lp.upp--auto-lp:\
:la@:mx#0:\
:tr=:cl:sh:
#
lp-raw|lp3|y2prn_lp.upp--raw-lp|y2prn_lp.upp raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/y2prn_lp.upp--raw-lp:\
:lf=/var/spool/lpd/y2prn_lp.upp--raw-lp/log:\
:af=/var/spool/lpd/y2prn_lp.upp--raw-lp/acct:\
:if=/var/lib/apsfilter/bin/y2prn_lp.upp--raw-lp:\
:la@:mx#0:\
:tr=:cl:sh:
#

Here is the printer section in my smb.conf file:

[epson]
comment = Epson Printer
security = user
path = /var/spool/lpd/y2prn_lp.upp--auto-lp
printer name = lp
writable = yes
public = yes
printable = yes
print command = lpr -r -h -P %p %s

Does anyone know what could be happening??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing to Win2K shared Printer pstoddard Linux - Wireless Networking 1 05-15-2004 04:13 AM
Samba... Printing to Win2k shared printer. buckinpgh Linux - Networking 1 10-15-2003 05:59 PM
Win2K can see RH9 box, can't see printer wjn Linux - Networking 8 09-17-2003 01:51 PM
Printing from RedHat box to Windows printer... notoneword Linux - Networking 1 11-29-2002 08:52 PM
Sharing a Win2k printer on a Nix box bripage Linux - Networking 0 01-29-2002 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration