[Samba] strange problem printing to windows box
Kovar_J at tese.cz
Wed Aug 28 03:52:13 GMT 2002
Connect the printer to Windows 98.
Unplug the printer and connect it to your linux box.
Setup samba to see the printer from Windows 98 on your samba server.
Go to printer settings in Windows 98 and change the port from LPT to
Use the real name of your linux box instead of linux a the real share name
instead of the lp.
Depends on how do you share it. Example from me \\jan\lp\
From: Rob Mahurin [mailto:rob at utk.edu]
Sent: Wednesday, August 28, 2002 2:03 PM
To: debian-user; samba at samba.org
Subject: [Samba] strange problem printing to windows box
My wife has just gotten a new printer which works perfectly when
connected either to her Win98 box or to my woody box. However I am
unable to share the printer between the two machines. Here are my
choices in order of increasing desireability.
I could of course just move the cable whenever I want to print from my
box. This is the obviously least desireable option.
The windows machine can see the printer shared from the woody box but
will not install Epson's driver on the network printer. (The printer
is an Epson Stylus Photo 820). Since the printer is for my wife's
home business (color flyers etc.) and the printer is hers I'd like to
leave it connected to her machine anyway.
The woody box can send documents to the windows box to print but their
tail ends get cut off. For example, "echo $(seq 1 2048) | lp"
correctly prints up to the line ending in 1921 (about halfway down the
second page). The line ending in 1938 is half-toned, as if the
printer should have gone over it again. After that nothing else
prints. Something similar happens with postscript files: a half-toned
strip followed by blank space before the page should end.
I have the most recent driver from Epson on the Windows box. I get
the same behavior with both lprng and CUPS (though the second is
nicer). Since the printer works locally that seems to mean that the
problem is in sending the file to print over SMB. Unfortunately I
don't know how to debug this any further or where the appropriate
place is to file a bug. Any help is welcome.
Debian versions of relevant packages:
Please CC to me as I'm not subscribed to either list.
I do enjoy a good long walk -- especially when my wife takes one.
More information about the samba