LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-30-2008, 07:51 AM   #1
hobey
LQ Newbie
 
Registered: Feb 2006
Distribution: SuSE 10.0
Posts: 17

Rep: Reputation: 0
duplex mode on lpd network printer


Hello all, this seems trivial but I've been googling for quite a while to no avail. On my OpenSUSE 10.3 computer, I need to configure a queue for a printer which is connected to an LPD print server. According to http://en.opensuse.org/YaST_Printer, "local filtering" should not be used in this case; this works fine, except it seems impossible to enable duplex printing. If on the other hand I do enable "local filtering" and select the appropriate PPD file for the exact printer model, I get nothing but ASCII gibberish printouts.

I guess I must be missing something obvious , but then I've asked the network admins here and they have no clue either... So I'm asking you : Do I need "local filtering" to access duplex mode, yes or no? And if yes, what else must I change so I don't get alphabet soup from the printer? Thanks in advance...
 
Old 01-30-2008, 08:45 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,248
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Could clue us in on what printer we are talking about here....

What print driver and setup are you selecting (gutenprint, gimpprint, foomatic, postscript, what other options are selected ?)

Where did you get the ppd file from (from the Manufacturers Driver disk ? Internet download ?)

Does the printer support Postscript, PCL, Proprietary of some sort ?

hard to tell you what you need to change when we don't know what you are currently using..
 
Old 01-30-2008, 09:40 AM   #3
hobey
LQ Newbie
 
Registered: Feb 2006
Distribution: SuSE 10.0
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
Could clue us in on what printer we are talking about here....
HP LaserJet 9040

Quote:
Originally Posted by farslayer View Post
What print driver and setup are you selecting (gutenprint, gimpprint, foomatic, postscript, what other options are selected ?)

Where did you get the ppd file from (from the Manufacturers Driver disk ? Internet download ?)
PPD files shipped with OpenSUSE 10.3 distro. I tried both
HP LaserJet 9040 Postscript (recommended) (manufacturer-PPDs/hp/HP_LaserJet_9040.ppd.gz)
and
HP LaserJet 9040 Foomatic/hpijs (manufacturer-PPDs/hplip/HP-LaserJet_9040-hpijs.ppd.gz)
The result was exactly the same in both cases.

Quote:
Originally Posted by farslayer View Post
Does the printer support Postscript, PCL, Proprietary of some sort ?
According to manufacturer website:
HP PCL 6, HP PCL 5e, HP Postscript Level 3 emulation, direct PDF printing (v 1.3) with at least 128 MB memory enabled, XHTML-Print v 0.95, HP PJL (Printer Job Language), PML (Printer Management Language)
 
Old 01-30-2008, 10:15 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,248
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
when you configured your lp printing.. what queue are you sending the jobs to ?
I'm assuming since you have a HPLJ 9040 you are using the internal HP Jetdirect card in the printer, no ?

you should be submitting jobs to the raw queue.
lpd://192.168.0.37/raw substituting the IP of your printer of course..

HP LaserJet 9040 Foomatic/hpijs (manufacturer-PPDs/hplip/HP-LaserJet_9040-hpijs.ppd.gz works fine on my HPLJ 9040dn.


Ok so I should correct that statement.. Printing works great but it's ignoring my Duplex request as well.. hrm.

Last edited by farslayer; 01-30-2008 at 10:36 AM.
 
Old 01-30-2008, 10:41 AM   #5
hobey
LQ Newbie
 
Registered: Feb 2006
Distribution: SuSE 10.0
Posts: 17

Original Poster
Rep: Reputation: 0
The print server was set up by the computer staff here. The only information they provided to us is that the spooler type is "Standard UNIX lpd Spooler (LPR-NG)". I have no influence whatsoever on the setup of the printer/print server.

My colleagues can print in duplex mode from Windows (a setup wizard was provided by the computer staff). When I asked the computer staff how to access duplex mode from a Linux computer, the best they came up with was "maybe you need to log in as root to configure the printer" ... duh.

Should I try to ask the computer staff for some specific bit of information?

And is it not possible to toggle duplex mode without "local filtering"? Just trying to understand...
 
Old 01-30-2008, 11:38 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,248
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Not sure what you mean by local filtering..

the .ppd for the 9040 has duplex printing defined.

Code:
*OpenUI *Duplex/Double-Sided Printing: PickOne
*FoomaticRIPOption Duplex: enum CmdLine A
*OrderDependency: 120 AnySetup *Duplex
*DefaultDuplex: None
*Duplex DuplexNoTumble/Long Edge (Standard): "%% FoomaticRIPOptionSetting: Duplex=DuplexNoTumble"
*FoomaticRIPOptionSetting Duplex=DuplexNoTumble: " -dDuplex=true -dTum&&
ble=false"
*End
*Duplex DuplexTumble/Short Edge (Flip): "%% FoomaticRIPOptionSetting: Duplex=DuplexTumble"
*FoomaticRIPOptionSetting Duplex=DuplexTumble: " -dDuplex=true -dTumbl&&
e=true"
*End
*Duplex None/Off: "%% FoomaticRIPOptionSetting: Duplex=None"
*FoomaticRIPOptionSetting Duplex=None: " -dDuplex=false"
*CloseUI: *Duplex
The duplex options shows up in the print dialog box, What I haven't figured out is, why isn't the command being sent, or why is the printer ignoring it..

I tried sending a job to one of my other network copiers, and it ignores the Duplex option as well..

Code:
/usr/bin/lpr -P BizHub600 -o InputSlot=Tray1 -o OutputBin=Auto -o Resolution=600dpi -o PageSize=Letter -o Duplex=DuplexNoTumble
Now this is going to bug me..
 
Old 01-30-2008, 11:55 AM   #7
hobey
LQ Newbie
 
Registered: Feb 2006
Distribution: SuSE 10.0
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
Not sure what you mean by local filtering..
In YaST, module Hardware > Printer, I click "Add", then select "Network Printers". In the next dialog, I select "Print via LPD-Style Network Server". In the next dialog I enter the Hostname of Print Server and Remote Queue Name. In the next dialog, there is a checkbox "Do Local Filtering". The help text of this dialog says: "With Do Local Filtering, set whether to do local filtering for this queue. It is not recommended if you use a print server that does filtering, such as IPP and LPD servers, but it is needed for local printers and servers that do not do any filtering, such as SMB and IPX servers, network printers, and print server boxes."

If I do not check this box, I never get to choose a PPD file, and printing works fine (but not duplex - in KPrinter it's grayed out).

If I do check the box, then I'm prompted to choose a PPD file in the next dialog, and afterwards whenever I try to print the printer will go crazy spitting out thousands of pages of ASCII nonsense.
 
Old 01-30-2008, 11:59 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,248
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Will Suse allow you to access the CUPS web interface ? http://localhost:631 if so you may be able to select the printer and choose modify.

I do not see a local filtering option anywhere in the standard CUPS interface.
 
Old 01-30-2008, 01:08 PM   #9
hobey
LQ Newbie
 
Registered: Feb 2006
Distribution: SuSE 10.0
Posts: 17

Original Poster
Rep: Reputation: 0
Apparently, disabling local filtering in YaST is the same as setting the model to "Local Raw Printer" in CUPS (and this is the setting which mostly works). Setting the actual model in CUPS (LaserJet 9040) corresponds to "Do Local Filtering" in YaST (and this doesn't work).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
duplex printing without a duplex printer attachment novacrasher Linux - Hardware 1 10-25-2006 05:59 PM
printer with lpd calble Linux - Software 0 01-30-2005 01:25 AM
Duplex Mode ? cccc Linux - Networking 0 11-19-2004 04:30 PM
LPD printer merchtemeagle Linux - Networking 8 11-09-2004 06:54 PM
Change my Network card link speed/duplex mode in Linux Salihou Linux - Networking 1 12-22-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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