hp laserjet 4250 and CUPS options

Linda Hanigan haniganwork at earthlik.net
Sat Sep 20 02:40:15 UTC 2008


On Fri, 2008-09-19 at 17:27 -0700, NoOp wrote:
> On 09/19/2008 02:49 PM, Linda Hanigan wrote:
> > On Fri, 2008-09-19 at 12:38 -0400, Brian McKee wrote:
> >> For what it's worth, I can confirm that
> >> 
> >> lpr -o sides=two-sided-long-edge -P myprinter mytestdoc.txt
> >> 
> >> does produce a two sided document on the one duplex printer I have here.
> >> 
> >> HTH
> >> 
> >> Brian
> >> 
> > 
> > Thanks after a frustrating afternoon. I give up. If it requires device
> > specific instructions like duplex or envelope feeder it will have to
> > stay PCL form. I think it is the post script driver for the 4250. When
> > you try and install the postscript driver on windows using the
> > installation cd it warns you that you will lose some functions of your
> > printer! I guess it does say that it has postscript emulation, not that
> > it is a postscript printer. I also tried some different drivers and a
> > mac ppd file I found on the web. I found that you could set up the
> > printer so it always duplexed or so it never duplexes but you can not
> > get it to take the -o sides= command. 
> 
> I set up multiple printers (same printer, just different settings) for
> my Canon MP750:
> 
> - MP750 set to black and white only (default)
> - MP750Color set to full color for photo printing etc
> - MP750Duplex set to duplex mode (B&W)
> - MP750DuplexColor set to duplex mode (Color)
> 
> The reason for the 'MP750' is obvious; I want the default printer
> settings to stay b&w to save on the cost of color ink. The MP750Duplex's
> are so that I don't have to go in and mess around with settings to print
> in duplex mode; I've already tuned the ppd/settings to the way I want &
> it's just easier to select that as the printer to print to.
> 
> Ditto for my cups-pdf printer: 1 is standard cups-pdf and 2 is cups-pdf
> using the ghostscrip.ppd drivers so that I can have multiple setup options.
> 
> Once you do get your 4250 setup to work, you might try similar (setting
> up multiple printers, different settings for the same printer).
> 

Sorry that solution won't work here because the output for the printer
and print commands are embedded in a C++ program that are executed as
part of text based programs and also because five different cups clients
are using the setup at the same time. If you have multiple spoolers
running for the same physical printer with multiple users I am pretty
sure it would wreck havoc with your print jobs. Just a caution. 
                     Linda





More information about the ubuntu-users mailing list