[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to print on shared Windows printers from debian?



-----Original Message-----
From: kerkhoff@uniserve.com <kerkhoff@uniserve.com>
To: Ramin Motakef <ramin@uni-oldenburg.de>
Cc: wzab@ise.pw.edu.pl <wzab@ise.pw.edu.pl>; debian-user@lists.debian.org
<debian-user@lists.debian.org>
Date: Wednesday, June 09, 1999 10:27 PM
Subject: Re: How to print on shared Windows printers from debian?


|When I just tried printing a text file to a HP Deskjet 690C on a win95
|box, and got a print out like this:
|
|First line starts where it is supposed to be
|                     Second line is a couple of inches in, when it is
|supposed to be left.
|
|
|Why would it print like this?

It's printing like that because Linux uses a line feed as the end of line,
but your printer is expecting a line feed + carriage return as the end of
line (which is what DOS/Windows does).  Simple to fix - before you print
your file, do a: 'unix2dos myfile'.

|
|> $ smbclient //server/printer
|> > print myfile
|>
|> you can use the example script in /usr/doc/samba-doc/examples/printing
|> to automate printing.
|
|--
|Wim Kerkhoff
|kerkhoff@uniserve.com
|www.canadianhomes.net/wim


---
Mark Wright
mwright@pro-ns.net
mark_wright@datacard.com




Reply to: