- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printer setup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 02:32 AM
04-02-2003 02:32 AM
I need help!.
I have had an ongoing problem for about 6 months, just as i think i have solved the issue it seems to take another twist.
the final part of the problem involves printer setup, i currently have a network based printer that has decided to stop printing Duplex, this causes me major ear ache form business.
i have tried to set up a remote printer to a NT print server, but it keeps telling me that the printer already exists on this server( i presume its talking about my production server not nt print spooler) but it doesn't.
so my question is why an i getting this message when as far as i can see there are no reverences to the printer name on the system.
and secondly is there any way of telling the network printer currently set up to override the default duplex setting and print in duplex for anything going to this printer id.
i have tried to solve this for about a week and now an at the headbanging stage.
all i need is for jobs that are produced and that call that printer to print duplex and override the default duplex (off) on the actual printer.
thanks in anticipation.
andrew
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 02:51 AM
04-02-2003 02:51 AM
Re: Printer setup
This may help:-
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x14bcc8ecad09d6118ff40090279cd0f9,00.html
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 02:56 AM
04-02-2003 02:56 AM
SolutionSounds like you have a corruption somewhere
try lpadmin -xprintername
and then reinstall it.
cd /etc/lp/interface/model.orig
grep duplex printername
You will see something like
#[ Added by Devu to provide banner tray and duplex print options
##[ Added by Devu to handle duplex print sept 23 1999
duplex="vduplex"
duplex="simplex"
##end of duplex Devu]
echo "dpi#, simplex, duplex, hduplex, topaz, yb, nb, job, nojob"
echo "dpi#, simplex, duplex, hduplex, topaz, yb, nb, job, nojob"
echo "dpi#, fuser
duplex="def" # CHANGE DEFAULT DUPLEX MODE
# duplex
duplex="simplex";;
vd | duplex | double | d) # vertical binding
duplex="vduplex";;
hd | hduplex) # double side, horizontal binding
duplex="hduplex";;
md | mduplex) # duplexing manually
manuald="" # invalidate manual duplex
if [ "$duplex" != "simplex" -a "$duplex" != "def" ]
case "$duplex" in
simplex) echo "false setduplexmode";; # Simplex
vduplex) echo "true setduplexmode" # Long Edge
hduplex) echo "true setduplexmode" # Short Edge
case "$duplex" in
vduplex) echo "/Duplex true" # Long Edge
hduplex) echo "/Duplex true"
case "$duplex" in
vduplex) echo "\033&l1S\c";; # long edge
hduplex) echo "\033&l2S\c";; # short edge
case "$duplex" in
vduplex) echo "@PJL COMMENT ** duplex-vertical binding";;
hduplex) echo "@PJL COMMENT ** duplex-horizontal binding";;
There you see the value and see
duplex="def" # CHANGE DEFAULT DUPLEX MODE
use vi to set vduplex instead of def on this line
Then it will always print duplex
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 04:44 AM
04-02-2003 04:44 AM
Re: Printer setup
lp -dprinter_name -oduplex /etc/profile
This will only work if the printer has been created on the HP-UX system as a network printer. Setting up a remote printer on NT will make a real mess...none of the -o options for lp will work and simple ASCII files will require ux2dos conversion.
Most likely, the printer had duplex turned on in the printer's front panel settings and that was the default. The HP-UX spooler (actually, the printer script) does not explicitly set the duplex value unless it appears on the command line. So with no options given, the only way duplex would show up would be through the printer's front panel settings.
And it should be noted that setting a shared printer to ANYTHING other than default settings will always cause problems. That's why newer HP LaserJet printers have a configuration lock to prevent users from changing the settings for everyone. A shared printer should always have cold reset defaults, and the computer should control all changes to those settings for the duration of a sngle print job.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 05:10 AM
04-02-2003 05:10 AM
Re: Printer setup
i have tried your sugestion steve but that failed i changed the entry suggested but it still prints in simplex, i had one slight brainwave! should the spooler be stopped and started before this will take effect or is it dymanic.
also once changed do you then need to use the -o option or does it as i think mean that it will allways print duplex.
Bill
the printer is set up network in jetadmin
does this help and in beleive that the printer is set to print simplex by default hence me trying to get it to print duplex for these jobs.
thanks for your help so far guys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 05:28 AM
04-02-2003 05:28 AM
Re: Printer setup
You have 3 choices
1)The simplex is a default on the printer and can be changed via the menus
2)The print command is launched with simplex as default.Normal
3)The file to print contains an escape sequence to set to simplex.
What are you printing.
If the line
DUPPRINT="def" is in your printer script
change def to yes
Steve Steel