I know nothing about cups.

Here is what I would do.

I would change the print command in my smb.conf to something like echo "have
printed this thing %s" > /tmp/junk

The file should be saved on your hard drive somewhere, in the spool directory
you made for it with the name %s.

Try cat'ing the file to /dev/lpX, and see if it prints properly. This will
bypass the cups printing software.

You might also try to figure out what cups is doing with this file after it
lands on your hard drive.

Joel

On Mon, Dec 09, 2002 at 03:39:08PM +1100, Stephen Kuhn wrote:
> On Mon, 2002-12-09 at 15:15, Joel Hammer wrote:
> > Just some random thoughts:
> > 
> > Do you know what commmand is actually being sent at the end of each line? Is
> > is really a newpage command?
> > 
> Yeppers, shore is...
> 
> > Is there a DIP switch on the printer that may affect this behavior?
> > 
> It's a WinPrinter - no such thing as a DIP on it...
> 
> > Does this happen when you attach the printer directly to a windows client?
> > 
> Nope. If I discon the prn from this box and stick it on a Win box, it's
> happy.
> 
> > Can you print successfully from the linux server to the printer?
> > 
> If I print directly from linux, it's happy. Prints directly from Win,
> it's happy. Print through SAMBA, it freaks out.
> 
> > Joel
> 
> -- 
> Mon Dec  9 15:35:00 EST 2002
>   3:35pm  up 19:20,  5 users,  load average: 0.00, 0.00, 0.07
> 
>    .o0 linux user:267497 0o.
> --------------------------------
> |            __    __          | k�hn media australia
> |           /  \ /| |'-.       | http://kma.0catch.com
> |          .\__/ || |   |      | 
> |       _ /  `._ \|_|_.-'      | stephen k�hn
> |      | /  \__.`=._) (_       |  email: [EMAIL PROTECTED]
> |      |/ ._/  |"""""""""|     |  email: [EMAIL PROTECTED]
> |      |'.  `\ |         |     |    icq: 5483808
> |      ;"""/ / |         |     |
> |  smk  ) /_/| |.-------.|     | mobile: 0410-728-389
> |      '  `-`' "         "     | Berkeley, New South Wales, AU
> --------------------------------
> Coralament*Best Gr�tens*Liebe Gr��e*Best Regards*Elkorajn Salutojn
> 
> Gumperson's Law:
>       The probability of a given event occurring is inversely
>       proportional to its desirability.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to