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: libgimpprint1 4.2.2-pre2-1 samba 2.2.3a-6 Please CC to me as I'm not subscribed to either list. Rob -- I do enjoy a good long walk -- especially when my wife takes one. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020828/ccd9ac12/attachment.bin
Connect the printer to Windows 98. Install drivers. Test printing. 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 \\linux\lp 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\ Sincerelly Jan Kovar -----Original Message----- From: Rob Mahurin [mailto:rob@utk.edu] Sent: Wednesday, August 28, 2002 2:03 PM To: debian-user; samba@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: libgimpprint1 4.2.2-pre2-1 samba 2.2.3a-6 Please CC to me as I'm not subscribed to either list. Rob -- I do enjoy a good long walk -- especially when my wife takes one.
On Wed, Aug 28, 2002 at 03:00:19PM +0200, Kovar Jan wrote:> Connect the printer to Windows 98. > Install drivers. > Test printing. > 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 > \\linux\lpKovar, thanks for the reply. I had been trying to add a second printer on the windowsbo x rather than change the location of the first. Everything seems to work now: I can now print from either machine. However, this arrangement makes it _much_ slower to print from the windows machine, which is where 90% of the jobs will come from. So I'd like to move the printer to the windows box but I don't know how to debug this problem where pages sent from linux via SMB are truncated near the end. This seems a less common problem than simply having trouble getting printing to work at all, so I will re-post it to the lists. List folks please Cc: me as I'm not subscribed to either of them. Thanks again, Rob -- Amnesia used to be my favorite word, but then I forgot it. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020831/3f6b4e97/attachment.bin