Operating System - HP-UX
1820649 Members
3303 Online
109626 Solutions
New Discussion юеВ

forcing single-sided printing

 
SOLVED
Go to solution
Vball23
Advisor

forcing single-sided printing

I have a user printing from an L3000 to an HP network printer. The printer is forcing double-sided printing. I can find no options within the lp command or the driver file to force that back to single-sided. Any suggestions?
3 REPLIES 3
Frank Slootweg
Honored Contributor

Re: forcing single-sided printing

Many model scripts can *print* a summary of the options which they recognize:

lp -d -ooptions somedummytextfile
Chris Vail
Honored Contributor

Re: forcing single-sided printing

This is probably the default behavior of the printer itself. This can usually be fixed from the LCD display of the printer itself, or whatever workstation is running the management utility for that printer. LP services on Unix are pretty 'dumb' compared to those available in the Windows environment.


Chris
Steve Steel
Honored Contributor
Solution

Re: forcing single-sided printing

Hi


1)On the printer in the print menu double sided is on.


2)The word is simplex

lp -dprinter -osimplex file

Then duplex for 2 sides

see /etc/lp/interface/model.orig/printer

echo "********* Option Summary *********"
echo "(see \"man net_lj4x\" for details)\n"
echo "\033&k2S\c" # use compressed font
echo "auto (default), postscript, pcl, hpgl2, hpgl2_p, raw, relay"
echo "manual, tray1, tray2, tray3 "
echo "legal, letter, A4, exec, ledger/11x17, com10"
echo "yb, nb bin1, bin2"
echo "dpi# simplex, duplex, hduplex "
echo "2up, 2+, 4up (hpux only) portrait, landscape "
echo "color, gray "
echo "ascii,text econo# (#=on/off)"
# draw box
echo "\033&a"$boxtopY"v"$boxleftX"H\033*c4h1440v0P\033*c2880h4v0P\c"
echo "\033&a"$boxbottomY"v"$boxleftX"H\033*c2880h4v0P\c"
echo "\033&a"$boxtopY"v"$boxrightX"H\033*c4h1440v0P\c"



In the script look for
duplex="def"

and replace with

duplex="simplex"

Then always 1 sided print.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)