LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 08-23-2004, 09:08 AM   #1
Builder
Member
 
Registered: Jun 2004
Location: London
Distribution: Red Hat, SuSE, Gentoo
Posts: 80

Rep: Reputation: 15
Printing to FreeBSD print server running cups - odd problem


Hi all,

I've got a FreeBSD server acting as a print server for my wife and my laptops. We're both using OSX.

I have an odd problem with printing though... If I print something *from* the FreeBSD machine, and then start printing to it from the laptops, everything works fine. Things continue to work until I turn the printer off. When I next turn it on, I have to repeat this process.

If I just turn the printer on and attempt to print from one of the laptops, I just get page after page of what looks like garbage coming out. It's not quite postscript output... Kinda like when you viewed a binary using edit under MSDOS if that makes any sense ?

To send the initial print job, I log onto the FreeBSD server and do
lpr /etc/hosts
I want to be able to cut out this step for two reasons.

1. My wife doesn't really want to jump through this hoop
2. This wastes paper

I'm using FreeBSD 5.2.1 and Cups from ports.

Any ideas how to fix this ? Thanks in advance,
 
Old 08-23-2004, 11:59 PM   #2
TJandE
LQ Newbie
 
Registered: Mar 2004
Location: Washington State, USA
Distribution: FreeBSD, RedHat, & AIX
Posts: 22

Rep: Reputation: 15
This may be a dumb question, but are you sure that when you type lpr locally it's using the cups lpr and not the default FreeBSD lpr? When you install cups from ports it installs to /usr/local/bin, and there's usually a BSD styled lpr in /usr/bin, and you have to do some system magic to get cups to work properly locally. Also, what kind of printer is it?

Micah
 
Old 08-24-2004, 09:27 AM   #3
Builder
Member
 
Registered: Jun 2004
Location: London
Distribution: Red Hat, SuSE, Gentoo
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by TJandE
This may be a dumb question, but are you sure that when you type lpr locally it's using the cups lpr and not the default FreeBSD lpr? When you install cups from ports it installs to /usr/local/bin, and there's usually a BSD styled lpr in /usr/bin, and you have to do some system magic to get cups to work properly locally. Also, what kind of printer is it?

Micah
I'm definitely using the cups lpr. On the advice of a howto I read, I moved the system lpr, lpq, etc out of the path after installing cups.

The printer is an Epson Stylus CX3200
 
Old 08-24-2004, 12:10 PM   #4
TJandE
LQ Newbie
 
Registered: Mar 2004
Location: Washington State, USA
Distribution: FreeBSD, RedHat, & AIX
Posts: 22

Rep: Reputation: 15
Is it a USB or parport printer? If USB are you using /dev/ulpt or /dev/unlpt? Are you using Gimp Print, builtin CUPS or another driver?

What it sounds like is that when you print from FreeBSD it's sending out some initialization codes, which aren't being sent when printing from OSX (hence the gibberish). I haven't setup remote printing on CUPS yet, so I'm just going to offer some generic troubleshooting suggestions. First I'd wonder if maybe OSX is printing to CUPS either using a driver and sending native printer command when it should be sending postscript or it's sending postscript when it should be sending native printer commands. Do you see any log output on your FreeBSD box when printing remotely (check /var/log/cups/)?

Micah
 
Old 09-03-2004, 03:20 PM   #5
Esaltato
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
I have the same problem here, but with a win2k machine connected. I'm happy I'm not alone. Did you solve your problem?
 
Old 09-08-2004, 03:51 AM   #6
Builder
Member
 
Registered: Jun 2004
Location: London
Distribution: Red Hat, SuSE, Gentoo
Posts: 80

Original Poster
Rep: Reputation: 15
I'm afraid not yet I've not really had time to look into it though, as I've got end of year assignments due in, and work is quite manic.

I hope to have a look at it this weekend / next week, and I'll then update this thread.
 
Old 03-18-2005, 09:38 AM   #7
cyto
Member
 
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
Hi guys,

I have epson stylus cx3200 printer and i am thinking about running a print server using freebsd. Did you guys fix the problem? IF yes, How did you fix it? Thanks alot in advance


Cheers,
 
  


Reply



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
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Configuring CUPS printing through router w/ print server AIMath Linux - Networking 6 08-30-2004 11:51 PM
cups odd printing problems tm_burningdog Linux - Software 1 07-17-2004 10:47 PM
CUPS 1.1.20 networked print server permissions problem with SAMSUNG ML-1710 niverson Linux - Networking 0 11-28-2003 12:53 AM
Problem Printing to D-Link Print Server Marth Slackware 4 06-14-2003 04:35 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:58 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