LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-18-2008, 04:06 PM   #1
cahalsall
LQ Newbie
 
Registered: Jan 2006
Location: Belmopan, Belize, Central America
Distribution: Centos, FreeBSD
Posts: 23

Rep: Reputation: 1
Redirected lpt printer port via samba on Fedora 9


I use shared printers on my fedora box to serve redirected lpt printer ports, used by a couple of DOS applications, on my windows boxes. I did this with FC5, FC6, and Fedora 7 without any problems. I did no use Fedora 8, I skipped to Fedora 9.

This was the first time I installed such a recent release of any linux distribution. I expected a few issues and have solved all of them, so far, with the exception of the redirected Lpt printer port problem. On my windows boxes I use the following net use commands to redirect my printer ports:

Code:
net use lpt2 \\servername\epsonSoandSoPrinter
net use lpt3 \\servername\hpSoandSoPrinter
This have always worked. Jobs sent to these ports, whether from the command prompt or any DOS application, printed almost immediately. They now print but there is a delay of about 60 seconds.

I've been over all my settings and configuration files, several times, to see if I have done anything differently or if anything has to be done differently, to no avail. Has anyone else come across this problem?
 
Old 08-18-2008, 04:34 PM   #2
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
are the same printer servers used on FC7 and FC9??

I have not used FC7 but use FC8 with CUPS. could it be that something like LPSCHED was used on FC7 ??
 
Old 08-18-2008, 11:04 PM   #3
cahalsall
LQ Newbie
 
Registered: Jan 2006
Location: Belmopan, Belize, Central America
Distribution: Centos, FreeBSD
Posts: 23

Original Poster
Rep: Reputation: 1
It's the same network. I just wanted to upgrade my linux box. Been hearing a lot about improvements in Fedora 8 and Fedora 9

I'm not sure if LPSCHED is an issue here but could just well be. Some changes can baffle if you are not able to dig down deep into the innards of Linux. One of those changes gave me a very hard time but I was able, in the end to solve the problem, thanks to forums like these. That particular change did not allow my Windows 3.11/95/98se and OS2 warp virtual machines to log in to samba on Fedora 9. The fix for that was to ad these few lines to the global section in the smb.conf file:

Code:
;Next 3 Entries added to Dos/Windows3.1/Windows9x/OS2 support
        lanman auth = Yes
;       client plaintext auth = Yes # I did no need this
        client lanman auth = Yes
These settings, apparently were set by default in previous versions of samba, but are not now. It could be that a change similar to the above mentioned one is affecting Samba and/or Cups.

Last edited by cahalsall; 08-19-2008 at 03:24 PM.
 
Old 08-19-2008, 06:50 AM   #4
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
like I said, has the print server changed?

what are you using and what were you using before?
 
Old 08-19-2008, 03:22 PM   #5
cahalsall
LQ Newbie
 
Registered: Jan 2006
Location: Belmopan, Belize, Central America
Distribution: Centos, FreeBSD
Posts: 23

Original Poster
Rep: Reputation: 1
It's the same network (same machines, same print servers, etc.) The only change was the version of Fedora on the linux box, which is also my main server.

Last edited by cahalsall; 08-19-2008 at 03:30 PM.
 
Old 08-19-2008, 03:24 PM   #6
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
but WHAT were the servers ... specify them

OMG

I give up on this thread.
 
Old 08-19-2008, 05:16 PM   #7
cahalsall
LQ Newbie
 
Registered: Jan 2006
Location: Belmopan, Belize, Central America
Distribution: Centos, FreeBSD
Posts: 23

Original Poster
Rep: Reputation: 1
I'm not sure that your insistence on what print servers used is relevant. But if you insist these are the the print servers I'm using:

HP LaserJet P3005
HP LaserJet 2200
Hp Color LaserJet 2600n

CNet CNP430 3 port print server with two Epson Printers
Epson FX 2190
Epson LQ 2090
 
Old 08-20-2008, 12:35 PM   #8
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
they are not printer servers

the printer server is a machine (local or remote) that runs a daemon (service) through which print jobs are queued and dispatched to a printer.

my rationale is that perhaps your older O/S install used a different service (say lpsched) and now you are using cups. in any event, the starting point is to establish what print service you are using and then debug the various config and system settings, to identify the root cause to effect.

but if you dont want to help me to help you, then I cant be bothered either.

ce ya.

Last edited by keratos; 08-20-2008 at 12:37 PM.
 
Old 08-20-2008, 04:44 PM   #9
cahalsall
LQ Newbie
 
Registered: Jan 2006
Location: Belmopan, Belize, Central America
Distribution: Centos, FreeBSD
Posts: 23

Original Poster
Rep: Reputation: 1
Thanks for your interest.

Both machine configuration, the previous Fedora 7 and the Current Fedora 9 use CUPs. All my Fedora installations, since Fedora Core 5 used CUPs. Even my Debian Installations Use Cups. In my brief exposure to Linux I have only used CUPs.

Below are portions of both Fedora's smb.conf files

Code:
smb.conf FEDORA 9
[global]
        workgroup = DHOPI
        netbios name = NASHIRA
        server string = fedora 9
;       server string = Samba Server Version %v
;       encrypt password = Yes
        username map = /etc/samba/smbusers

;Next 3 Entries added to Dos/Windows3.1/Windows9x/OS2 support
        lanman auth = Yes
;       client plaintext auth = Yes # May not be needed
        client lanman auth = Yes

        printing = cups
        printcap name = cups
        disable spoolss = Yes
        show add printer wizard = No

;------------------------------------------------------
; other entries ***************************
;------------------------------------------------------

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        use client driver = Yes
        browseable = No
        guest ok = no



smb.conf FEDORA 7
[global]
        workgroup = DHOPI
        netbios name = NASHIRA
        server string = fedora 7
;       server string = Samba Server Version %v
        username map = /etc/samba/smbusers
        printcap name = cups
        disable spoolss = Yes
        show add printer wizard = No

;------------------------------------------------------
; other entries ***************************
;------------------------------------------------------

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        use client driver = Yes
        browseable = No
        guest ok = no
If you need any additional information, feel free to ask for it.
 
Old 09-22-2008, 09:25 PM   #10
cahalsall
LQ Newbie
 
Registered: Jan 2006
Location: Belmopan, Belize, Central America
Distribution: Centos, FreeBSD
Posts: 23

Original Poster
Rep: Reputation: 1
The problem sorted Itself out. The last update cured the problem. I would still like to know what was causing the problem, however.
 
  


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
Local LPT Port Redirect to Network Printer miker9 Linux - Hardware 1 05-15-2008 06:39 PM
LPT port disapeared viperuk Debian 0 01-16-2008 05:51 AM
[how] Install a parallel Port (LPT) tneto Mandriva 4 12-28-2005 08:15 PM
Samba LPT printer cb9fl Linux - Networking 1 03-16-2005 12:03 PM
No LPT port for printer!! akudewan Linux - Hardware 2 08-20-2004 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:35 PM.

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